.product-showcase {
  --card-width: 280px;
  --card-height: 400px;
  --card-gap: 2rem;
  --cards-per-view: 4;
}

.product-grid-container {
  position: relative;
  overflow: hidden;
  padding: 0 var(--card-gap);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--cards-per-view), minmax(var(--card-width), 1fr));
  gap: var(--card-gap);
  transition: transform 0.3s ease;
}

.product-card {
  height: var(--card-height);
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.product-navigation {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 1rem;
}

.nav-button {
  background-color: rgba(75, 85, 99, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  pointer-events: auto;
}

.nav-button:hover {
  background-color: rgba(75, 85, 99, 1);
}

.nav-button svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1279px) {
  .product-showcase {
    --cards-per-view: 3;
  }
}

@media (max-width: 1023px) {
  .product-showcase {
    --cards-per-view: 2;
  }
}

@media (max-width: 639px) {
  .product-showcase {
    --cards-per-view: 1;
  }
}