:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

.collection,
footer,
.product {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  padding: 32px 20px 48px;
  background: #040517 radial-gradient(ellipse at top center, #202b3d, #040517 70%);
  color: #fff;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 60vh;
  margin: 0 auto;
  object-fit: contain;
}

.site-header {
  padding: 20px;
  background: #040517 radial-gradient(ellipse at top center, #202b3d, #040517 70%);
  color: #fff;
  border-bottom: 1px solid #333;
  text-align: center;
}

.site-header a {
  display: inline-block;
}

.site-header img {
  display: block;
  width: auto;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
}

.price {
  font-size: 24px;
  font-weight: bold;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: #f45800;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: #d94f00;
}

.youtube {
  background: #f00;
}

.youtube:hover {
  background: #c00;
}

h1,
h2 {
  line-height: 1.2;
}

.collection > h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  display: block;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  text-decoration: none;
}

.card:hover {
  border-color: #f45800;
}

.card > a:first-child {
  display: block;
  text-decoration: none;
}

.card > .button {
  margin: 0 12px 20px;
}

.card img {
  display: block;
  width: 100%;
  height: 240px;
  padding-top: 6px;
  object-fit: contain;
  background: #fff;
}

.photo-pending {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  background: #fff;
  color: #555;
  text-align: center;
}

.card h2 {
  margin: 20px 12px;
  font-size: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
}

.product-header {
  margin-bottom: 32px;
}

.product-header h1 {
  font-size: clamp(28px, 5vw, 42px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 40px;
}

.gallery {
  display: grid;
  gap: 20px;
}

.gallery a {
  display: block;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.details h2 {
  margin-top: 0;
}

.source-note,
footer {
  color: #555;
  font-size: 14px;
}

footer {
  margin-top: 48px;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

footer nav a {
  padding: 8px;
}

@media (max-width: 640px) {
  .hero {
    padding: 16px 20px 24px;
  }

  .logo {
    width: min(100%, 320px);
    height: auto;
    max-height: 180px;
  }

  .site-header {
    padding: 12px 20px;
  }

  .site-header img {
    height: 80px;
  }

  .cards,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .actions {
    gap: 16px;
    margin-top: 16px;
  }

  .actions .button {
    width: 100%;
  }
}
