/* ==========================================
   SHOP — INTRODUCTION
========================================== */

.shop-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Shop Introduction — Description */
.shop-intro__description {
  max-width: 680px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* ==========================================
   SHOP — COLLECTION
========================================== */

.shop-collection__header {
  text-align: center;
  margin-bottom: 40px;
}

/* ==========================================
   SHOP — PRODUCT SHOWCASE
========================================== */

.shop-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Shop Gallery — Artwork Images */
.shop-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Shop Gallery — Slide Layout */
.shop-gallery__track {
  display: flex;
  width: 100%;
}

.shop-gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

/* Shop Gallery — Size */
.shop-gallery {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Shop Gallery — Navigation Layout */
.shop-gallery {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-gallery__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Shop Gallery — Navigation Buttons */
.shop-gallery__prev,
.shop-gallery__next {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid #4a173c;
  border-radius: 50%;
  background: white;
  color: #4a173c;
  cursor: pointer;
}

/* Shop Gallery — Navigation Hover */
.shop-gallery__prev:hover,
.shop-gallery__next:hover {
  background: #4a173c;
  color: white;
}

/* SHOP — PRODUCT BUTTON */
.shop-product__button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 2px solid var(--color-plum);
  border-radius: 6px;
  background-color: var(--color-plum);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.shop-product__button:hover {
  border-color: var(--color-charcoal);
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

/* SHOP — PRODUCT SPACING */
.shop-product + .shop-product {
  margin-top: 100px;
}

/* Shop Hero Artwork — Desktop */
@media (min-width: 769px) {
  .shop-intro__artwork {
    max-width: 950px;
    margin: 32px auto 0;
  }
}

/* SHOP — ALTERNATING PRODUCT SHOWCASES */
@media (min-width: 769px) {
  .shop-product:nth-of-type(even) .shop-product__gallery {
    order: 2;
  }

  .shop-product:nth-of-type(even) .shop-product__details {
    order: 1;
  }
}

/* Shop Product — Mobile Layout */
@media (max-width: 768px) {
  .shop-product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
