/* Catalog: restored component rules; source: scss/sections/_catalog-revision-2026.scss */
.catalog-page {
  --catalog-ink: #28202e;
  --catalog-border: #ece5f0;
  --catalog-accent: #662374;
  --catalog-soft: #faf7fb;
}
.catalog-page .breadcrumbs { margin-bottom: 10px; }
.catalog-page .breadcrumbs a, .catalog-page .breadcrumbs li { color: #544a5c; font-size: 13px; }
.catalog-page .catalog-intro { background: linear-gradient(105deg, #fbf9fc 0%, #f6eff9 100%); padding-block: 18px 25px !important; }
.catalog-page .catalog-intro__title { font-size: clamp(33px, 3.5vw, 52px); margin-block: 2px 8px !important; line-height: 1.1; }
.catalog-page .catalog-intro__description { max-width: 800px; margin: 0; font-size: 14px; color: var(--catalog-ink); }
.catalog-page .catalog-section { background: #faf9fb; padding-block: 24px 42px; }
.catalog-page .catalog-section__layout { gap: 18px; }
.catalog-page .catalog-sidebar { padding: 18px 15px; border: 1px solid var(--catalog-border); background: #fff; box-shadow: 0 8px 20px rgb(54 26 63 / 4%); border-radius: 14px; }
.catalog-page .catalog-sidebar__header h2 { font-size: 19px !important; font-weight: 800; color: var(--catalog-accent); }
.catalog-page .category-tree__all.is-active, .catalog-page .category-tree__all[aria-pressed="true"] { color: var(--catalog-accent) !important; background: #f4ebf8 !important; font-weight: 750; }
.catalog-page .category-tree__all .category-tree__count { margin-left: auto; color: var(--catalog-accent); font-weight: 800; }
.catalog-page .category-tree__group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: #3e2c46; }
.catalog-page .category-tree__group summary .icon { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 2; color: var(--catalog-accent); }
.catalog-page .category-tree__children { margin-left: 7px; padding-left: 10px !important; }
.catalog-page .category-tree__children button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; font-size: 12px; padding-inline: 4px; }
.catalog-page .category-tree__children button span { margin-left: auto; color: var(--catalog-accent); }
.catalog-page .catalog-sidebar__info { padding: 12px !important; margin-top: 18px; gap: 8px; }
.catalog-page .catalog-sidebar__info .icon { display: none; }
.catalog-page .catalog-sidebar__info strong { font-size: 12px; }
.catalog-page .catalog-sidebar__info span { font-size: 11px; }
.catalog-page .catalog-content { min-width: 0; }
.catalog-page .catalog-content__header { margin: 0 0 10px; }
.catalog-page .catalog-content__header h2 { display: flex; align-items: baseline; gap: 9px; }
.catalog-page .catalog-content__header h2 [data-catalog-total] { font-size: 14px; font-weight: 600; color: var(--catalog-accent); }
.catalog-page .catalog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.catalog-page .catalog-tags__item { background: #fff; border: 1px solid #e9e3eb; border-radius: 100px; padding: 9px 14px; font-size: 12px; color: #574b5c; font-weight: 650; transition: background .2s, color .2s, border-color .2s; }
.catalog-page .catalog-tags__item.is-active, .catalog-page .catalog-tags__item[aria-pressed="true"] { background: var(--catalog-accent); border-color: var(--catalog-accent); color: #fff; }
.catalog-page .catalog-tags__item:hover:not(.is-active) { border-color: #9e69b0; color: var(--catalog-accent); }
.catalog-page .catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px !important; padding: 9px 12px; background: #fff; border: 1px solid var(--catalog-border); border-radius: 12px; }
.catalog-page .catalog-toolbar__count { font-size: 12px; color: #5c5261; margin-right: auto; }
.catalog-page .catalog-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #665b6a; }
.catalog-page .catalog-toolbar__sort select { appearance: none; -webkit-appearance: none; padding: 10px 30px 10px 12px; border-radius: 9px; border: 1px solid #dfd2e6; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23662374' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 7px center; background-repeat: no-repeat; background-size: 16px; color: #42244a; font-size: 12px; cursor: pointer; }
.catalog-page .catalog-toolbar__sort select:focus-visible { outline: 2px solid #9f69ae; outline-offset: 2px; }
.catalog-page .catalog-products { gap: 14px !important; align-items: stretch; }
.catalog-page .catalog-product { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 0 !important; padding: 13px !important; background: #fff; border: 1px solid #f0eaf2 !important; border-radius: 14px; box-shadow: 0 4px 14px rgb(63 25 70 / 3%); transition: transform .2s, box-shadow .2s; }
.catalog-page .catalog-product:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgb(63 25 70 / 9%); }
.catalog-page .catalog-product .product-card__media { aspect-ratio: 1 / 1 !important; width: 100%; height: auto !important; min-height: 0 !important; max-height: 175px; display: grid; place-items: center; padding: 10px; margin-bottom: 8px; background: #fff; }
.catalog-page .catalog-product .product-card__media img { display: block; width: 75% !important; height: 85% !important; max-height: 145px; object-fit: contain !important; margin: auto; }
.catalog-page .catalog-product .product-card__favorite { top: 10px; right: 10px; width: 32px; height: 32px; border: 1px solid #ebd7f0; border-radius: 50%; color: #70267f; background: #fff; }
.catalog-page .catalog-product .product-card__favorite .icon { width: 18px; height: 18px; }
.catalog-page .catalog-product__info { min-width: 0; display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; }
.catalog-page .catalog-product__tag { margin: 0 !important; font-size: 10px !important; line-height: 1.2; color: #653071 !important; font-weight: 800; }
.catalog-page .catalog-product .product-card__title { margin: 0 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 13px !important; font-weight: 600 !important; line-height: 1.38; min-height: 2.76em; }
.catalog-page .catalog-product .product-card__size { margin: 0 0 7px !important; color: #706577; font-size: 12px !important; }
.catalog-page .catalog-product .product-card__bottom { margin-top: auto !important; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.catalog-page .catalog-product .product-card__price { font-size: 16px !important; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalog-page .catalog-product .product-card__buy { display: flex; align-items: center; gap: 6px; width: auto !important; min-width: 40px; min-height: 38px; border-radius: 9px; background: #f5edf8; border: 1px solid #e8d5ee; color: var(--catalog-accent); padding: 9px 10px; }
.catalog-page .catalog-product .product-card__buy .icon { width: 18px; height: 18px; flex: 0 0 18px; }
.catalog-page .catalog-product .product-card__buy-label { font-size: 11px; font-weight: 700; }
.catalog-page .catalog-product .product-card__buy:hover { background: var(--catalog-accent); color: #fff; }
.catalog-page .catalog-content__bottom--cta { background: #f5eaf8; border: 1px solid #e8d8ed; border-radius: 14px; padding: 18px 20px; margin-top: 22px; }
.catalog-page .catalog-content__contract-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--catalog-accent); text-decoration: none; }
.catalog-page .catalog-content__contract-link .icon { width: 19px; height: 19px; }

@media (min-width: 1024px) {
  .catalog-page .catalog-section__layout { grid-template-columns: minmax(245px, 270px) minmax(0,1fr) !important; gap: 20px !important; }
  .catalog-page .catalog-products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1280px) {
  .catalog-page .catalog-section__layout { grid-template-columns: minmax(258px, 282px) minmax(0,1fr) !important; gap: 22px !important; }
  .catalog-page .catalog-products { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .catalog-page .catalog-section { padding-block: 18px 30px; }
  .catalog-page .catalog-product { padding: 10px !important; }
  .catalog-page .catalog-product .product-card__buy-label { display: none; }
  .catalog-page .catalog-product .product-card__media { max-height: 160px; }
  .catalog-page .catalog-toolbar__sort { margin-left: auto; }
  .catalog-page .catalog-sidebar { padding: 18px 14px; }
}
