.catalog-shell .catalog-sidebar-card,
.catalog-shell .catalog-toolbar,
.catalog-shell .catalog-card,
.catalog-shell .product-card,
.catalog-shell .mt-card {
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17,24,39,.05);
}

.catalog-shell {
  --catalog-accent: #0d6efd;
  --catalog-text: #111827;
  --catalog-muted: #6b7280;
}

.catalog-shell h1,
.catalog-shell .h3,
.catalog-shell .h4 {
  letter-spacing: -.02em;
  color: var(--catalog-text);
}

.catalog-shell .catalog-sidebar-card {
  position: sticky;
  top: 96px;
}

.catalog-shell .catalog-sidebar-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--catalog-text);
  letter-spacing: .01em;
  text-transform: uppercase;
}

.catalog-shell .catalog-summary {
  font-size: .82rem;
  color: var(--catalog-muted);
}

.catalog-shell .catalog-index .list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(17,24,39,.06);
  padding: .68rem .8rem;
  font-size: .92rem;
  color: #374151;
}

.catalog-shell .catalog-index .list-group-item:last-child {
  border-bottom: 0;
}

.catalog-shell .catalog-index .list-group-item:hover {
  background: #f8fafc;
}

.catalog-shell .catalog-index .list-group-item.active {
  background: rgba(13,110,253,.08);
  color: var(--catalog-accent);
  font-weight: 700;
}

.catalog-shell .catalog-index .badge {
  border-radius: 999px;
  font-size: .72rem;
  padding: .28rem .45rem;
}

.catalog-shell .catalog-toolbar,
.catalog-shell .mt-card {
  padding: .9rem;
}

.catalog-shell .catalog-toolbar .form-label,
.catalog-shell .mt-card .form-label,
.catalog-shell .mt-sort .form-label {
  font-size: .74rem;
  font-weight: 600;
  color: var(--catalog-muted);
}

.catalog-shell .catalog-card,
.catalog-shell .product-card {
  overflow: hidden;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.catalog-shell .catalog-card:hover,
.catalog-shell .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17,24,39,.09);
}

.catalog-shell .catalog-media,
.catalog-shell .product-card .ratio {
  background: #f8fafc;
  min-height: 220px;
}

.catalog-shell .catalog-media img,
.catalog-shell .product-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  padding: .75rem;
}

.catalog-shell .catalog-body,
.catalog-shell .product-card .card-body {
  padding: .85rem;
}

.catalog-shell .catalog-title,
.catalog-shell .product-card .card-title {
  font-size: .96rem;
  line-height: 1.28;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--catalog-text);
}

.catalog-shell .catalog-title a {
  color: inherit;
  text-decoration: none;
}

.catalog-shell .catalog-title a:hover {
  color: var(--catalog-accent);
}

.catalog-shell .catalog-meta,
.catalog-shell .product-card p.small {
  font-size: .8rem;
  color: var(--catalog-muted);
  min-height: 2.6em;
}

.catalog-shell .catalog-price,
.catalog-shell .product-card .fs-5 {
  font-size: 1.08rem !important;
  font-weight: 800;
  color: var(--catalog-accent);
}

.catalog-shell .catalog-actions .btn,
.catalog-shell .product-card .btn,
.catalog-shell .catalog-toolbar .btn,
.catalog-shell .mt-card .btn {
  border-radius: 10px;
  font-size: .84rem;
  padding: .48rem .78rem;
}

.catalog-shell .catalog-badges,
.catalog-shell .product-card .badge {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.catalog-shell .catalog-badges .badge,
.catalog-shell .product-card .badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .36rem .5rem;
  border-radius: 999px;
}

.catalog-shell .catalog-toolbar .form-control,
.catalog-shell .catalog-toolbar .form-select,
.catalog-shell .mt-filters .form-control,
.catalog-shell .mt-filters .form-select,
.catalog-shell .mobile-index-select,
.catalog-shell .mt-sort .form-select {
  border-radius: 10px;
  min-height: 42px;
}

.catalog-shell .mt-sort {
  min-width: 210px;
}

.catalog-shell .pagination {
  gap: .35rem;
}

.catalog-shell .pagination .page-link {
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,.08);
  color: #374151;
}

.catalog-shell .pagination .page-item.active .page-link {
  background: var(--catalog-accent);
  border-color: var(--catalog-accent);
}

@media (max-width: 991.98px) {
  .catalog-shell .catalog-sidebar-card {
    position: static;
  }

  .catalog-shell .catalog-toolbar,
  .catalog-shell .mt-card,
  .catalog-shell .catalog-sidebar-card {
    border-radius: 12px;
  }
}


@media (max-width: 767.98px) {
  .catalog-shell .catalog-media,
  .catalog-shell .product-card .ratio {
    min-height: 190px;
  }
}
