/* ============================================
   Item Pages Styles (Paperwork & Stickers)
   ============================================

   Styles for paperwork and sticker detail pages.
   Add these to your ma@import 'years-chart.css';
@import 'grid-layout.css';
   ============================================ */

.item-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.item-header {
  margin-bottom: 2rem;
}

.item-header h1 {
  margin-bottom: 0.5rem;
}

.item-header .description {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

/* Single image display (stickers) */
.item-image {
  margin: 2rem 0;
  text-align: center;
}

.item-image a {
  display: inline-block;
}

.item-image img {
  max-width: 100%;
  max-height: 500px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Multiple images grid (paperwork) */
.item-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.image-container {
  text-align: center;
}

.image-container a {
  display: block;
  margin-bottom: 0.5rem;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Item content */
.item-content {
  margin: 2rem 0;
  line-height: 1.6;
}

/* Variants section */
.variants-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #eee;
}

.variants-section h2 {
  margin-bottom: 1rem;
}

.no-variants {
  color: #666;
  font-style: italic;
}

.variant-count {
  margin-bottom: 1.5rem;
  color: #444;
}

.variants-list {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.variants-list thead {
  background: #f5f5f5;
}

.variants-list th,
.variants-list td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.variants-list th {
  font-weight: 600;
  color: #333;
}

.variants-list tbody tr:hover {
  background: #f9f9f9;
}

.variants-list td a {
  color: #0066cc;
  text-decoration: none;
  white-space: nowrap;
}

.variants-list td a:hover {
  text-decoration: underline;
}