/* The full-section catalogue mirrors the reference's compact, image-led grid. */
.category-page #storeCatalogPage.store-section-page {
  width: 100%;
  max-width: 1440px;
  padding: 24px 20px 40px;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-page-heading {
  margin-bottom: 22px;
}

.category-page #storeCatalogPage.store-section-page #storeCatalogNav {
  display: none;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 6px;
  border: 1px solid #383b42;
  border-radius: 20px;
  background: #24262c;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-artwork {
  flex: none;
  padding: 0;
  border-radius: 14px;
  background: #1f2026;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-artwork img {
  width: 100%;
  height: auto;
  /* Reserve space for native lazy loading, then use the loaded artwork's ratio. */
  aspect-ratio: auto 400 / 520;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 78px;
  padding: 12px 6px 10px;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card-info h3 {
  margin: 0;
  color: #f4f4f5;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card-info > p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0 0;
  color: #b4b5bf;
  font-size: 12px;
  line-height: 1.5;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card-info > p::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8995' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5ZM3 12l9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card:hover,
.category-page #storeCatalogPage.store-section-page .store-catalog-card:focus-visible {
  border-color: #ff7180;
  box-shadow: none;
}

.category-page #storeCatalogPage.store-section-page .store-catalog-card:active {
  transform: translateY(1px);
}

@media (min-width: 1400px) {
  .category-page #storeCatalogPage.store-section-page .store-catalog-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 700px) and (max-width: 949px) {
  .category-page #storeCatalogPage.store-section-page .store-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .category-page #storeCatalogPage.store-section-page {
    padding: 18px 12px 30px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-page-heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-page-heading h1 {
    font-size: 20px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-card {
    padding: 5px;
    border-radius: 16px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-artwork,
  .category-page #storeCatalogPage.store-section-page .store-catalog-artwork img {
    border-radius: 12px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-card-info {
    min-height: 64px;
    padding: 10px 5px 7px;
  }
  .category-page #storeCatalogPage.store-section-page .store-catalog-card-info h3 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }
}

/* Region and other nested-card pages use the reference's full-width five-column grid. */
.category-page #storeCatalogPage.store-subcategories-page { width:100%; max-width:1200px; padding:28px 20px 40px; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-page-heading { margin-bottom:26px; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-grid { grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; gap:20px; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-card { display:flex; flex-direction:column; min-width:0; padding:7px; border:1px solid #383b42; border-radius:20px; background:#24262c; box-shadow:none; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-artwork { flex:none; padding:0; border-radius:14px; background:#1f2026; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-artwork img { display:block; width:100%; height:auto; aspect-ratio:auto 400 / 520; object-fit:contain; border-radius:14px; background:transparent; box-shadow:none; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info { display:flex; flex-direction:column; min-width:0; padding:10px 5px 7px; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info h3 { margin:0; color:#f4f4f5; font-size:16px; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info>p { display:flex; align-items:center; gap:4px; margin:6px 0 0; color:#b4b5bf; font-size:12px; line-height:1.5; }
.category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info>p::before { content:''; width:13px; height:13px; flex:0 0 13px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8995' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5v9l-9 5-9-5V8l9-5Zm0 9v10M3 8l9 4 9-4M8 5l9 5v4'/%3E%3C/svg%3E") center/contain no-repeat; }
@media(min-width:851px) and (max-width:1100px) {
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
}
@media(min-width:651px) and (max-width:850px) {
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
}
@media(max-width:650px) {
  .category-page #storeCatalogPage.store-subcategories-page { padding:24px 8px 30px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-page-heading { margin-bottom:22px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-card { padding:5px; border-radius:16px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-artwork,
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-artwork img { border-radius:12px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info { padding:10px 5px 7px; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info h3 { font-size:13px; font-weight:700; line-height:1.4; }
  .category-page #storeCatalogPage.store-subcategories-page .store-catalog-card-info>p { font-size:11px; }
}
