/* Shop, category and product search listings. */
.pl-shop__header { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.pl-shop__title { font-size: var(--fs-h1); line-height: 1.1; }
.pl-shop__intro { margin-top: 8px; color: var(--muted); max-width: 620px; }
.pl-shop__intro p + p { margin-top: 8px; }
.pl-shop__layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 32px; }
.pl-shop__filters { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 16px; }
.pl-shop__results { flex: 999 1 560px; min-width: 0; }
.pl-shop__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pl-shop__count { font-size: var(--fs-ui); color: var(--muted); }
.pl-shop__count strong { color: var(--ink); }
.pl-shop__filter-btn { display: none; min-height: var(--c-base); padding: 0 18px; }
.pl-sort { display: flex; align-items: center; gap: 10px; font-size: var(--fs-ui); }
.pl-sort select { height: var(--c-base); border-radius: var(--r-pill); border: 1.5px solid var(--border); padding: 0 36px 0 16px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231F2A24' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer; }

.pl-filter-group + .pl-filter-group { border-top: 1px solid var(--border); padding-top: 24px; }
.pl-filter-group__title { font-size: var(--fs-h3); margin-bottom: 12px; }
.pl-catlist { display: flex; flex-direction: column; gap: 2px; }
.pl-catlist a { display: flex; justify-content: space-between; align-items: center; min-height: var(--c-base); padding: 0 14px; border-radius: var(--r-item); font-size: var(--fs-ui); }
.pl-catlist a:hover { background: var(--surface); color: var(--ink); }
.pl-catlist a[aria-current="true"] { background: var(--primary-tint); font-weight: 600; }
.pl-catlist__count { font-size: var(--fs-caption); color: var(--muted); font-weight: 400; }
.pl-checklinks { display: grid; gap: 6px; }
.pl-checklinks a { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: var(--fs-ui); }
.pl-checkbox { width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: transparent; flex: none; }
.pl-checklinks a[aria-checked="true"] .pl-checkbox { background: var(--primary); border-color: var(--primary); color: var(--white); }

.pl-active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.pl-chip--active svg { margin-left: 2px; }
.pl-active-filters__clear { font-weight: 600; color: var(--primary); text-decoration: underline; padding: 0 8px; }

/* Bottom sheet (mobile filters) */
.pl-sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 85dvh; border: 0; border-radius: var(--r-section) var(--r-section) 0 0; padding: 0; background: var(--white); color: var(--ink); }
.pl-sheet::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); }
.pl-sheet[open] { display: flex; flex-direction: column; }
.pl-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; }
.pl-sheet__head h2 { font-size: 22px; }
.pl-sheet__body { overflow-y: auto; padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 24px; }
.pl-sheet__foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }

@media (max-width: 900px) {
	.pl-shop__filters { display: none; }
	.pl-shop__filter-btn { display: inline-flex; }
	.pl-shop__header { padding: 0; background: none; margin-top: 12px; gap: 12px; }
	.pl-shop__intro { display: none; }
	.pl-shop__ages { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); }
	.pl-shop__ages::-webkit-scrollbar { display: none; }
	.pl-shop__layout { margin-top: 16px; }
	.pl-shop__count { order: 3; flex-basis: 100%; }
	.pl-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Category "About" text below the grid */
.pl-cat-about__inner { background: var(--surface); border-radius: var(--r-section); padding: clamp(24px, 1rem + 2vw, 44px); max-width: 900px; }
.pl-cat-about__title { font-size: var(--fs-h3, 22px); margin: 0 0 10px; }
.pl-cat-about__text p { color: var(--soft); line-height: 1.7; margin: 0; }
.pl-cat-about__text p + p { margin-top: 12px; }
