/* MEGUMU JEWELRY | COLLECTION index only
   Used by: /collection/index.html
   Common site rules: /css/style.css
   Desktop: horizontal four-card navigation.
   Mobile (<= 720px): two columns x two rows.
*/

/* Page-specific styles: collection/index.html */

/* Four COLLECTION categories: desktop horizontal cards */
.collection.collection-four-lights {
  padding: clamp(24px,4vw,54px) 0 clamp(24px,4vw,54px);
}
.collection-four-lights .section-heading {
  margin-bottom: 1.5rem;
}
.collection-four-lights .section-label {
  margin-bottom: .65rem;
}
.collection-four-lights .collection-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(12px,2vw,22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 18px;
  align-items: start;
}
.collection-four-lights .collection-card {
  display: block;
  flex: 0 0 clamp(155px,22vw,245px);
  min-width: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.collection-four-lights .collection-card .card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f7f7f5;
}
.collection-four-lights .collection-card .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.collection-four-lights .collection-card h2 {
  font-size: clamp(1rem,1.6vw,1.15rem);
  margin: 12px 0 3px;
  font-weight: 400;
}
.collection-four-lights .collection-card p {
  font-size: .68rem;
  letter-spacing: .08em;
  margin: 0;
}
/* Mobile COLLECTION: fixed two-column grid, no horizontal scrolling */
@media (max-width: 720px) {
  .collection.collection-four-lights {
    padding: 25px 0 30px;
  }

  .collection-four-lights .collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .collection-four-lights .collection-card {
    width: 100%;
    min-width: 0;
    flex: none;
  }
}
