/* ==========================================================================
   ELLWEN PAINTS — Product Detail Page Styles
   ========================================================================== */

/* ── Product Header ────────────────────────────────────────────────────── */
.product-detail-hero {
  padding: calc(80px + var(--space-10)) 0 var(--section-padding);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 992px) {
  .product-detail__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .product-gallery {
    position: sticky;
    top: 100px;
  }
}

.product-gallery__main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-4);
  background: var(--color-off-white);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
}

.product-gallery__thumbs {
  display: flex;
  gap: var(--space-4);
}

.product-gallery__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
  border-color: var(--color-primary);
}

.product-info__category {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-medium-grey);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
  display: block;
}

.product-info__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
}

.product-info__desc {
  font-size: var(--text-lg);
  color: var(--color-dark-grey);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.product-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: var(--border-light);
}

/* ── Sticky Action Bar (Mobile/Bottom) ─────────────────────────────────── */
.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-3) var(--container-padding);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  z-index: var(--z-sticky);
  transition: transform var(--transition-base);
}

@media (min-width: 992px) {
  .sticky-action-bar {
    display: none; /* Only show on smaller screens typically, or adjust based on design */
  }
}

/* ── Application Process ──────────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.process-step {
  display: flex;
  gap: var(--space-6);
}

.process-step__number {
  flex: 0 0 40px;
  height: 40px;
  background: var(--color-brand-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.process-step__content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.process-step__content p {
  color: var(--color-dark-grey);
}
