.subcategory-page {
  padding: 46px 0 82px;
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 119, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 48%);
}

.subcategory-topbar {
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(0, 119, 255, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbeafe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: #334155;
}

.breadcrumb a:hover {
  color: #0077ff;
}

.subcategory-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.subcategory-label {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0077ff;
  font-size: 13px;
  font-weight: 900;
}

.subcategory-topbar h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 950;
  color: #071327;
  letter-spacing: -0.8px;
  text-transform: capitalize;
}

.product-count {
  margin-top: 9px;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.sort-form select {
  height: 48px;
  min-width: 220px;
  padding: 0 15px;
  border-radius: 15px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #071327;
  font-size: 14px;
  font-weight: 850;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 119, 255, 0.06);
}

.sort-form select:focus {
  border-color: #0077ff;
  box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.no-products {
  min-height: 380px;
  padding: 60px 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(0, 119, 255, 0.12), transparent 38%),
    #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-products-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077ff, #005fe0);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 42px rgba(0, 119, 255, 0.25);
}

.no-products-icon svg {
  width: 42px;
  height: 42px;
}

.no-products h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 950;
  color: #071327;
}

.no-products p {
  max-width: 480px;
  margin: 0 0 26px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.no-products-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0077ff, #005fe0);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .subcategory-page {
    padding: 32px 0 62px;
  }

  .subcategory-topbar {
    padding: 24px;
    border-radius: 24px;
  }

  .subcategory-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .subcategory-topbar h1 {
    font-size: 30px;
  }

  .sort-form,
  .sort-form select {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .subcategory-topbar,
  .no-products {
    border-radius: 22px;
  }

  .subcategory-topbar {
    padding: 20px;
  }

  .subcategory-topbar h1 {
    font-size: 25px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .subcategory-page{
    padding: 30px 0px;
  }
}
