/*--------------------------------
  -------------------------Single Artwork Layout (Final with Hover Zoom & Centered Image)
--------------------------------*/

.single-artwork .artwork-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
}

.artwork-detail {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

.artwork-image {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.artwork-image figure {
  margin: 0;
}

.artwork-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.artwork-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.artwork-meta {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.artwork-meta h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.25rem;
}

.artwork-meta p {
  margin: 0.25rem 0;
}

.artwork-price,
.print-available {
  font-weight: bold;
  color: #333;
}

.purchase-link {
  margin-top: 0.5rem;
  display: inline-block;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s ease-in-out;
}

.purchase-link:hover {
  background-color: #444;
}

.not-for-sale {
  color: #999;
  font-style: italic;
}

.artwork-categories {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.artwork-categories a {
  color: #555;
  text-decoration: underline;
}

.artwork-categories a:hover {
  color: #000;
}

.artwork-content {
  margin-top: 1.5rem;
  line-height: 1.6;
}

/*--------------------------------
  ---------------------------------Additional Image Gallery
--------------------------------*/

.artwork-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.artwork-gallery .artwork-thumb {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  overflow: hidden;
  border-radius: 6px;
}

.artwork-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.artwork-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}