/* Glamora – collection page layer */

/* ---------- HEADER ---------- */
.glch { background: var(--blush); border-bottom: 1px solid var(--blush-2); }
.glch__wrap { padding-top: 22px; padding-bottom: 26px; }
.glch__crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-3); margin-bottom: 14px; }
.glch__crumbs a { color: var(--ink-3); text-decoration: none; }
.glch__crumbs a:hover { color: var(--rose); }
.glch__crumbs [aria-current] { color: var(--ink-2); }
.glch__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 48px; align-items: end; }
.glch__row:has(> :only-child) { grid-template-columns: 1fr; }
.glch__title { font-family: var(--font-heading--family); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.015em; margin: 0; color: var(--ink); text-wrap: balance; }
.glch__count { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--rose); }
.glch__desc { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.glch__desc-inner > :first-child { margin-top: 0; }
.glch__desc-inner > :last-child { margin-bottom: 0; }
.glch__desc-inner p { margin: 0 0 8px; }
.glch__desc-inner a { color: var(--ink); }
.glch__desc--clamp .glch__desc-inner { max-height: 4.8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.glch__desc--clamp.is-open .glch__desc-inner { max-height: none; -webkit-mask-image: none; mask-image: none; }
.glch__more { appearance: none; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; margin-top: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.glch__more:hover { color: var(--rose); }
.glch__chips { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.glch__chips::-webkit-scrollbar { display: none; }
.glch__chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--blush-2); color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: all .15s ease; }
.glch__chip:has(.glch__chip-img) { padding-left: 4px; }
.glch__chip-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.glch__chip:hover { border-color: var(--ink); }
.glch__chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 860px) {
  .glch__row { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 749px) {
  .glch__wrap { padding-top: 14px; padding-bottom: 18px; }
  .glch__crumbs { margin-bottom: 10px; }
  .glch__title { font-size: 30px; }
  .glch__chips { margin: 16px -16px 0; padding: 0 16px 2px; }
  .glch__chip { min-height: 36px; padding: 0 14px; }
}

/* ---------- TOOLBAR (Horizon facets) ---------- */
.gl-coll .facets-block-wrapper { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.gl-coll .facets--horizontal { padding-block: 12px !important; }
.gl-coll .facets__filters-wrapper { gap: 8px; }
.gl-coll .facets__overflow-list { gap: 8px; }
.gl-coll .facets--horizontal .facets__summary,
.gl-coll .sorting-filter .facets__summary { min-height: 40px; padding: 0 14px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 500; color: var(--ink); gap: 8px; transition: border-color .15s ease; }
.gl-coll .facets--horizontal .facets__summary:hover,
.gl-coll .sorting-filter .facets__summary:hover,
.gl-coll details[open] > .facets__summary { border-color: var(--ink); }
.gl-coll .facets__summary .facets__label { font-size: 13px; }
.gl-coll .products-count-wrapper,
.gl-coll .column-options-wrapper { display: none !important; }
.gl-coll .facets__form { justify-content: flex-start; }
.gl-coll .facets--horizontal .sorting-filter { margin-left: auto; }
.gl-coll .facets__panel-content,
.gl-coll .sorting-filter__options { border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 16px 40px -18px rgba(43, 21, 32, .35); }
.gl-coll .facets-toggle { padding-inline: 16px; }
.gl-coll .facets-toggle__button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink); gap: 8px; }
.gl-coll .facets-toggle__button:hover { border-color: var(--ink); }

/* ---------- GRID ---------- */
.gl-coll .product-grid { --product-grid-gap-desktop: 32px 20px; }
@media screen and (min-width: 750px) {
  .gl-coll .product-grid { --product-grid-columns-desktop: repeat(3, minmax(0, 1fr)) !important; }
}
@media screen and (min-width: 990px) {
  .gl-coll .product-grid { --product-grid-columns-desktop: repeat(4, minmax(0, 1fr)) !important; }
}
@media screen and (min-width: 1500px) {
  .gl-coll .product-grid { --product-grid-columns-desktop: repeat(5, minmax(0, 1fr)) !important; }
}
.gl-coll .product-grid__item { display: flex; border: 0; }
.gl-coll .product-grid__item > .glc { flex: 1 1 auto; }
.gl-coll .glc__body { padding-top: 14px; }
.gl-coll .glc__media { border-radius: 8px; }
@media (hover: hover) {
  .gl-coll .glc__media { transition: box-shadow .25s ease; }
  .gl-coll .glc:hover .glc__media { box-shadow: 0 10px 28px -16px rgba(43, 21, 32, .35); }
}
@media (max-width: 749px) {
  .gl-coll .main-collection-grid { padding-inline: 16px !important; }
  .gl-coll .product-grid { --product-grid-gap: 24px 12px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .gl-coll .glc__vendor { font-size: 10px; }
  .gl-coll .glc__price { font-size: 14px; }
}

/* pagination (when infinite scroll is off) */
.gl-coll .pagination { margin-top: 40px; }
