/* ============================================================
   SUSAN WEAVER FINE ART — Shop Styles
   shop.css: available works cards and inquiry form
   ============================================================ */

/* ============================================================
   SHOP INTRO TEXT
   ============================================================ */
.shop-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.shop-intro h2 {
  margin-bottom: var(--space-sm);
}

.shop-intro p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* ============================================================
   SHOP GRID
   ============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

/* ============================================================
   SHOP CARD
   ============================================================ */
.shop-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.shop-card__image-wrap {
  position: relative;
  overflow: hidden;
}

/* UPDATE: Save shop images in images/shop/ — replace picsum URLs with real file paths */
.shop-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.shop-card:hover .shop-card__image {
  transform: scale(1.04);
}

/* "Available" badge on card image */
.shop-card__status {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.shop-card__status--available {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.shop-card__status--sold {
  background-color: var(--color-warm-brown);
  color: var(--color-white);
}

.shop-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-xs);
}

.shop-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-espresso);
  margin-bottom: var(--space-xs);
}

.shop-card__details {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.shop-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: var(--space-sm);
}

.shop-card__price-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: -var(--space-xs);
  margin-bottom: var(--space-sm);
}

.shop-card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   INQUIRE ABOUT THIS PIECE SECTION
   ============================================================ */
.shop-inquiry-section {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  scroll-margin-top: 100px; /* accounts for sticky header when scrolling to form */
}

.shop-inquiry-section h2 {
  margin-bottom: var(--space-xs);
}

.shop-inquiry-section .lead {
  margin-bottom: var(--space-xl);
}

/* ============================================================
   SOLD OUT NOTE
   ============================================================ */
.shop-sold-note {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-xl);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .shop-inquiry-section {
    padding: var(--space-lg);
  }
}
