:root {
  --bg: #050505;
  --surface: #0f0f0f;
  --surface-soft: #151515;
  --text: #f5efe1;
  --muted: #bfb39b;
  --line: rgba(216, 170, 63, 0.2);
  --gold: #d8aa3f;
  --gold-soft: #f3de9b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(216, 170, 63, 0.1), transparent 24%),
    linear-gradient(180deg, #040404 0%, #0b0b0b 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.catalog-header,
.filter-row,
.catalog-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 42px 0 28px;
}

.eyebrow,
.shoe-meta p,
.filter-row span {
  margin: 0;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

.catalog-header h1 {
  margin-top: 8px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.header-copy,
.shoe-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.nav-button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(243, 222, 155, 0.35);
  background: linear-gradient(180deg, rgba(216, 170, 63, 0.22), rgba(216, 170, 63, 0.1));
  box-shadow: var(--shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0 22px;
}

.filter-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 18px 0 52px;
}

.shoe-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.shoe-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 20px;
  color: #fff8df;
  overflow: hidden;
}

.shoe-visual::before,
.shoe-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
}

.shoe-visual::before {
  width: 240px;
  height: 90px;
  right: -10px;
  bottom: 35px;
  border: 1px solid rgba(255, 248, 223, 0.35);
  transform: rotate(-10deg);
}

.shoe-visual::after {
  width: 120px;
  height: 12px;
  right: 38px;
  bottom: 58px;
  background: linear-gradient(90deg, rgba(255, 248, 223, 0.2), rgba(255, 248, 223, 0.75));
}

.shoe-visual span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255, 248, 223, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.visual-sneaker {
  background: linear-gradient(135deg, #1a1a1a 10%, #6b5622 100%);
}

.visual-formal {
  background: linear-gradient(135deg, #121212 10%, #8a6321 100%);
}

.visual-loafer {
  background: linear-gradient(135deg, #171717 10%, #7a602d 100%);
}

.visual-casual {
  background: linear-gradient(135deg, #121212 10%, #9f7a30 100%);
}

.visual-premium {
  background: linear-gradient(135deg, #0f0f0f 5%, #c9982d 100%);
}

.visual-sneaker-alt {
  background: linear-gradient(135deg, #191919 10%, #70561f 100%);
}

.shoe-copy {
  padding: 22px;
}

.shoe-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.shoe-meta span {
  color: var(--gold);
  font-weight: 600;
}

.shoe-copy h2 {
  margin-top: 10px;
  font-size: 2rem;
}

.shoe-copy > p {
  margin: 12px 0 0;
}

.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.catalog-nav a:hover,
.nav-button:hover,
.filter-row span:hover,
.shoe-card:hover {
  transform: translateY(-2px);
}

.shoe-card,
.filter-row span,
.nav-button {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .catalog-header,
  .filter-row,
  .catalog-grid {
    width: min(100% - 28px, 1120px);
  }
}
