@import url('../tokens.css');
@import url('../catalog/catalog-shared.css');
@import url('../bloc/bloc-shared.css');
@import url('../bloc/detail.css');

#productListPage {
  max-width: 100%;
  overflow-x: clip;
}

.product-list-page {
  --product-list-navy: #192653;
  --product-list-accent: #ffc107;
}

.product-list-panel {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(25, 38, 83, 0.06);
}

#productListPage .product-list-panel .card-header {
  border-bottom: 1px solid #f1f3f5;
  background: #fff;
}

.product-list-filter-form {
  padding: 1rem 1.15rem 1.25rem;
}

#offcanvasSearch .product-list-filter-form {
  padding: 0;
}

#productListPage .transition-form {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#productListPage .transition-form.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

#productListPage .transition-form.fade-in {
  opacity: 0;
  transform: translateY(10px);
}

#productListPage .transition-form.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

#productListPage .stat-card {
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#productListPage .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(25, 38, 83, 0.08);
}

#productListPage .product-list-stat-value {
  color: var(--product-list-navy);
}

#productListPage .chart-wrapper {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#productListPage .chart-wrapper canvas {
  width: 120px !important;
  height: 120px !important;
}

#productListPage .product-scroll-row {
  scrollbar-width: thin;
  scrollbar-color: #cfd4da transparent;
}

#productListPage .product-scroll-row::-webkit-scrollbar {
  height: 8px;
}

#productListPage .product-scroll-row::-webkit-scrollbar-thumb {
  background-color: #cfd4da;
  border-radius: 10px;
}

.product-list-seo .h4 {
  color: var(--product-list-navy);
}

@media (max-width: 991.98px) {
  #productListPage .catalog-list-recap.rarity-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.5rem;
  }

}
