:root {
  --accent: #FF4D14;
  --accent-ink: #ffffff;
  --bg: #fafaf7;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --muted: #6b6b66;
  --line: #e5e3dc;
  --line-2: #d6d3c8;
  --hover: #f3f1ea;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --density-row-h: 56px;
  --grid-min: 240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 8px;
}
.brand__dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; transform: translateY(-2px); }
.brand__sub { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-left: 8px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.site-nav a { font-size: 14px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: var(--ink); }
.site-nav__phone { font-family: var(--mono); font-size: 13px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 500; transition: background .15s, color .15s;
}
.cart-btn:hover { background: var(--ink); color: var(--bg); }
.cart-btn__count {
  display: inline-block; min-width: 22px; padding: 0 7px;
  background: var(--accent); color: #fff;
  border-radius: 11px; font-family: var(--mono); font-weight: 600;
  font-size: 12px; line-height: 22px;
  text-align: center;
}
.cart-btn:hover .cart-btn__count { background: #fff; color: var(--accent); }

/* HERO */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px;
  align-items: end;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::after {
  content: ""; flex: 1; height: 1px; background: var(--line); max-width: 200px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero__title em {
  font-style: italic; color: var(--accent);
  font-weight: 400;
}
.hero__lede {
  font-size: 18px; line-height: 1.45; color: var(--ink-2);
  max-width: 560px; margin: 0 0 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #e64310; }
.btn--cta-hero:hover {
  background: transparent; color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--small { padding: 10px 16px; font-size: 13px; }
.btn--block { width: 100%; }

.hero__search {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--ink); border-radius: 4px;
  background: var(--paper); padding: 0;
  max-width: 540px; margin-top: 12px;
}
.hero__search input {
  flex: 1; padding: 14px 16px; border: 0; outline: 0; background: transparent;
  font-size: 15px;
}
.hero__search button { padding: 14px 18px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; }

.hero__stats {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: grid; gap: 28px; align-content: end;
}
.stat__num {
  font-family: var(--serif); font-weight: 500;
  font-size: 56px; line-height: 0.9; letter-spacing: -0.02em;
}
.stat__num em { font-style: italic; color: var(--accent); font-weight: 400; }
.stat__label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }

/* QUICK CHIPS */
.quick { border-bottom: 1px solid var(--line); background: var(--paper); }
.quick__inner {
  max-width: 1440px; margin: 0 auto; padding: 18px 28px;
  display: flex; gap: 8px; overflow-x: auto; align-items: center;
}
.quick__label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-right: 8px; flex-shrink: 0;
}
.chip {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; white-space: nowrap; transition: all .12s;
  background: var(--bg);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* MARQUEE-LIKE EDITORIAL STRIP */
.feature-strip {
  border-bottom: 1px solid var(--line);
  padding: 56px 28px;
  max-width: 1440px; margin: 0 auto;
}
.feature-strip__head {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: end; margin-bottom: 40px;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 12px 0 0; text-wrap: balance;
}
.feature-strip__lede {
  font-size: 17px; color: var(--ink-2); max-width: 520px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.feature {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; padding-right: 0; }
.feature__num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.feature__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; line-height: 1.15; margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.feature__desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* HOW-TO */
.howto { border-bottom: 1px solid var(--line); background: var(--paper); }
.howto__inner { max-width: 1440px; margin: 0 auto; padding: 56px 28px; }
.howto__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px;
  border-top: 1px solid var(--line);
}
.step { padding: 32px 24px 32px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step__n {
  font-family: var(--serif); font-style: italic;
  font-size: 64px; line-height: 1; color: var(--accent);
  font-weight: 400; margin-bottom: 16px;
}
.step__title { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.step__desc { font-size: 14px; color: var(--ink-2); }

/* CATALOG */
.catalog-section { background: var(--bg); }
.catalog-head {
  max-width: 1440px; margin: 0 auto; padding: 56px 28px 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  border-bottom: 1px solid var(--line);
}
.catalog-head__title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.catalog-head__count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.catalog-head__sync { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; }

.catalog-layout {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
}
.filters {
  border-right: 1px solid var(--line);
  padding: 28px 24px 64px 28px;
  position: sticky; top: 60px; align-self: start;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.filter-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-block:last-child { border-bottom: 0; }
.filter-block__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.filter-block__title button {
  font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: none; letter-spacing: 0;
}
.filter-list { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; padding-right: 4px; }
.filter-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px; border-radius: 3px; font-size: 13px;
  cursor: pointer;
}
.filter-item:hover { background: var(--hover); }
.filter-item input { accent-color: var(--accent); margin: 0; }
.filter-item__count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-price input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 3px;
  background: var(--paper); font-size: 13px; font-family: var(--mono);
}
.filter-block__reset { font-size: 13px; color: var(--accent); padding: 6px 0; }

.catalog-main {
  padding: 0;
}
.catalog-toolbar {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px; border-bottom: 1px solid var(--line);
  background: var(--bg); position: sticky; top: 60px; z-index: 5;
}
.search-input {
  flex: 1; max-width: 460px;
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px;
  background: var(--paper); font-size: 14px;
}
.search-input:focus { outline: 1px solid var(--ink); border-color: var(--ink); }
.toolbar-select {
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px;
  background: var(--paper); font-size: 13px;
}
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.view-toggle button {
  padding: 9px 12px; background: var(--paper); font-size: 12px; color: var(--ink-2);
  border-right: 1px solid var(--line-2);
}
.view-toggle button:last-child { border-right: 0; }
.view-toggle button.is-active { background: var(--ink); color: var(--bg); }

.catalog-list { padding: 28px; }

/* GRID MODE */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.product-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .12s;
}
.product-card:hover { background: var(--hover); }
.product-card__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.product-card__sku {
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
}
.product-card__brand {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.product-card__img {
  aspect-ratio: 4 / 3; background: var(--bg);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,0.03) 8px 9px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin: 4px 0;
  overflow: hidden;
}
.product-card__img.has-image {
  background: #fff;
  background-image: none;
  padding: 10px;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-card__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 16px; line-height: 1.25; letter-spacing: -0.005em;
  margin: 0; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__specs {
  font-size: 12px; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 32px;
}
.product-card__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto;
}
.product-card__price {
  font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em;
}
.product-card__price em { font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-left: 4px; font-weight: 400; }
.product-card__price--request { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.product-card__add {
  padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: 3px;
  font-size: 12px; font-weight: 500;
}
.product-card__add:hover { background: var(--accent); }
.product-card__add--in { background: var(--accent); }
.qty-step--inline {
  border: 1px solid var(--ink); background: var(--ink);
}
.qty-step--inline button { width: 26px; }
.qty-step--inline button:hover { background: var(--accent); }

/* DENSITY: COMPACT */
.density-compact .products-grid { --grid-min: 200px; }
.density-compact .product-card { padding: 14px; gap: 6px; }
.density-compact .product-card__img { aspect-ratio: 5 / 3; }
.density-compact .product-card__title { font-size: 14px; min-height: 34px; }
.density-compact .product-card__price { font-size: 18px; }
.density-compact .product-card__specs { display: none; }

/* LIST MODE */
.products-list {
  border-top: 1px solid var(--line);
}
.product-row {
  display: grid;
  grid-template-columns: 80px 1fr 130px 120px 130px;
  gap: 16px; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.product-row:hover { background: var(--hover); }
.product-row__img {
  aspect-ratio: 1; background: var(--bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,0.03) 6px 7px);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-row__img.has-image {
  background: #fff;
  background-image: none;
  padding: 6px;
}
.product-row__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-row__title { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: -0.005em; }
.product-row__meta { font-size: 12px; color: var(--muted); margin-top: 4px; font-family: var(--mono); }
.product-row__price { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.product-row__price em { font-style: normal; font-size: 11px; color: var(--muted); font-family: var(--mono); margin-left: 4px; font-weight: 400; }

.density-compact .product-row { padding: 8px 16px; grid-template-columns: 56px 1fr 120px 110px 120px; }
.density-compact .product-row__img { aspect-ratio: 1; }

/* QTY STEPPER */
.qty-step {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 3px;
  background: var(--paper);
}
.qty-step button { width: 28px; font-size: 14px; color: var(--ink); }
.qty-step button:hover { background: var(--hover); }
.qty-step input {
  width: 44px; text-align: center; border: 0;
  border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  background: transparent; font-family: var(--mono); font-size: 13px;
  outline: 0;
  color: var(--ink);
}
/* INLINE (dark) variant — must come AFTER base .qty-step */
.qty-step.qty-step--inline {
  border: 1px solid var(--ink); background: var(--ink);
}
.qty-step.qty-step--inline button { color: #fff; width: 26px; background: var(--ink); }
.qty-step.qty-step--inline button:hover { background: var(--accent); color: #fff; }
.qty-step.qty-step--inline input {
  color: #fff; width: 36px; background: var(--ink);
  border-left: 1px solid #2a2a2a; border-right: 1px solid #2a2a2a;
  font-weight: 600;
}

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10,10,10,0.55);
  display: flex; align-items: stretch; justify-content: flex-end; z-index: 50;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper); width: 540px; max-width: 100%;
  height: 100%; overflow-y: auto;
  padding: 32px; position: relative;
  animation: slide .25s ease;
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-2);
}
.modal__close:hover { background: var(--hover); }
.modal__eyebrow { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.modal__title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; margin: 8px 0 16px; }
.modal__img {
  aspect-ratio: 16 / 10; background: var(--bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,0.03) 10px 11px);
  border: 1px solid var(--line); margin: 16px 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
  overflow: hidden;
}
.modal__img.has-image {
  background: #fff;
  background-image: none;
  padding: 18px;
}
.modal__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.modal__price { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -0.01em; margin: 16px 0; }
.modal__specs { border-top: 1px solid var(--line); margin-top: 16px; }
.modal__spec {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.modal__spec dt { color: var(--muted); margin: 0; }
.modal__spec dd { margin: 0; }
.modal__desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 16px 0; }
.modal__actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* CART */
.cart-summary {
  position: sticky; bottom: 0;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cart-line {
  display: grid; grid-template-columns: 1fr 110px 110px 24px;
  gap: 12px; padding: 14px 0; align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-line__title { font-family: var(--serif); font-size: 15px; font-weight: 500; line-height: 1.2; }
.cart-line__sku { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.cart-line__price { font-family: var(--mono); font-size: 13px; }
.cart-line__remove { color: var(--muted); font-size: 18px; }
.cart-line__remove:hover { color: var(--accent); }

.cart-empty {
  padding: 64px 24px; text-align: center;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.cart-empty__title { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.cart-warn {
  background: var(--bg); border-left: 3px solid var(--accent);
  padding: 12px 14px; font-size: 13px; color: var(--ink-2);
  margin: 16px 0;
}

/* CHECKOUT FORM */
.checkout { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.field input, .field textarea, .field select {
  padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 3px;
  background: var(--paper); font-size: 14px;
}
.field input:focus, .field textarea:focus { outline: 1px solid var(--ink); border-color: var(--ink); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field__error { font-size: 12px; color: var(--accent); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.checkbox a { text-decoration: underline; }

/* SUCCESS */
.success {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.success__mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.success__title { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -0.015em; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ddd9cf;
  padding: 56px 28px 24px;
  margin-top: 64px;
}
.site-footer__inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--bg); }
.footer-block h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #918d80; margin: 0 0 14px; font-weight: 500; }
.footer-block a, .footer-block p { display: block; padding: 4px 0; font-size: 14px; color: #ddd9cf; }
.footer-block a:hover { color: var(--accent); }
.site-footer__bottom {
  max-width: 1440px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid #2a2a2a;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: #918d80; text-transform: uppercase; letter-spacing: 0.06em;
}

/* LOADING */
.loading {
  padding: 80px 24px; text-align: center;
  font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.loading__bar {
  width: 80px; height: 2px; background: var(--line); margin: 16px auto 0; position: relative; overflow: hidden;
}
.loading__bar::after {
  content: ""; position: absolute; inset: 0; width: 30%;
  background: var(--accent); animation: slide-l 1.2s infinite ease-in-out;
}
@keyframes slide-l {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(360%); }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; grid-template-columns: repeat(3, 1fr); }
  .feature-strip__head { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(1), .feature:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; padding-right: 24px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 800px) {
  .site-header__inner { padding: 12px 18px; gap: 12px; flex-wrap: wrap; }
  .site-nav { gap: 14px; margin-left: auto; }
  .site-nav a:not(.cart-btn):not(.site-nav__phone) { display: none; }
  .hero__inner { padding: 32px 18px 24px; }
  .quick__inner, .feature-strip, .howto__inner, .catalog-head, .catalog-toolbar { padding-left: 18px; padding-right: 18px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.is-open { display: block; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-list { padding: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .howto__steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .modal { width: 100%; padding: 20px; }
  .product-row { grid-template-columns: 56px 1fr 90px 80px; }
  .product-row__price { font-size: 16px; }
  .product-row > :nth-child(4) { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat__num { font-size: 40px; }
}

/* MOBILE FILTER TOGGLE */
.mobile-filters-btn { display: none; }
@media (max-width: 800px) {
  .mobile-filters-btn {
    display: inline-flex; padding: 10px 14px; font-size: 13px;
    border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper);
  }
}

/* TYPOGRAPHY VARIANTS via TWEAKS */
body.typo-modern { --serif: "Inter", -apple-system, sans-serif; --sans: "Inter", -apple-system, sans-serif; }
body.typo-editorial { --serif: "Fraunces", Georgia, serif; --sans: "Inter", -apple-system, sans-serif; }
body.typo-mono-mix { --serif: "Fraunces", Georgia, serif; --sans: "JetBrains Mono", monospace; }

/* ============ THUMBNAILS ============ */
.thumb {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  font-family: var(--serif);
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.thumb--ph {
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(0,0,0,0.04) 49% 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.04) 49% 51%, transparent 51%);
}
.thumb__fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 500; color: var(--ink-2);
  letter-spacing: -0.01em;
  pointer-events: none;
}
.thumb img + .thumb__fallback { display: none; }

/* ============ GOV PROCUREMENT ============ */
.gov {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.gov__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 64px 28px;
}
.gov__head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end;
  margin-bottom: 40px;
}
.gov__lede { font-size: 17px; color: var(--ink-2); line-height: 1.5; max-width: 460px; }
.gov__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.gov__steps li {
  padding: 28px 24px 28px 0; border-right: 1px solid var(--line);
}
.gov__steps li:last-child { border-right: 0; padding-right: 0; }
.gov__num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; display: block; margin-bottom: 14px;
}
.gov__steps h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; line-height: 1.15; margin: 0 0 10px;
  color: var(--ink); letter-spacing: -0.01em;
}
.gov__steps p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.gov__cta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.gov__note { color: var(--muted); font-size: 13px; max-width: 380px; margin: 0; }

@media (max-width: 1100px) {
  .gov__head { grid-template-columns: 1fr; gap: 24px; }
  .gov__steps { grid-template-columns: 1fr 1fr; }
  .gov__steps li:nth-child(2) { border-right: 0; }
  .gov__steps li:nth-child(1), .gov__steps li:nth-child(2) {
    border-bottom: 1px solid var(--line); padding-bottom: 24px;
  }
}
@media (max-width: 700px) {
  .gov__steps { grid-template-columns: 1fr; }
  .gov__steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .gov__steps li:last-child { border-bottom: 0; }
}

/* ============ CART FULLSCREEN ============ */
.cart-full {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.cart-full__head {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 20px 32px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.cart-full__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 6px 0 0; text-wrap: balance;
}
.cart-full__close {
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-full__close:hover { background: var(--hover); }
.cart-full__body {
  flex: 1; padding: 32px;
  max-width: 1440px; width: 100%; margin: 0 auto;
}
.cart-full__grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.cart-full__list {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
}

/* CART ROW */
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr 140px 140px 32px;
  gap: 20px; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__main { min-width: 0; }
.cart-row__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 17px; line-height: 1.25; letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.cart-row__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cart-row__price { text-align: right; }
.cart-row__sum {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em;
}
.cart-row__unit { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.cart-row__request {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cart-row__remove {
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--muted); font-size: 20px;
}
.cart-row__remove:hover { background: var(--hover); color: var(--accent); }

/* SUMMARY CARD */
.cart-full__summary { position: sticky; top: 110px; }
.summary-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 24px;
}
.summary-card__head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.summary-card__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-card__row:last-of-type { border-bottom: 0; }
.summary-card__row span:first-child { color: var(--muted); }
.summary-card__row--total {
  padding: 16px 0 14px;
  border-top: 1px solid var(--ink) !important;
  border-bottom: 0 !important;
  margin-top: 8px;
}
.summary-card__row--total span:first-child {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink);
}
.summary-card__row--total span:last-child {
  font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.summary-card__note {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  margin: 8px 0 16px;
}

/* KP MINI LIST */
.kp-mini-list {
  max-height: 320px; overflow-y: auto;
  margin: 8px 0 12px;
}
.kp-mini-row {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.kp-mini-row:last-child { border-bottom: 0; }
.kp-mini-row__title {
  font-family: var(--serif); font-size: 14px; line-height: 1.2;
  font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kp-mini-row__meta { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 2px; }

/* KP FORM */
.kp-form-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.kp-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 32px;
  display: grid; gap: 24px;
}
.kp-form__section { display: grid; gap: 14px; }
.kp-form__section-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.kp-form__actions {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--line); margin-top: 8px;
}
.kp-preview__actions {
  max-width: 1100px; margin: 32px auto 0;
}

/* KP PREVIEW (document-like) */
.kp-preview-wrap { max-width: 1100px; margin: 0 auto; }
.kp-doc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 56px 56px;
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.15);
}
.kp-doc__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.kp-doc__brand { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.kp-doc__sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.kp-doc__meta {
  text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  display: grid; gap: 4px;
}
.kp-doc__meta strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.kp-doc__parties {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.kp-doc__party-label {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.kp-doc__party-body { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.kp-doc__party-body strong { color: var(--ink); }

.kp-table {
  width: 100%; border-collapse: collapse; margin: 32px 0 16px;
  font-size: 14px;
}
.kp-table th {
  text-align: left; font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  padding: 10px 8px; border-bottom: 1px solid var(--ink); font-weight: 500;
}
.kp-table th:nth-child(4), .kp-table th:nth-child(5), .kp-table th:nth-child(6), .kp-table th:nth-child(7) {
  text-align: right;
}
.kp-table td {
  padding: 14px 8px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.kp-table td:nth-child(4), .kp-table td:nth-child(5), .kp-table td:nth-child(6), .kp-table td:nth-child(7) {
  text-align: right;
}
.kp-table tbody tr:hover { background: var(--hover); }
.kp-table tfoot td {
  padding: 16px 8px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em; border-top: 1px solid var(--ink); border-bottom: 0;
}
.kp-table tfoot td .mono, .kp-table tfoot td strong {
  font-family: var(--serif); font-size: 22px; font-weight: 500; text-transform: none; letter-spacing: -0.01em;
}
.kp-table .mono { font-family: var(--mono); }

.kp-doc__note {
  font-size: 13px; color: var(--ink-2); line-height: 1.55;
  padding: 16px; background: var(--bg); border-left: 3px solid var(--accent);
  margin: 24px 0 8px;
}
.kp-doc__comment {
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
  margin-top: 16px;
}

.price-note {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  line-height: 1.45; margin: -8px 0 16px;
  letter-spacing: 0.02em;
}

/* CHECKOUT ITEMS */
.modal--wide { width: 640px; }
.checkout-items {
  margin: 8px 0 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  max-height: 240px; overflow-y: auto;
}
.checkout-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.checkout-item:last-child { border-bottom: 0; }
.checkout-item__title {
  font-family: var(--serif); font-size: 14px; font-weight: 500; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.checkout-item__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.checkout-item__price { font-family: var(--mono); font-size: 13px; }

/* RESPONSIVE — CART FULLSCREEN */
@media (max-width: 1100px) {
  .cart-full__grid { grid-template-columns: 1fr; }
  .cart-full__summary { position: static; }
  .kp-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .cart-full__head { padding: 16px 18px; }
  .cart-full__body { padding: 18px; }
  .cart-row { grid-template-columns: 56px 1fr auto; row-gap: 10px; padding: 14px 16px; }
  .cart-row__qty { grid-column: 2 / span 2; }
  .cart-row__price { grid-column: 2 / span 2; text-align: left; }
  .cart-row__price .cart-row__sum { font-size: 18px; }
  .cart-row__remove { position: absolute; right: 12px; top: 12px; }
  .cart-row { position: relative; }
  .kp-doc { padding: 28px 20px; }
  .kp-doc__head { flex-direction: column; gap: 12px; }
  .kp-doc__meta { text-align: left; }
  .kp-doc__parties { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
  .kp-table { font-size: 12px; }
  .kp-table th, .kp-table td { padding: 8px 6px; }
  .kp-form { padding: 20px; }
  .kp-form__actions { flex-direction: column-reverse; align-items: stretch; }
  .modal--wide { width: 100%; }
}
