body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(180deg, #fff4f7 0%, #f8f2df 55%, #edf7f1 100%);
  color: #2b2525;
}

.hero,
main {
  max-width: 960px;
  margin: auto;
  padding: 24px;
}

.hero {
  background:
    radial-gradient(circle at 90% 10%, #ffffffaa 0 80px, transparent 82px),
    linear-gradient(135deg, #ffe1ea, #fffaf0);
  border: 1px solid #f1c9d3;
  border-radius: 28px;
  margin-top: 24px;
  box-shadow: 0 8px 24px #d88aa033;
}

.eyebrow {
  color: #c85f7a;
  font-weight: bold;
  letter-spacing: 0.08em;
}

h1 {
  color: #8f3f55;
  margin-bottom: 8px;
}

.controls {
  background: #fffafb;
  border: 1px solid #f1c9d3;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px #d88aa01f;
}

.controls label {
  display: grid;
  gap: 8px;
  font-weight: bold;
  color: #8f3f55;
}

.control-title {
  margin: 16px 0 8px;
  color: #8f3f55;
  font-weight: bold;
}

input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #e5a9b8;
  border-radius: 14px;
  background: white;
}

input:focus {
  outline: 3px solid #ffd6e0;
  border-color: #d96f8c;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

button {
  padding: 9px 15px;
  border: 1px solid #e5a9b8;
  border-radius: 999px;
  background: white;
  color: #8f3f55;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #fff0f4;
}

button.active {
  background: #d96f8c;
  color: white;
  border-color: #d96f8c;
}

#count {
  color: #6a4a52;
  font-weight: bold;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fffdfd;
  border: 1px solid #f1c9d3;
  border-radius: 22px;
  box-shadow: 0 4px 14px #d88aa026;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #d88aa040;
}

.card img,
.no-image {
  width: 100%;
  height: 180px;
}

.card img {
  object-fit: cover;
  background: #ffeef3;
}

.no-image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0f4, #edf7f1);
  color: #c85f7a;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.card-body {
  padding: 16px;
}

.category {
  display: inline-block;
  color: #c85f7a;
  background: #fff0f4;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 0.85rem;
}

.card-body h2 {
  color: #5f2f3c;
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.badge {
  display: inline-block;
  color: white;
  background: #d96f8c;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 0.85rem;
}

.info-list {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff8fa;
  border-radius: 14px;
}

.info-list p {
  margin: 6px 0;
  font-size: 0.92rem;
}

.empty {
  background: #fffdfd;
  border: 1px solid #f1c9d3;
  border-radius: 20px;
  padding: 20px;
  color: #8f3f55;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.links a {
  display: inline-block;
  color: #9c4058;
  background: #fff0f4;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
}

.links a:hover {
  background: #d96f8c;
  color: white;
}

@media (max-width: 640px) {
  .hero,
  main {
    padding: 16px;
  }

  .hero {
    margin: 12px;
  }

  .buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  button {
    white-space: nowrap;
    min-height: 44px;
  }

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

  .links a {
    width: 100%;
    text-align: center;
  }
}
.button-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.category-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.category-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffdfe8;
  color: #c85f7a;
  flex-shrink: 0;
}

.category-icon .icon {
  width: 15px;
  height: 15px;
}

.category {
  display: inline-block;
  color: #c85f7a;
  background: #fff0f4;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 0.85rem;
  margin: 0;
}

.subcategory {
  margin: 0 0 10px;
  color: #8b6b74;
  font-size: 0.9rem;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}