:root {
  --dark1: #140a28;
  --dark2: #20143c;
  --dark3: #2a1a4a;
  --card: #1a1030;
  --gold: #d4a94f;
  --gold2: #ffdd94;
  --text: #f2ecfa;
  --muted: #c3b8e8;
  --line: rgba(212, 169, 79, .34);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--dark1);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 10, 40, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav img {
  display: block;
  width: auto;
  height: 36px;
}

.nav .back {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav .back:hover { color: var(--gold2); }

.crumbs {
  padding: 22px 0 6px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.crumbs a:hover { color: var(--gold2); }

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 { letter-spacing: -.022em; }

h1 {
  margin-bottom: 10px;
  color: var(--text);
  font: 38px/1.12 Georgia, serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 60px;
}

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.card .ci {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark2);
}

.card .ci img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card .cb {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 18px;
}

.badge2 {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card h3 {
  min-width: 0;
  flex: 1;
  margin-bottom: 10px;
  color: var(--text);
  font: 15.5px/1.3 Georgia, serif;
  overflow-wrap: anywhere;
}

.pr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pr .price {
  color: var(--gold2);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.pr .go {
  color: var(--gold2);
  font-size: 12px;
  text-align: right;
}

footer {
  margin-top: 30px;
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  background: var(--dark2);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.card:focus-visible {
  box-shadow: 0 0 0 6px rgba(212, 169, 79, .22);
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .4);
    transform: translateY(-5px);
  }

  .card:hover .ci img { transform: scale(1.04); }
}

@media (max-width: 900px) {
  h1 { font-size: 30px; }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .wrap { padding-inline: 16px; }
  .nav { min-height: 58px; }
  .nav img { height: 32px; }
  .nav .back { font-size: 13px; }
  .crumbs { padding-top: 17px; font-size: 12px; }
  .eyebrow { letter-spacing: 3px; }
  h1 { font-size: 27px; }

  .grid {
    gap: 12px;
    margin-bottom: 44px;
  }

  .card { border-radius: 13px; }
  .card .cb { padding: 12px; }
  .card h3 { font-size: 14px; }
  .pr { align-items: flex-start; flex-direction: column; gap: 3px; }
  .pr .price { font-size: 15px; }
  .pr .go { font-size: 11px; text-align: left; }
}

@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
