*,
*::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%);
}

.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;
}

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

.link-back,
.link-home {
  color: #fecaca;
  text-decoration: none;
}

.page {
  padding: 24px 24px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 22px;
  border-radius: 22px;
  /* background: radial-gradient(circle at top left, #020617, #111827); */
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.24);
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at center, #020617, #000000);
}

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

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

.thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

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

.thumb.active {
  opacity: 1;
  border-color: #fbbf24;
  transform: translateY(-1px);
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
}

.gender-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}

.price {
  margin: 8px 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: #fbbf24;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

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

.status-text {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .top-bar {
    padding: 14px 20px;
    font-size: 12px;
  }

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

  .page {
    padding: 20px;
  }

  .detail-card {
    gap: 20px;
    padding: 18px 20px;
  }

  .title {
    font-size: 22px;
  }

  .price {
    font-size: 18px;
  }
}

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

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

  .detail-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .page {
    padding: 16px;
  }

  .image-column {
    gap: 12px;
  }

  .main-image-wrap {
    border-radius: 16px;
  }

  .thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .title {
    font-size: 20px;
  }

  .brand {
    font-size: 12px;
  }

  .price {
    font-size: 18px;
    margin: 6px 0 4px;
  }

  .description {
    font-size: 13px;
    line-height: 1.5;
  }

  .tag-chip {
    font-size: 10px;
    padding: 3px 8px;
  }

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

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

  .page {
    padding: 14px;
  }

  .detail-card {
    padding: 14px 16px;
    border-radius: 16px;
    gap: 16px;
  }

  .main-image-wrap {
    border-radius: 14px;
  }

  .thumb-strip {
    gap: 6px;
  }

  .thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .title {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .brand {
    font-size: 11px;
  }

  .price {
    font-size: 16px;
  }

  .description {
    font-size: 12px;
  }

  .tags {
    gap: 4px;
  }

  .tag-chip {
    font-size: 9px;
    padding: 2px 7px;
  }
}


