*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f9fafb;
  background:
    radial-gradient(circle at top, #2d0f18 0%, #120007 55%, #050008 100%);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand img {
  height: 34px;
  width: auto;
}

.link-home {
  color: #fecaca;
  text-decoration: none;
  font-size: 13px;
}

.page {
  padding: 22px 28px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 12px 20px;
  background: rgba(233, 113, 138, 0.22);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.search-row {
  margin-bottom: 18px;
}

.search-row input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: radial-gradient(circle at top, #2d0f18 0%, #120007 55%, #050008 100%);;
  color: #e5e7eb;
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.search-row input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

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

.card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10,0,18,0.75), rgba(40,10,26,0.88));

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(148, 163, 184, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, translate 0.18s ease;
}

.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.card-link:focus {
  outline: 2px solid rgba(233, 113, 138, 0.8);
  outline-offset: 2px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(248, 250, 252, 0.2);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at center, #111827, #020617);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 12px 13px 13px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}

.card-sub {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.price {
  font-weight: 600;
  color: #fbbf24;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-end;
}

.tag-chip {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.32);
  color: #a7f3d0;
  font-size: 11px;
}

.tag-chip-gender {
  background: rgba(250, 204, 21, 0.24);
  color: #facc15;
}

.status-text {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
}

@media (max-width: 900px) {
  .top-bar {
    padding: 16px 20px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    height: 30px;
  }

  .link-home {
    font-size: 12px;
  }

  .page {
    padding: 20px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    font-size: 12px;
    gap: 10px;
  }

  .brand img {
    height: 28px;
  }

  .link-home {
    font-size: 11px;
  }

  .page {
    padding: 16px;
  }

  .search-row {
    margin-bottom: 16px;
  }

  .search-row input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  .card {
    border-radius: 16px;
  }

  .card-body {
    padding: 10px 12px 12px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-sub {
    font-size: 11px;
  }

  .card-meta {
    font-size: 11px;
  }

  .tag-chip {
    font-size: 10px;
    padding: 2px 6px;
  }

  .status-text {
    font-size: 12px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .page {
    padding: 14px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .card-title {
    font-size: 13px;
  }
}


