body {
  background: #efefef;
  color: #111;
  font-family: Arial, sans-serif;
}

.collection-page {
  max-width: 1420px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.collection-top h1 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: -0.03em;
}

.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-label,
.products-count {
  font-size: 1rem;
  color: #555;
}

.toolbar-select {
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #222;
  outline: none;
  padding: 8px 10px;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 28px;
}

.product-card {
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 28px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
  position: relative;
  background: #ececec;
  aspect-ratio: 1 / 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #4d74db;
  color: #fff;
  padding: 9px 18px;
  font-size: 0.9rem;
  border-radius: 2px;
  z-index: 2;
}

.product-image {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.product-info {
  padding: 24px 22px 26px;
}

.product-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.old-price {
  font-size: 1rem;
  color: #666;
  text-decoration: line-through;
}

.new-price {
  font-size: 1.2rem;
  color: #222;
}

.pagination-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.page-btn,
.page-number {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
}

.page-number.active {
  background: #111;
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.women-card {
  background: linear-gradient(135deg, #fff6f8, #f9dde5);
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .collection-page {
    padding: 28px 18px 60px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .collection-top h1 {
    margin-bottom: 30px;
  }

  .collection-toolbar {
    align-items: flex-start;
    gap: 18px;
  }
}
