/*
 * Glow collection: the boutique counter. The category's banner hangs under a striped awning with a
 * scalloped edge, its picture in an arched window; concerns, skin types and brands are punched
 * swing tags; the filters are a make-up palette in a rose-gold rim, each choice a round pan; the
 * count is the shelf's label.
 */
.collection-head {
  position: relative;
  margin-top: 0;
  padding: calc(2.6rem + clamp(1.25rem, 4vw, 2.25rem)) clamp(1.25rem, 5vw, 3rem)
    clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg);
  background:
    radial-gradient(
      60% 120% at 100% 0%,
      color-mix(in oklab, var(--lilac) 75%, transparent),
      transparent 70%
    ),
    radial-gradient(
      50% 100% at 0% 100%,
      color-mix(in oklab, var(--peach) 65%, transparent),
      transparent 70%
    ),
    var(--tint);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7);
}
/* The awning: accent and white stripes, a scalloped edge. */
.gl-awning {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.6rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.25), transparent 40%, rgb(0 0 0 / 0.06)),
    repeating-linear-gradient(90deg, var(--accent) 0 2.2rem, #fff 2.2rem 4.4rem);
  mask:
    linear-gradient(#000, #000) 0 0 / 100% 1.5rem no-repeat,
    radial-gradient(circle at 50% 0, #000 1.1rem, transparent 1.13rem) 0 1.5rem / 2.2rem 1.1rem
      repeat-x;
  filter: drop-shadow(0 4px 4px rgb(90 28 58 / 0.18));
}
.collection-head .gl-title.gl-title {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
}
.collection-head .lead {
  max-width: 44rem;
  color: var(--ink-2);
}
/* Its picture, in an arched window. */
.collection-head:has(> .collection-image) {
  align-items: end;
}
.collection-head .collection-image {
  width: clamp(5.5rem, 16vw, 8.5rem);
  height: clamp(6.8rem, 20vw, 10.5rem);
  border: 0.35rem solid var(--surface);
  border-radius: 999px 999px 0.75rem 0.75rem;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 22px 34px -22px rgb(122 40 78 / 0.55);
}

/* Swing tags: concern, skin type, brand. */
.concern-bar {
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-block: 0.3rem;
}
.concern-bar-label {
  color: var(--ink-2);
  font-family: var(--font-round);
  font-size: 0.95rem;
}
.concern-bar a,
.brand-bar a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1rem 0.35rem 1.65rem;
  border-radius: 0.5rem var(--pill) var(--pill) 0.5rem;
  background:
    radial-gradient(
      circle at 0.8rem 50%,
      var(--bg) 0 0.22rem,
      var(--accent-line) 0.24rem 0.3rem,
      transparent 0.32rem
    ),
    var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 6px 12px -10px rgb(122 40 78 / 0.45);
}
.concern-bar.is-skin a {
  background:
    radial-gradient(
      circle at 0.8rem 50%,
      var(--bg) 0 0.22rem,
      var(--accent-line) 0.24rem 0.3rem,
      transparent 0.32rem
    ),
    color-mix(in oklab, var(--lilac) 30%, var(--surface));
}
.concern-bar a:hover,
.brand-bar a:hover {
  background:
    radial-gradient(
      circle at 0.8rem 50%,
      var(--bg) 0 0.22rem,
      var(--accent) 0.24rem 0.3rem,
      transparent 0.32rem
    ),
    var(--accent-soft);
  color: var(--accent-hover);
}
.subcategory {
  min-height: 2.75rem;
}

/* The filters: a compact palette in a rose-gold rim, each choice a round pan. */
.filters {
  gap: 0.55rem;
  margin: 1.1rem 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border: 0.3rem solid transparent;
  border-radius: var(--r-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #f4d7c9, #d8a691 35%, #f6ded2 60%, #c78e79) border-box;
  box-shadow: 0 18px 30px -26px rgb(122 40 78 / 0.5);
}
.filters-title {
  font-family: var(--font-round);
  font-size: 1rem;
}
.filters .filter-check {
  min-height: 2.75rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  border-color: var(--line);
  background: var(--bg);
}
/* The pan: the checkbox drawn as a round powder pan, filled when on. */
.filters .filter-check input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.7), transparent 50%), var(--sunken);
  box-shadow:
    inset 0 0 0 2px var(--surface),
    0 0 0 1px var(--line-strong);
  cursor: pointer;
}
.filters .filter-check input:checked {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E")
      center / 0.9rem no-repeat,
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.45), transparent 50%),
    var(--accent);
}
.filters .filter-check input:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}
.filters .filter-check:has(:checked) {
  border-color: var(--accent);
  background: var(--accent-mist);
}
.filters .filter-price input {
  min-height: 2.75rem;
  font-size: 1rem;
}
.filter-apply {
  min-height: 2.75rem;
  padding: 0 1.3rem;
  font-size: 0.95rem;
}
.filter-clear {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.4rem;
  color: var(--accent-hover);
}
.facet-value {
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-color: var(--line-strong);
  background: var(--surface);
}
.facet-value.is-on {
  border-color: var(--accent);
  background: var(--accent-mist);
  color: var(--accent-hover);
}

/* The count: the shelf's label; the order: a pill. */
.toolbar {
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line-strong);
}
.toolbar-count {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-weight: 600;
}
.toolbar-count::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.7rem;
}
main .sort select {
  min-height: 2.75rem;
  font-size: 0.95rem;
}

/* No products here: an empty shelf. */
.collection-head ~ .empty-state {
  border: 1.5px dashed var(--line-strong);
}
@media (max-width: 640px) {
  .filters {
    padding: 0.65rem;
  }
  .filters .filter-price {
    flex: 1 1 100%;
  }
  .filters .filter-price label {
    flex: 1;
  }
  .filters .filter-price input {
    width: 100%;
  }
}
