.catalog-stack { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 100px; }
.stack-grid { align-items: start; }
.catalog-stack > .catalog-buy, .catalog-stack > .buy-trigger { margin-top: 24px; align-self: flex-start; }
.catalog-stack:target { border-color: #b88d12; outline: 2px solid #d4af37; outline-offset: 4px; }
.catalog-stack li.catalog-model-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.catalog-stack li.catalog-model-row::before { display: none; }
.catalog-model-name { min-width: 0; line-height: 1.5; }
.catalog-model-buy { flex-shrink: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #1f2a44; font: 700 12px/1.4 Inter, Arial, sans-serif; cursor: pointer; }
.catalog-model-buy:hover { border-color: #b88d12; background: #fffbed; }
.catalog-model-row .model-summary { grid-column: 1 / -1; margin: 0; }
.stack-guide-item { display: flex; flex-direction: column; }
.stack-guide-item h3 a { color: inherit; text-decoration: none; }
.stack-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; }
.stack-guide-actions > a { color: #1f2a44; font-size: 13px; font-weight: 700; }
.stack-guide-actions .button { font-size: 13px; }
.catalog-section { padding: 76px 0; background: #f5f7fa; }
.catalog-section .stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.catalog-section .stack { padding: 25px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.catalog-section .stack small { color: #8a6c12; font-size: 12px; font-weight: 700; }
.catalog-section .stack h3 { margin: 12px 0; font-size: 22px; }
.catalog-section .stack p { font-size: 14px; }
.catalog-section .stack details { margin-top: 16px; border-top: 1px solid #e2e8f0; }
.catalog-section .stack summary { padding: 16px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.catalog-section .stack ul { margin: 0; padding: 0; list-style: none; }
.catalog-section .heading { max-width: 720px; margin-bottom: 32px; }
@media (max-width: 680px) {
  .catalog-section .stack-grid { grid-template-columns: 1fr; }
  .catalog-stack li.catalog-model-row { grid-template-columns: 1fr; }
  .catalog-model-buy { justify-self: start; }
  .stack-guide-actions { align-items: flex-start; flex-direction: column; }
}
