/* OurChapter collection archive — dynamic WooCommerce catalogue */
.oc-collection {
  background: #f7f3eb;
  color: var(--pg-ink);
}

.oc-collection-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d9cbb7;
  background:
    radial-gradient(circle at 17% 20%, rgba(183,126,55,.1), transparent 29%),
    linear-gradient(112deg, #f8f3eb, #eee3d4);
}

.oc-collection-hero__grid {
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(430px,1.05fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: stretch;
}

.oc-collection-hero__copy {
  align-self: center;
  padding: 62px 0 72px;
}

.oc-breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 30px;
  color: #66645f;
  font-size: .72rem;
}

.oc-breadcrumb a {
  color: inherit;
  border-bottom: 1px solid transparent;
}

.oc-breadcrumb a:hover {
  border-color: var(--pg-brass);
}

.oc-collection-hero h1 {
  margin: 10px 0 20px;
  font-size: clamp(4.1rem, 6.2vw, 6.25rem);
  font-weight: 410;
  line-height: .86;
  letter-spacing: -.06em;
}

.oc-collection-hero__lede {
  max-width: 590px;
  color: #555852;
  font-size: 1.02rem;
  line-height: 1.65;
}

.oc-collection-hero__lede p {
  margin: 0;
}

.oc-collection-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #5d5f5b;
  font-size: .72rem;
  font-weight: 650;
}

.oc-collection-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.oc-collection-hero__facts .pg-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid rgba(169,122,62,.36);
  border-radius: 50%;
  color: var(--pg-brass-text);
}

.oc-collection-hero__visual {
  position: relative;
  min-height: 455px;
  margin: 0;
  overflow: hidden;
  background: #0a1924;
}

.oc-collection-hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,19,28,.28), transparent 32%), linear-gradient(0deg, rgba(7,19,28,.32), transparent 40%);
  content: '';
  pointer-events: none;
}

.oc-collection-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-reveal);
}

.oc-collection-hero__visual:hover img {
  transform: scale(1.015);
}

.oc-collection-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 25px;
  left: 26px;
  padding: 17px 20px;
  border: 1px solid rgba(213,166,102,.5);
  background: rgba(5,18,28,.9);
  color: #f5efe5;
  font-family: var(--font-display);
  font-size: 1.35rem;
  backdrop-filter: blur(8px);
}

.oc-collection-hero__visual small {
  display: block;
  margin-bottom: 5px;
  color: var(--pg-brass-glow);
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.oc-collection-filters {
  position: relative;
  z-index: 2;
  background: #071722;
  color: #F2EEE6;
}

.oc-collection-filters__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.oc-collection-filters label {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 16px 22px 14px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.oc-collection-filters label:first-child {
  border-left: 1px solid rgba(255,255,255,.15);
}

.oc-collection-filters label > span {
  color: var(--pg-brass-glow);
  font-size: .6rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.oc-collection-filters select {
  width: 100%;
  min-height: 27px;
  padding: 0 24px 0 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  background: transparent;
  color: #F2EEE6;
  font-size: .75rem;
}

.oc-collection-filters select:focus-visible {
  outline: 2px solid var(--pg-brass-glow);
  outline-offset: 3px;
}

.oc-collection-catalog {
  padding: clamp(30px, 3.5vw, 52px) 0 clamp(80px, 10vw, 145px);
}

.oc-collection-categories {
  display: flex;
  gap: 7px;
  padding-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.oc-collection-categories::-webkit-scrollbar {
  display: none;
}

.oc-collection-categories a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid #cfc3b2;
  border-radius: 999px;
  color: #4f504c;
  font-size: .75rem;
  font-weight: 650;
}

.oc-collection-categories a[aria-current="page"],
.oc-collection-categories a:hover {
  border-color: #071722;
  background: #071722;
  color: #f5efe5;
}

.oc-collection-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
  padding: 0 0 26px;
}

.oc-collection-toolbar p,
.oc-collection-toolbar small {
  margin: 0;
  color: #6c6b66;
  font-size: .75rem;
}

.oc-collection-toolbar p strong {
  color: var(--pg-ink);
}

/* LineArt landing (docs/LINEART-ARCHITECTUUR.md sectie B.3): grouped
   subcategory sections shown when a product_cat has children (e.g. the
   "Line Art Posters" umbrella category). Reuses --pg-* tokens, same
   dark-luxe grammar as the rest of this page. */
.oc-collection-subcategory {
  margin-bottom: 56px;
}

.oc-collection-subcategory__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--pg-hairline, #e4dbcb);
  padding-bottom: 12px;
}

.oc-collection-subcategory__head h3 {
  margin: 0;
  font-family: var(--font-display, 'Newsreader', Georgia, serif);
  font-size: 1.5rem;
  color: var(--pg-ink);
}

.oc-collection-subcategory__more {
  font-family: var(--font-body, 'Schibsted Grotesk', sans-serif);
  font-size: .8rem;
  font-weight: 700;
  color: var(--pg-brass-text, #8a6336);
  text-decoration: none;
  white-space: nowrap;
}

.oc-collection-subcategory__more:hover {
  text-decoration: underline;
}

.oc-collection .products {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px 22px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

.oc-collection .products::before,
.oc-collection .products::after {
  display: none !important;
  content: none !important;
}

.oc-collection .products > .oc-product-loop-item {
  width: auto !important;
  float: none !important;
  grid-column: span 4;
  margin: 0 !important;
}

.oc-collection .oc-product-card__media {
  aspect-ratio: 1.12 / 1;
}

.oc-collection .oc-product-card {
  height: 100%;
  border: 1px solid #d7cdbf;
  background: #fbf7f0;
}

.oc-collection .oc-product-card__body {
  min-height: 178px;
  align-content: start;
  padding: 19px 20px 20px;
}

.oc-collection .oc-product-card__body strong {
  font-size: 1.6rem;
}

.oc-collection .oc-product-card__cta {
  margin-top: auto;
  padding-top: 20px;
}

.oc-collection-editorial {
  min-height: 410px;
  display: grid;
  grid-column: span 8;
  grid-template-columns: .85fr 1.15fr;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #071722;
  color: #f5efe5;
}

.oc-collection-editorial > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 4vw, 56px);
}

.oc-collection-editorial h2 {
  margin: 10px 0 15px;
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 410;
  line-height: .96;
}

.oc-collection-editorial p:not(.pg-eyebrow) {
  max-width: 410px;
  color: #b7c0c3;
  line-height: 1.7;
}

.oc-collection-editorial img {
  align-self: stretch;
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  max-height: none !important;
  object-fit: cover;
}

.oc-collection .woocommerce-pagination {
  margin-top: 65px;
}

.oc-collection .woocommerce-pagination ul.page-numbers {
  border: 0;
}

.oc-collection .woocommerce-pagination ul.page-numbers li {
  border: 0;
}

.oc-collection .woocommerce-pagination .page-numbers a,
.oc-collection .woocommerce-pagination .page-numbers span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc3b2;
  background: transparent;
  color: var(--pg-ink);
}

.oc-collection .woocommerce-pagination .page-numbers .current {
  border-color: #071722;
  background: #071722;
  color: #f5efe5;
}

.oc-collection-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .oc-collection-hero__grid {
    grid-template-columns: minmax(0,.9fr) minmax(350px,1fr);
    gap: 5vw;
  }

  .oc-collection .products {
    grid-template-columns: repeat(6, minmax(0,1fr));
  }

  .oc-collection .products > .oc-product-loop-item {
    grid-column: span 3;
  }

  .oc-collection-editorial {
    grid-column: 1 / -1;
  }

  .oc-collection-filters__grid {
    width: 100%;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 700px) {
  .oc-collection-hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .oc-collection-hero__copy {
    padding: 48px 0 42px;
  }

  .oc-collection-hero h1 {
    font-size: 3.65rem;
  }

  .oc-collection-hero__visual {
    min-height: 285px;
    margin-inline: -16px;
  }

  .oc-collection-hero__visual figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .oc-collection-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .oc-collection-toolbar .woocommerce-ordering,
  .oc-collection-toolbar select {
    width: 100%;
  }

  .oc-collection .products {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .oc-collection .products > .oc-product-loop-item {
    display: block;
    grid-column: 1;
  }

  .oc-collection .oc-product-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .oc-collection .oc-product-card__media {
    min-height: 190px;
    aspect-ratio: auto;
  }

  .oc-collection .oc-product-card__body {
    min-height: 190px;
    align-content: center;
    padding: 18px;
  }

  .oc-collection .oc-product-card__body strong {
    font-size: 1.35rem;
  }

  .oc-collection-editorial {
    min-height: 0;
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .oc-collection-editorial img {
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oc-collection-hero__visual img,
  .oc-product-card__media img {
    transition: none;
  }
}
