@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@400;700&display=swap");

body {
  background-color: #fff;
}

/* --- HEADER --- */
header {
  border-bottom: 2px solid #eee;
  overflow-x: auto;
}

header .d-flex {
  flex-wrap: nowrap;
  min-width: max-content;
}

.pixel-btn {
  background-color: #b6c1ff;
  font-family: "Press Start 2P", cursive;
  font-size: 12px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid #000;
  box-shadow: 5px 5px 0px #000;
  transition: 0.1s;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.pixel-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.filter-group span {
  font-weight: 600;
  white-space: nowrap;
  font-size: 12px;
}

.custom-select {
  background-color: #ece2fb;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 6px 10px;
  width: 130px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  cursor: pointer;
  appearance: auto;
  box-shadow: 3px 3px 0px #000;
  flex-shrink: 0;
}

.custom-select:focus {
  outline: none;
}

.search-input {
  background-color: #ece2fb;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 6px 32px 6px 12px;
  width: 150px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  box-shadow: 3px 3px 0px #000;
  flex-shrink: 0;
}

.search-input:focus {
  outline: none;
}

.search-container {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.search-container i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

/* --- PRODUCT GRID --- */
.category-title {
  font-weight: 800;
  letter-spacing: -1px;
}

.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
}

.pink-circle {
  position: absolute;
  width: 130px;
  height: 130px;
  background-color: #ffb5b5;
  border-radius: 50%;
  z-index: 1;
}

.product-img {
  height: 140px;
  z-index: 2;
  object-fit: contain;
  position: relative;
}

.product-info {
  padding: 15px;
  flex-grow: 1;
}

.product-info h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.product-card {
  border: 2px solid #000;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0px #000;
  transition:
    transform 0.1s,
    box-shadow 0.1s;

  width: 100%;
  height: 100%;
}

.image-holder {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.product-info {
  padding: 15px;
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  min-height: 180px; /* adjust if needed */
}

.price-tag {
  background-color: #b6c1ff;
  padding: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  border-top: 2px solid #000;

  margin-top: auto;
}
#noResults {
  font-weight: 600;
  color: #999;
  font-size: 1.1rem;
}
/*SHOW MORE PER CATEGORY*/

@media (max-width: 768px) {
  header .d-flex {
    flex-wrap: wrap;
    min-width: unset;
  }
}
@media (max-width: 450px) {
  .filter-group {
    width: 50%;
    padding: 25px 0;
  }
}
@media (max-width: 400px) {
  .ftitle {
    display: block;
    width: 100%;
  }
  .dis {
    display: block;
  }
}

main {
  background-image: url("../images/bannerGradientbg.png");
  background-size: cover;
}
