/** Shopify CDN: Minification failed

Line 16:0 All "@import" rules must come first

**/
/* Product Gallery — ms-product-gallery */

@media (max-width: 749px) {
  .ms-gallery__tile--hide-mobile { display: none !important; }
}
@media (min-width: 750px) {
  .ms-gallery__tile--hide-desktop { display: none !important; }
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Montserrat:wght@400&display=swap');

.ms-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 1.5rem;
}

/* Header */
.ms-gallery__header {
  text-align: center;
  margin-bottom: 40px;
}

.ms-gallery__subheading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8578;
  margin: 0 0 8px;
}

.ms-gallery__heading {
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 32px;
  color: #1a1b18;
  margin: 0;
  line-height: 1.2;
}

/* Grid — Desktop */
.ms-gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ms-gallery__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Tile */
.ms-gallery__tile {
  position: relative;
}

.ms-gallery__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image wrapper — 3:4 aspect ratio */
.ms-gallery__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #edebe6;
}

.ms-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.ms-gallery__img--hover {
  opacity: 0;
}

.ms-gallery__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover overlay + shop button */
.ms-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 40, 35, 0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 4px;
}

.ms-gallery__shop-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 10px 28px;
  background: rgba(44, 40, 35, 0.45);
  border-radius: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Desktop hover effects */
@media (hover: hover) and (min-width: 750px) {
  .ms-gallery__link:hover .ms-gallery__img--primary {
    opacity: 0;
  }

  .ms-gallery__link:hover .ms-gallery__img--hover {
    opacity: 1;
  }

  .ms-gallery__link:hover .ms-gallery__overlay {
    opacity: 1;
  }

  .ms-gallery__link:hover .ms-gallery__shop-btn:hover {
    background-color: #2E251C;
    border-color: #2E251C;
  }
}

/* Badge */
.ms-gallery__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0ece6;
  background: rgba(44, 40, 35, 0.7);
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 2;
}

/* Colour name */
.ms-gallery__colour-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 14px;
  color: #2c2c2a;
  text-align: center;
  margin: 10px 0 0;
}

/* ─── Mobile ─── */
@media (max-width: 749px) {
  .ms-gallery {
    padding: 40px 1.5rem;
  }

  .ms-gallery__header {
    margin-bottom: 24px;
  }

  .ms-gallery__heading {
    font-size: 28px;
  }

  .ms-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 5th tile spans full width */
  .ms-gallery__grid--5 .ms-gallery__tile:nth-child(5) {
    grid-column: 1 / -1;
  }

  .ms-gallery__grid--5 .ms-gallery__tile:nth-child(5) .ms-gallery__image-wrap {
    aspect-ratio: 2 / 1;
  }

  /* Mobile: hide overlay + shop button */
  .ms-gallery__overlay {
    display: none;
  }

  .ms-gallery__colour-name {
    font-size: 13px;
    margin-top: 6px;
    display: inline-block;
    position: relative;
  }

  .ms-gallery__colour-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 0.5px;
    background: #2c2c2a;
  }

  .ms-gallery__tile {
    text-align: center;
  }

  .ms-gallery__badge {
    font-size: 9px;
    padding: 4px 8px;
    top: 8px;
    right: 8px;
  }
}
