/* ===== TECHLIB page look ===== */
.techlib-page .main-content { padding-top: 18px; }

.techlib-page .techlib-hero {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,0,0,.045), rgba(0,0,0,.01));
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,.06);
}

.techlib-page .techlib-hero__kicker {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 8px;
}

.techlib-page .techlib-hero__title {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 8px 0;
}

.techlib-page .techlib-hero__desc {
  font-size: 14px;
  opacity: .85;
  max-width: 62ch;
}

.techlib-page .techlib-article {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.06);
}

.techlib-page .techlib-article h2 { margin-top: 18px; font-size: 22px; }
.techlib-page .techlib-article h3 { margin-top: 14px; font-size: 18px; }
.techlib-page .techlib-article p  { line-height: 1.68; font-size: 15px; }
.techlib-page .techlib-article img { max-width: 100%; border-radius: 12px; height: auto; }

.techlib-page .techlib-feedback { margin-top: 16px; }

.techlib-page .techlib-aside{
  position: sticky;
  top: 18px;
}

/* ===== Spec offers block (ONLY TECHLIB) ===== */
.techlib-page .spec-offers {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.06);
}

.techlib-page .spec-head { margin-bottom: 10px; }

.techlib-page .spec-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.techlib-page .spec-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: .75;
}

.techlib-page .spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.techlib-page .spec-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.05);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.techlib-page .spec-card:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.techlib-page .spec-card__img { position: relative; }

.techlib-page .spec-card__img img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.techlib-page .spec-badges {
  position: absolute;
  left: 6px;
  top: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.techlib-page .spec-badge {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 204, 0, .22);
  border: 1px solid rgba(255, 204, 0, .35);
}

.techlib-page .spec-sold {
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 0, 0, .12);
  border: 1px solid rgba(255, 0, 0, .22);
}

.techlib-page .spec-card__body { min-width: 0; }

.techlib-page .spec-card__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.techlib-page .spec-card__loc {
  font-size: 12px;
  opacity: .75;
  margin-bottom: 6px;
}

.techlib-page .spec-card__price {
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 990px){
  .techlib-page .techlib-aside{ position: static; }
  .techlib-page .techlib-article,
  .techlib-page .spec-offers{ box-shadow: none; }
}
