body {
  background: #f8f5ef;
}

.page-hero {
  background: #f8f5ef;
  padding-bottom: 28px;
}

.page-hero .wrap {
  max-width: 1280px;
}

.page-hero h1 {
  letter-spacing: .04em;
}

.filters {
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter {
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.product {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  background: #f1ede4;
  overflow: hidden;
}

/* PC hover only: opacity swap */
.product-pc-images {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.product-pc-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .32s ease, transform .32s ease;
}
.product-pc-images .product-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product:hover .product-pc-images .product-img-hover {
  opacity: 1;
}
.product:hover .product-pc-images .product-img-main {
  opacity: 0;
}
.product:hover .product-pc-images .product-img-main {
  transform: scale(1.018);
}

.product h3 {
  margin: 14px 8px 6px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .02em;
}

.product p {
  margin: 0;
  font-size: 13px;
  color: #7b6f60;
}

.collection-editorial {
  grid-column: 1 / -1;
  margin: 28px 0 34px;
  text-align: center;
}

.collection-editorial-media {
  width: 100%;
  aspect-ratio: 16 / 6.5;
  background: #eee8dc;
  overflow: hidden;
}

.collection-editorial-media img,
.collection-editorial-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-editorial-copy {
  max-width: 760px;
  margin: 18px auto 0;
}

.collection-editorial-copy h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .08em;
}

.collection-editorial-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #776d62;
}

.collection-editorial-copy a {
  display: inline-block;
  margin-top: 14px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .collection-editorial-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product h3 {
    font-size: 13px;
  }

  .collection-editorial {
    margin: 20px 0 26px;
  }
}

/* AUMU strict collection rhythm: 3 columns, 6 products, 1 full-width editorial divider */
.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.products > .product {
  grid-column: auto !important;
}

.products > .collection-editorial {
  grid-column: 1 / 4 !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  margin: 34px 0 42px !important;
}

.products > .collection-editorial .collection-editorial-media {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: 16 / 6.8;
}

.products > .collection-editorial .collection-editorial-media img,
.products > .collection-editorial .collection-editorial-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}


/* AUMU corrected rhythm 4x6: 4 products per row, 6 rows, then 1 poster divider */
.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.products > .collection-editorial { grid-column: 1 / 5 !important; width: 100% !important; max-width: none !important; justify-self: stretch !important; }
.products > .collection-editorial .collection-editorial-media { width: 100% !important; max-width: none !important; aspect-ratio: 16 / 6.8; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .products > .collection-editorial { grid-column: 1 / 3 !important; } }


/* AUMU load more button */
.collection-load-more { text-align: center; margin: 44px 0 20px; }
.collection-load-more button { min-width: 220px; height: 44px; padding: 0 28px; border: 1px solid #2d261f; background: transparent; color: #2d261f; letter-spacing: .08em; font-size: 12px; cursor: pointer; }
.collection-load-more button:hover { background: #2d261f; color: #fff; }


/* AUMU_COLLECTION_NO_OLD_FLASH */
.products {
  min-height: 520px;
}
.products.is-loading {
  opacity: 0;
  visibility: hidden;
}

.products.is-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease;
}

/* Empty state */
.products-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: #9b8e7e;
  font-size: 14px;
  letter-spacing: .05em;
}

/* Hover rules now scoped to .product-pc-images in styles.css — no conflicts */
