* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f5f5f5;
}

/* Section Wrapper */
.mens-section {
  padding: 20px 10px;
}

/* 4 Products per row */
.mens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Product Card */
.product-card {
  background: transparent;
}

/* Image Wrapper */
.product-image {
  width: 100%;
  height: 420px;
  background-color: #eaeaea;
  overflow: hidden;
  border-radius: 4px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  margin-top: 12px;
}

.product-title {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

/* Sizes */
.product-sizes {
  display: flex;
  gap: 6px;
}

.size-box {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 4px;
  background-color: #e0e0e0;
  color: #555;
}

/* Responsive */
@media (max-width: 1200px) {
  .mens-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mens-section {
    padding: 24px 10px;
    /* remove huge 60px side padding */
  }

  .mens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    /* reduce gap between cards */
  }

  .product-image {
    height: auto;
    aspect-ratio: 3 / 4;
    /* responsive height instead of 420px */
  }

  .product-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .size-box {
    font-size: 10px;
    padding: 3px 5px;
  }
}

.product-card {
  cursor: pointer;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}