/* TAIYAN taiyan-sz.ru — Коммерческие предложения (нативный стиль сайта) */
.co-shell, .co-home {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  color: #192a41;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.co-shell *, .co-home * { box-sizing: border-box; }

.co-head { margin-bottom: 18px; }
.co-head h1, .co-detail-head h1 {
  margin: 0 0 8px;
  color: #0f1b2d;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.co-lead {
  margin: 0;
  max-width: 70ch;
  color: #52657c;
  font-size: 15px;
  line-height: 1.55;
}
.co-crumb { margin-bottom: 12px; font-size: 14px; }
.co-crumb a { color: #155ac4; text-decoration: none; font-weight: 600; }
.co-crumb a:hover { text-decoration: underline; }
.co-detail-brand { margin: 0 0 16px; color: #52657c; font-size: 14.5px; font-weight: 500; }

/* Filter Panel matching taiyan-sz.ru .search-panel */
.co-tools {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(145px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1677ff;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(15, 27, 45, 0.03);
}
.co-field { display: grid; gap: 6px; min-width: 0; margin: 0 !important; padding: 0 !important; }
.co-field span {
  font-size: 11.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #52657c;
  margin: 0 !important;
}
.co-field input, .co-field select {
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  font: 14px/1.3 inherit;
  color: #192a41;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  transition: border-color 0.14s, background 0.14s, box-shadow 0.14s;
}
.co-field select {
  padding: 0 28px 0 11px !important;
  line-height: normal !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer;
}
.co-field input:focus, .co-field select:focus {
  outline: none;
  background: #ffffff;
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.14);
}
.co-tool-actions { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 0 !important; align-self: end; }
.co-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #1677ff !important;
  border-radius: 6px;
  background: #1677ff;
  color: #ffffff;
  font: 600 14px/1 inherit;
  cursor: pointer;
  white-space: nowrap;
}
.co-apply:hover { background: #125bc1; border-color: #125bc1 !important; }
.co-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #244168;
  font: 600 13.5px/1 inherit;
  text-decoration: none;
  white-space: nowrap;
}
.co-reset:hover { background: #eff5ff; border-color: #96b9ef; color: #124d9d; }

.co-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  font-size: 13px;
  color: #3b4f68;
}
.co-count-main { font-weight: 600; color: #192a41; }

/* Card Grid */
.co-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
  gap: 16px;
}
.co-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.14s, box-shadow 0.14s, transform 0.14s;
}
.co-card:hover {
  border-color: #94b7e5;
  box-shadow: 0 6px 18px rgba(33, 106, 201, 0.1);
  transform: translateY(-1px);
}
.co-card.no-media {
  border-top: 3px solid #1677ff;
  align-self: start;
}
.co-specs-compact {
  border-top-style: solid;
  border-top-color: #edf2f7;
  padding-top: 10px;
}
.co-media {
  height: 168px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
}
.co-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.co-body {
  padding: 15px 17px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.co-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.co-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.co-chip-brand { background: #eaf2ff; color: #1454b8; }
.co-chip-brand:hover { background: #d9e8ff; }
.co-chip-cat { background: #f1f5f9; color: #475b74; }
.co-chip-cat:hover { background: #e2e8f0; }

.co-pn {
  margin: 2px 0 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #0f1b2d;
  overflow-wrap: anywhere;
}
.co-pn a { color: inherit; text-decoration: none; }
.co-pn a:hover { color: #1677ff; text-decoration: underline; text-underline-offset: 3px; }

.co-alts {
  font-size: 12px;
  color: #52657c;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 6px;
  padding: 4px 8px;
  overflow-wrap: anywhere;
}
.co-alts span { font-weight: 600; color: #334155; }

.co-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334a66;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.co-card-detail .co-desc { -webkit-line-clamp: unset; font-size: 15px; }

/* Inline Key Specs */
.co-specs-preview {
  display: grid;
  gap: 5px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.co-spec-mini {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.35;
}
.co-spec-mini span { color: #5b7088; flex: 0 1 auto; }
.co-spec-mini strong { color: #192a41; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.co-specs-more { margin-top: 4px; font-size: 12.5px; }
.co-specs-more summary {
  cursor: pointer;
  color: #155ac4;
  font-weight: 600;
  user-select: none;
  padding: 2px 0;
}
.co-spec-dl { margin: 8px 0 0; display: grid; gap: 6px; }
.co-spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 46%) 1fr;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
}
.co-spec-row dt { color: #52657c; font-weight: 500; }
.co-spec-row dd { margin: 0; color: #192a41; font-weight: 600; overflow-wrap: anywhere; }
.co-specs-full h4 { margin: 12px 0 8px; font-size: 13.5px; color: #0f1b2d; text-transform: uppercase; letter-spacing: 0.04em; }

.co-docs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.co-doc-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f6fd;
  border: 1px solid #d4e4fa;
  color: #155ac4;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.co-doc-link:hover { background: #e3efff; border-color: #96b9ef; }

/* Card Footer */
.co-foot {
  padding: 13px 17px 15px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 7px;
}
.co-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.co-price {
  font-size: 20px;
  font-weight: 750;
  color: #0f1b2d;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.co-unit {
  font-size: 11.5px;
  font-weight: 600;
  color: #465b75;
  background: #eaf1f8;
  padding: 2px 8px;
  border-radius: 999px;
}
.co-meta-note { font-size: 11.5px; color: #64748b; line-height: 1.4; }
.co-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #1677ff;
  color: #ffffff !important;
  font: 600 13.5px/1.2 inherit;
  text-decoration: none !important;
  transition: background 0.14s;
}
.co-cta:hover { background: #125bc1; }

/* Detail Two-Column */
.co-card-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0;
  transform: none !important;
}
.co-card-detail .co-media { height: 250px; }
.co-detail-aside {
  border-left: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}
.co-detail-aside .co-foot { border-top: 0; padding: 20px; gap: 12px; }
.co-detail-aside .co-price { font-size: 26px; }

/* Pagination */
.co-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.co-pg-btn, .co-pg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #244168;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.co-pg-btn:hover, .co-pg-num:hover { background: #eff5ff; border-color: #96b9ef; color: #124d9d; }
.co-pg-num.is-active { background: #1677ff; border-color: #1677ff; color: #ffffff; }
.co-pg-btn.is-disabled { opacity: 0.45; pointer-events: none; }
.co-pg-dots { padding: 0 4px; color: #64748b; }

.co-empty {
  padding: 34px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #52657c;
  font-size: 15px;
}

.co-home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.co-home-head h2 { margin: 0; }
.co-home-head a { color: #155ac4; font-weight: 600; text-decoration: none; }
.co-home-head a:hover { text-decoration: underline; }
.co-home .co-media { height: 128px; }

@media (max-width: 960px) {
  .co-tools { grid-template-columns: 1fr 1fr; }
  .co-field-search { grid-column: 1 / -1; }
  .co-tool-actions { grid-column: 1 / -1; }
  .co-card-detail { grid-template-columns: 1fr; }
  .co-detail-aside { border-left: 0; border-top: 1px solid #e2e8f0; }
}
@media (max-width: 600px) {
  .co-tools { grid-template-columns: 1fr; padding: 14px; }
  .co-apply, .co-reset { flex: 1; }
}
