.products-page {
  background: #f7f9fb;
  font-family: 'Work Sans', sans-serif;
}

.products-wrap {
  max-width: 1280px;
}

.products-breadcrumb {
  color: #98a2b3;
  letter-spacing: .12em;
  font-size: 11px;
}

.products-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.products-title {
  color: var(--theme-primary);
  font-weight: 900;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 3.2vw, 44px);
  position: relative;
  padding-bottom: 10px;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.products-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--theme-primary);
}

.products-sub {
  color: #667085;
  max-width: min(100%, 760px);
  line-height: 1.5;
  font-size: 14.5px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.sidebar-title {
  color: #98a2b3;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 11px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sidebar-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(16, 24, 40, .06);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 28px rgba(16, 24, 40, .06);
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #344054;
  font-weight: 700;
  font-size: 13px;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.category-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #cbd5e1;
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 1ch;
}

.category-item .count {
  background: #f2f4f7;
  color: #667085;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(16, 24, 40, .06);
}

.category-item:hover {
  background: rgba(var(--theme-primary-rgb), .08);
  color: #1b2e1c;
  transform: translateY(-1px);
}

.category-item.active {
  background: rgba(var(--theme-primary-rgb), .12);
  color: #1b2e1c;
  box-shadow: inset 0 0 0 1px rgba(var(--theme-primary-rgb), .18);
}

.category-item.active .dot {
  background: var(--theme-primary);
}

.category-item.active .count {
  background: rgba(var(--theme-primary-rgb), .18);
  color: var(--theme-primary);
}

.season-card {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #1a2320 0%, #121a17 100%);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 30px rgba(16, 24, 40, .18);
}

.season-title {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 6px;
}

.season-desc {
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.season-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  background: var(--theme-primary);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 12px 24px rgba(var(--theme-primary-rgb), .18);
}

.season-btn:hover {
  color: #fff;
  background: var(--theme-primary-hover);
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, .06);
  box-shadow: 0 10px 22px rgba(16, 24, 40, .08);
  transition: transform 160ms ease, box-shadow 160ms ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(16, 24, 40, .12);
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  background: #f3f4f6;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.badge-new {
  background: rgba(var(--theme-primary-rgb), .30);
  color: #0f172a;
  border: 1px solid rgba(var(--theme-primary-rgb), .46);
  box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb), .20);
}

.product-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-cat {
  color: #98a2b3;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 9.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  color: #111827;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  min-height: calc(13px * 1.25 * 2);
}

.product-desc {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  min-height: calc(12px * 1.55 * 2);
}

.product-price {
  color: #111827;
  font-weight: 900;
  font-size: 12.5px;
  text-align: right;
  margin-top: auto;
  letter-spacing: .2px;
}

.products-pagination {
  gap: 4px;
}

.products-pagination .page-link {
  border-radius: 12px;
  border: 1px solid rgba(16, 24, 40, .14);
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #667085;
  background: transparent;
  text-align: center;
  font-weight: 800;
}

.products-pagination .page-item.active .page-link {
  background: rgba(var(--theme-primary-rgb), .16);
  color: var(--theme-primary);
}

.products-pagination .page-link:hover {
  background: rgba(var(--theme-primary-rgb), .10);
  color: var(--theme-primary);
}

.products-hero {
  padding: 14px 14px 0;
  border-radius: 16px;
}

.products-panel {
  position: relative;
  min-height: 280px;
}

.products-panel.is-loading #productsPanelContent {
  pointer-events: none;
  user-select: none;
  opacity: .55;
  transition: opacity 140ms ease;
}

@media (min-width: 992px) {
  .products-hero {
    padding: 18px 18px 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar-card {
    padding: 12px;
  }

  .product-img img {
    object-fit: contain;
    padding: 6px;
    background: #fff;
  }
}
