/*!*************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./assets/styles/app.css ***!
  \*************************************************************************/

/*!*****************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./assets/styles/product.css ***!
  \*****************************************************************************/
/* карточка продукта (бота) */
/* ========================
   Секция: карточка товара
   ======================== */
.product-wrap{max-width:1100px;margin:0 auto;padding:32px 16px;font:16px/1.5 system-ui,sans-serif}
  .muted{color:#666}
  .dl{display:grid;grid-template-columns:180px 1fr;gap:8px 16px}
  .dl dt{color:#666}
  .thumb{max-width:360px}
  .thumb img{border-radius:12px;display:block;width:100%;height:auto}
  .stat{display:inline-block;margin-right:12px}







/*!**************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./assets/styles/blog.css ***!
  \**************************************************************************/
/* ===== Layout ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
}
@media (max-width:960px) {
  .layout { grid-template-columns: 1fr; }
  .layout__aside { position: static; }
}
.layout__aside {
  position: sticky;
  top: 80px;
  align-self: start;
  height: fit-content;
}

/* ===== Grid of posts ===== */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (max-width:480px) {
  .grid { gap: 16px; }
}

/* ===== Post card ===== */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform .12s, box-shadow .12s;
  height: 100%;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__badge {
  align-self: flex-start;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
}
.card__title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}
@media (max-width:480px) {
  .card__title { font-size: 1rem; }
}
.card__excerpt {
  margin: 0;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__date {
  color: #9ca3af;
  font-size: .85rem;
}
.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-top: auto;
}
.card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f9fafb;
  margin-top: auto;
}

/* ===== Sidebar ===== */
.sb__box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.sb__title {
  margin: 0 0 8px;
  font-size: 14px;
  color: #111827;
}
.sb__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

/* ===== Category tree ===== */
.cat-tree { display: block; }
.cat { margin: 2px 0; }
.cat > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
}
.cat > summary::-webkit-details-marker { display: none; }
.cat__children {
  margin: 6px 0 6px 14px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.cat a {
  text-decoration: none;
  color: #374151;
}
.cat a:hover { color: #111827; }
.cat__count {
  color: #6b7280;
  font-size: .85rem;
}

/* ===== Tags ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  text-decoration: none;
  font-size: 12px;
  color: #374151;
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}
.tag:hover { border-color: #d1d5db; }

/*!**********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./assets/styles/blog_sidebar.css ***!
  \**********************************************************************************/
/* Сайдбар */
.layout__aside {
  max-width: 220px; /* Сделали уже */
  font-size: 14px;
}

/* ASCII-дерево */
.cat-tree {
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
  padding-left: 8px;
}

.cat-list {
  list-style: none;
  margin: 0;
  padding-left: 15px;
  position: relative;
}

.cat-list li {
  position: relative;
  padding-left: 16px; /* чуть ровнее */
}

.cat-list li:before {
  content: "├──";
  position: absolute;
  left: 0;
  color: #9ca3af; /* светло-серый */
  font-size: 12px;
}

.cat-list li:last-child:before {
  content: "└──";
  color: #9ca3af;
}

/* Корень категорий */
.cat-root {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px 0;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s;
}

.cat-root:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Ссылки категорий в стиле тегов */
.cat-list a {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px 0;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s;
}

.cat-list a:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Теги */
.tags .tag {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px 4px 4px 0;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s;
}

.tags .tag:hover {
  background: #e5e7eb;
  color: #111827;
}

