/* ==========================================================================
   PowerPHP — Listing page (theme-posts.html)  ·  pp-listing.css
   Uses tokens from pp-header-footer.css (--pp-*).
   ========================================================================== */
.pp-lhero, .pp-listing, .pp-explore { font-family: var(--font-heading); }
.pp-lhero *, .pp-listing *, .pp-explore * { box-sizing: border-box; }
.pp-lhero a, .pp-listing a, .pp-explore a { text-decoration: none; }
.pp-listing button { font-family: var(--font-heading); }
.pp-listing ul, .pp-explore ul { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.pp-lhero { padding: 20px 0 28px; }
.pp-lhero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px;
  min-height: 300px; padding: 44px 48px; border-radius: 28px;
  background: linear-gradient(171deg, #ebffd0 0%, #e8fff3 41%, #e7fbf1 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 59, 62, .05);
}
.pp-lhero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(17, 59, 62, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 59, 62, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 78% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 90% at 78% 50%, #000, transparent 75%);
}
.pp-lhero__panel::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 142, 147, .25), rgba(62, 142, 147, 0) 65%);
}

.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 22px; font-size: 13px; font-weight: 300; color: var(--pp-ink-2); }
.pp-crumbs a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; color: var(--pp-ink-2); background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(17, 59, 62, .06); transition: background .2s, color .2s; }
.pp-crumbs a .material-icons-outlined { font-size: 16px; color: var(--pp-teal-600); }
.pp-crumbs a:hover { background: #fff; color: var(--pp-ink); }
.pp-crumbs__sep.material-icons-outlined { font-size: 16px; color: rgba(22, 28, 45, .3); }
.pp-crumbs span[aria-current] { padding: 0 6px; font-weight: 500; color: var(--pp-ink); }

.pp-lhero__title { margin: 0; font-size: clamp(30px, 3.6vw, 50px); font-weight: 300; line-height: 1.08; letter-spacing: -.045em; color: var(--pp-ink); text-wrap: balance; }
.pp-lhero__title span { font-weight: 500; color: var(--pp-teal-600); }
.pp-lhero__sub { margin: 16px 0 0; font-size: 16.5px; font-weight: 300; color: var(--pp-ink-2); }
.pp-lhero__sub b { font-weight: 600; color: var(--pp-ink); }

.pp-lhero__art { position: relative; height: 230px; }
.pp-lhero__card {
  position: absolute; display: block; width: 62%; aspect-ratio: 590 / 300; overflow: hidden;
  border-radius: 14px; background: #fff; padding: 5px;
  box-shadow: 0 30px 50px -26px rgba(13, 48, 51, .45), 0 0 0 1px rgba(17, 59, 62, .06);
  transition: transform .6s var(--pp-ease);
}
.pp-lhero__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; display: block; }
.pp-lhero__card--1 { left: 0; top: 30px; transform: rotate(-7deg); }
.pp-lhero__card--3 { right: 0; top: 4px; transform: rotate(6deg); }
.pp-lhero__card--2 { left: 19%; top: 70px; z-index: 2; transform: rotate(0deg); }
.pp-lhero__panel:hover .pp-lhero__card--1 { transform: rotate(-10deg) translate(-10px, -4px); }
.pp-lhero__panel:hover .pp-lhero__card--3 { transform: rotate(9deg) translate(10px, -4px); }
.pp-lhero__panel:hover .pp-lhero__card--2 { transform: translateY(-6px); }
.pp-lhero__badge {
  position: absolute; z-index: 3; left: 12%; bottom: -6px; width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 20px; background: #fff; box-shadow: 0 18px 30px -16px rgba(13, 48, 51, .45), 0 0 0 1px rgba(17, 59, 62, .06);
}
.pp-lhero__badge svg { width: 32px; height: 32px; }

/* ------------------------------------------------------------------
   Toolbar (sticky under the header)
   ------------------------------------------------------------------ */
.pp-ltool {
  position: sticky; top: var(--pp-sticky-top, 124px); z-index: 30;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--pp-line-2);
  transition: top .35s var(--pp-ease), box-shadow .25s;
}
.pp-ltool.is-stuck { box-shadow: 0 12px 24px -20px rgba(22, 28, 45, .35); }
.pp-ltool__row { display: flex; align-items: center; gap: 14px; height: 68px; }

.pp-filterbtn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px 0 14px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--pp-ink); background: var(--pp-bg-2);
  transition: background .2s, color .2s;
}
.pp-filterbtn .material-icons-outlined { font-size: 19px; }
.pp-filterbtn:hover { background: var(--pp-line); }
.pp-filterbtn[aria-expanded="true"] { background: var(--pp-teal-800); color: #fff; }
.pp-filterbtn[aria-expanded="true"] .material-icons-outlined { color: var(--pp-cream); }
.pp-filterbtn__count { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--pp-teal-900); background: #b8f5d4; }
.pp-filterbtn__count:empty, .pp-filterbtn__count[data-zero] { display: none; }

.pp-ltabs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-left: 8px; border-left: 1px solid var(--pp-line-2); }
.pp-ltabs::-webkit-scrollbar { display: none; }
.pp-ltab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; font-size: 14px; font-weight: 400; color: var(--pp-ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.pp-ltab small { padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--pp-ink-2); background: var(--pp-bg-2); transition: background .2s, color .2s; }
.pp-ltab:hover { color: var(--pp-ink); background: var(--pp-bg-2); }
.pp-ltab:hover small { background: #fff; }
.pp-ltab.is-active { color: var(--pp-ink); font-weight: 500; background: var(--pp-mint); }
.pp-ltab.is-active small { color: var(--pp-teal-800); background: #fff; }

.pp-ltool__end { flex: none; display: flex; align-items: center; gap: 10px; }
.pp-sort { display: flex; align-items: center; height: 42px; padding-left: 14px; border-radius: 12px; background: var(--pp-bg-2); }
.pp-sort__label { font-size: 12.5px; font-weight: 300; color: var(--pp-ink-2); }
.pp-sort .nice-select.pp-sort__select { float: none; height: 42px; line-height: 42px; padding: 0 36px 0 8px; border: 0 !important; box-shadow: none !important; border-radius: 12px; background: transparent; font: 500 13.5px/42px var(--font-heading); color: var(--pp-ink); }
.pp-sort .nice-select.pp-sort__select:after { right: 16px; width: 6px; height: 6px; border-color: var(--pp-ink-2); border-width: 0 1.5px 1.5px 0; }
.pp-sort .nice-select.pp-sort__select .list { left: auto; right: -4px; min-width: 190px; margin-top: 8px; padding: 6px; border: 0; border-radius: 14px; box-shadow: var(--pp-shadow); }
.pp-sort .nice-select.pp-sort__select .option { min-height: 0; padding: 9px 12px; border: 0 !important; border-radius: 9px; font: 300 13.5px/1.3 var(--font-heading); color: var(--pp-ink); }
.pp-sort .nice-select.pp-sort__select .option:hover, .pp-sort .nice-select.pp-sort__select .option.focus { background: var(--pp-bg-2); }
.pp-sort .nice-select.pp-sort__select .option.selected { font-weight: 500; color: var(--pp-teal-600); }

.pp-viewtoggle { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--pp-bg-2); }
.pp-viewtoggle button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; cursor: pointer; color: rgba(22, 28, 45, .4); background: transparent; transition: background .2s, color .2s; }
.pp-viewtoggle button .material-icons-outlined { font-size: 19px; }
.pp-viewtoggle button:hover { color: var(--pp-ink); }
.pp-viewtoggle button.is-active { background: #fff; color: var(--pp-teal-800); box-shadow: 0 1px 3px rgba(22, 28, 45, .12); }

/* ------------------------------------------------------------------
   Body layout
   ------------------------------------------------------------------ */
.pp-lbody { display: grid; grid-template-columns: 0 minmax(0, 1fr); gap: 0; padding: 28px 0 40px; transition: grid-template-columns .35s var(--pp-ease), gap .35s var(--pp-ease); }
.pp-lbody.is-filters-open { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; }

/* filters */
.pp-filters {
  position: sticky; top: calc(var(--pp-sticky-top, 124px) + 68px + 20px);
  align-self: start; display: flex; flex-direction: column;
  max-height: calc(100vh - var(--pp-sticky-top, 124px) - 68px - 40px);
  min-width: 0; overflow: hidden;
  border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 59, 62, .07);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s, top .35s var(--pp-ease);
}
.pp-lbody.is-filters-open .pp-filters { opacity: 1; visibility: visible; transition-delay: .08s, 0s, 0s; }
.pp-filters__head { display: none; }
.pp-filters__scroll { flex: 1; overflow-y: auto; padding: 8px 18px; scrollbar-width: thin; scrollbar-color: var(--pp-line) transparent; }
.pp-filters__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--pp-line-2); background: #fff; }
.pp-btn2 { height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
.pp-btn2--ghost { background: var(--pp-bg-2); color: var(--pp-ink); }
.pp-btn2--ghost:hover { background: var(--pp-line); }
.pp-btn2--primary { background: var(--pp-cyan); color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 188, 212, .9); }
.pp-btn2--primary:hover { background: var(--pp-cyan-600); }

.pp-applied { padding: 14px 0 16px; border-bottom: 1px solid var(--pp-line-2); }
.pp-applied__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; color: var(--pp-ink); }
.pp-applied__clear { border: 0; background: none; cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--pp-teal-600); }
.pp-applied__clear:hover { color: #ff5b5b; }
.pp-applied__list { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-applied__chip {
  display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 500; color: #fff; background: var(--pp-teal-800);
  transition: background .2s, opacity .2s, transform .2s;
}
.pp-applied__chip .material-icons-outlined { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; background: rgba(255, 255, 255, .14); }
.pp-applied__chip:hover { background: #ff5b5b; }
.pp-applied.is-empty .pp-applied__list::after { content: "No filters applied"; font-size: 12.5px; font-weight: 300; color: var(--pp-faint); }

.pp-facet { border-bottom: 1px solid var(--pp-line-2); }
.pp-facet:last-child { border-bottom: 0; }
.pp-facet__head { display: flex; align-items: center; gap: 12px; width: 100%; height: 54px; border: 0; background: none; cursor: pointer; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--pp-ink); }
.pp-facet__head > .material-icons-outlined { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; color: var(--pp-teal-600); background: var(--pp-mint); transition: background .2s, color .2s; }
.pp-facet__head .pp-chev { margin-left: auto; width: 11px; height: 11px; color: var(--pp-faint); }
.pp-facet__head:hover > .material-icons-outlined { background: var(--pp-teal-800); color: var(--pp-cream); }
.pp-facet__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--pp-ease); }
.pp-facet__body > div { overflow: hidden; }
.pp-facet.is-open .pp-facet__body { grid-template-rows: 1fr; }
.pp-facet__inner { padding: 2px 0 18px; }

/* license options */
.pp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-opt input, .pp-tchip input, .pp-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.pp-opt { position: relative; margin: 0; cursor: pointer; }
.pp-opt__box { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: var(--pp-ink); background: var(--pp-bg-2); box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s, color .2s; }
.pp-opt__box .material-icons-outlined { font-size: 18px; color: var(--pp-ink-2); }
.pp-opt--premium .pp-opt__box .material-icons-outlined { color: #c99400; }
.pp-opt:hover .pp-opt__box { background: var(--pp-line-2); }
.pp-opt input:checked + .pp-opt__box { background: var(--pp-mint); color: var(--pp-teal-800); box-shadow: inset 0 0 0 1.5px var(--pp-teal-400); }
.pp-opt input:focus-visible + .pp-opt__box { outline: 2px solid var(--pp-cyan); outline-offset: 2px; }

/* swatches */
.pp-swatches { display: flex; flex-wrap: wrap; gap: 10px; padding: 5px; }
.pp-swatch { position: relative; margin: 0; cursor: pointer; }
.pp-swatch span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .2s, box-shadow .2s; }
.pp-swatch--none span { background: conic-gradient(#FB5252, #FCA120, #FCDB7E, #4AD295, #92CDFA, #FFC0CB, #FB5252); }
.pp-swatch:hover span { transform: scale(1.1); }
.pp-swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pp-teal-800); }
.pp-swatch input:checked + span::after { content: "check"; display: grid; place-items: center; width: 100%; height: 100%; font: 17px/1 "Material Icons Outlined"; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.pp-swatch input:focus-visible + span { outline: 2px solid var(--pp-cyan); outline-offset: 4px; }

/* chips */
.pp-chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tchip { position: relative; margin: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 400; color: var(--pp-ink); background: var(--pp-bg-2); box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s, color .2s; }
.pp-tchip .material-icons-outlined { font-size: 16px; color: var(--pp-ink-2); }
.pp-tchip:hover { background: var(--pp-line-2); }
.pp-tchip:has(input:checked) { background: var(--pp-mint); color: var(--pp-teal-800); font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--pp-teal-400); }
.pp-tchip:has(input:checked) .material-icons-outlined { color: var(--pp-teal-600); }
.pp-tchip:has(input:focus-visible) { outline: 2px solid var(--pp-cyan); outline-offset: 2px; }

/* categories list */
.pp-catlist { display: grid; gap: 1px; }
.pp-catlist li:nth-child(n+9) { display: none; }
.pp-catlist.is-expanded li { display: block; }
.pp-catlist a { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 10px; margin: 0 -10px; border-radius: 9px; font-size: 13.5px; font-weight: 300; color: var(--pp-ink); transition: background .2s, color .2s, padding .2s; }
.pp-catlist a:hover { background: var(--pp-bg-2); padding-left: 14px; }
.pp-catlist a.is-active { font-weight: 500; color: var(--pp-teal-800); background: var(--pp-mint); }
.pp-catlist a.is-active::after { content: "check"; font: 16px/1 "Material Icons Outlined"; color: var(--pp-teal-600); }
.pp-morebtn { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--pp-teal-600); }
.pp-morebtn .material-icons-outlined { font-size: 18px; transition: transform .25s; }
.pp-morebtn[aria-expanded="true"] .material-icons-outlined { transform: rotate(180deg); }

/* price range (noUiSlider) */
.pp-range { padding: 40px 0 6px; }
.pp-range .noUi-target { height: 6px; border: 0; border-radius: 999px; background: var(--pp-line-2); box-shadow: none; }
.pp-range .noUi-connects { border-radius: 999px; }
.pp-range .noUi-connect { background: linear-gradient(90deg, var(--pp-teal-400), var(--pp-teal-800)); }
.pp-range .noUi-horizontal .noUi-handle, .pp-range .noUi-handle {
  top: -8px; right: -11px; width: 22px; height: 22px; border: 0; border-radius: 50%; cursor: grab;
  background: #fff; box-shadow: 0 0 0 2px var(--pp-teal-800), 0 6px 12px -4px rgba(13, 48, 51, .45);
}
.pp-range .noUi-handle::before, .pp-range .noUi-handle::after { display: none; }
.pp-range .noUi-handle:active { cursor: grabbing; }
.pp-range .noUi-tooltip { bottom: 30px; min-width: 0; padding: 5px 9px; border: 0; border-radius: 8px; font: 500 12px/1 var(--font-heading); color: #fff; background: var(--pp-teal-800); visibility: visible; opacity: 1; }
.pp-range .noUi-tooltip:before { border-top-color: var(--pp-teal-800); }
.pp-range .noUi-target { margin: 0 11px; }

/* ------------------------------------------------------------------
   Results
   ------------------------------------------------------------------ */
.pp-results { min-width: 0; }
.pp-results__bar { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pp-results__count { flex: none; margin: 0; font-size: 13.5px; font-weight: 300; color: var(--pp-ink-2); }
.pp-results__count b { font-weight: 600; color: var(--pp-ink); }

.pp-stags { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.pp-stags__track { display: flex; gap: 6px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.pp-stags__track::-webkit-scrollbar { display: none; }
.pp-stags.at-start .pp-stags__track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.pp-stags.at-end .pp-stags__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.pp-stag { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; font-size: 13px; font-weight: 300; color: var(--pp-ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 59, 62, .1); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.pp-stag .material-icons-outlined { font-size: 15px; color: var(--pp-teal-400); }
.pp-stag:hover { background: var(--pp-teal-800); color: #fff; box-shadow: none; }
.pp-stag:hover .material-icons-outlined { color: var(--pp-cream); }
.pp-stags__nav { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: var(--pp-ink); background: var(--pp-bg-2); transition: background .2s, opacity .2s; }
.pp-stags__nav:hover { background: var(--pp-line); }
.pp-stags__nav .material-icons-outlined { font-size: 20px; }
.pp-stags__nav--prev { margin-right: 6px; }
.pp-stags__nav--next { margin-left: 6px; }
.pp-stags.at-start .pp-stags__nav--prev, .pp-stags.at-end .pp-stags__nav--next { opacity: .35; pointer-events: none; }

/* list item */
.pp-litems { display: grid; gap: 18px; }
.pp-litem {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) 236px; gap: 26px; align-items: stretch;
  padding: 12px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 59, 62, .07);
  transition: transform .4s var(--pp-ease), box-shadow .4s var(--pp-ease);
  animation: ppItemIn .45s var(--pp-ease) both;
}
.pp-litem:nth-child(2) { animation-delay: .05s; }
.pp-litem:nth-child(3) { animation-delay: .1s; }
@keyframes ppItemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pp-litem:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(17, 59, 62, .06), 0 30px 50px -32px rgba(13, 48, 51, .45); }
.pp-litem__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

.pp-litem__media { position: relative; aspect-ratio: 590 / 300; align-self: center; width: 100%; border-radius: 16px; overflow: hidden; background: var(--pp-bg-2); }
.pp-litem__media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; transition: transform .7s var(--pp-ease); }
.pp-litem:hover .pp-litem__media img { transform: scale(1.045); }
.pp-litem__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 59, 62, .06); pointer-events: none; }
.pp-litem__badge { position: absolute; z-index: 2; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: #fff; background: rgba(13, 48, 51, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pp-litem__badge .material-icons-outlined { font-size: 14px; color: #ffb37a; }
.pp-litem__actions { position: absolute; z-index: 3; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--pp-ease); }
.pp-litem:hover .pp-litem__actions, .pp-litem:focus-within .pp-litem__actions, .pp-litem__actions:has(.active) { opacity: 1; transform: none; }
.pp-litem__act { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 11px; cursor: pointer; color: var(--pp-ink); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 16px -8px rgba(10, 38, 40, .45); transition: transform .2s; }
.pp-litem__act:hover { transform: scale(1.08); }
.pp-litem__act .material-icons-outlined { font-size: 19px; }
.pp-litem__act.active { color: #ff5b5b; }
.pp-litem .reactive__btn__icon i:nth-child(2) { display: none; }
.pp-litem .reactive__btn__icon.active i:nth-child(1) { display: none; }
.pp-litem .reactive__btn__icon.active i:nth-child(2) { display: inline-block; animation: ppPop2 .35s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes ppPop2 { from { transform: scale(.4); } to { transform: scale(1); } }

.pp-litem__info { min-width: 0; align-self: center; padding: 8px 0; }
.pp-litem__title { position: relative; z-index: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--pp-ink); transition: color .2s; }
.pp-litem__title:hover { color: var(--pp-teal-600); }
.pp-litem__meta { position: relative; z-index: 2; margin: 6px 0 0; font-size: 13px; font-weight: 300; color: var(--pp-ink-2); }
.pp-litem__meta a { font-weight: 500; color: var(--pp-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s, color .2s; }
.pp-litem__meta a:hover { color: var(--pp-teal-600); background-size: 100% 1px; }
.pp-litem__features { display: grid; gap: 7px; margin-top: 16px !important; }
.pp-litem__features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; font-weight: 300; line-height: 1.45; color: var(--pp-ink-2); }
.pp-litem__features .material-icons-outlined { flex: none; width: 18px; height: 18px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--pp-teal-800); background: #dcf7e8; }

.pp-litem__side { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px; border-radius: 18px; background: var(--pp-bg-2); }
.pp-litem__pricebox { display: grid; gap: 6px; }
.pp-litem__price { font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--pp-ink); }
.pp-litem__rating { display: flex; align-items: center; gap: 6px; }
.pp-litem__stars { display: inline-flex; color: #ffb703; }
.pp-litem__stars .material-icons-outlined { font-size: 16px; }
.pp-litem__reviews { font-size: 12.5px; font-weight: 500; color: var(--pp-ink); }
.pp-litem__sales { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 300; color: var(--pp-ink-2); }
.pp-litem__sales .material-icons-outlined { font-size: 16px; color: var(--pp-teal-400); }
.pp-litem__btns { position: relative; z-index: 2; display: flex; gap: 6px; }
.pp-litem__cart { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 13px; cursor: pointer; color: var(--pp-ink); background: #fff; box-shadow: 0 0 0 1px rgba(17, 59, 62, .08); transition: background .2s, color .2s; }
.pp-litem__cart .material-icons-outlined { font-size: 20px; }
.pp-litem__cart:hover { background: var(--pp-mint); color: var(--pp-teal-800); }
.pp-litem__cart.active { background: #dcf7e8; color: #1f7a4d; }
.pp-litem__live { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 13px; font-size: 13.5px; font-weight: 500; color: #fff; background: var(--pp-teal-800); white-space: nowrap; transition: background .2s, box-shadow .2s; }
.pp-litem__live .material-icons-outlined { font-size: 17px; color: var(--pp-cream); }
.pp-litem__live:hover { color: #fff; background: var(--pp-cyan); box-shadow: 0 10px 20px -10px rgba(0, 188, 212, .9); }
.pp-litem__live:hover .material-icons-outlined { color: #fff; }

/* grid view */
.pp-litems.is-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pp-litems.is-grid .pp-litem { grid-template-columns: 1fr; gap: 0; padding: 10px; }
.pp-litems.is-grid .pp-litem__media { align-self: auto; }
.pp-litems.is-grid .pp-litem__info { padding: 16px 8px 4px; }
.pp-litems.is-grid .pp-litem__title { font-size: 15.5px; }
.pp-litems.is-grid .pp-litem__features { display: none; }
.pp-litems.is-grid .pp-litem__side { flex-direction: row; align-items: center; margin-top: 14px; padding: 12px; border-radius: 16px; }
.pp-litems.is-grid .pp-litem__pricebox { gap: 4px; }
.pp-litems.is-grid .pp-litem__price { font-size: 22px; }
.pp-litems.is-grid .pp-litem__sales { display: none; }
.pp-litems.is-grid .pp-litem__btns { flex: none; }
.pp-litems.is-grid .pp-litem__live { flex: none; padding: 0 12px; }
.pp-litems.is-grid .pp-litem__live .material-icons-outlined { display: none; }

/* pagination */
.pp-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 44px; }
.pp-pager__nav { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 18px; border-radius: 14px; font-size: 14px; font-weight: 500; color: var(--pp-ink); background: #fff; box-shadow: 0 0 0 1px rgba(17, 59, 62, .1); transition: background .2s, color .2s, box-shadow .2s; }
.pp-pager__nav .material-icons-outlined { font-size: 18px; transition: transform .25s var(--pp-ease); }
.pp-pager__nav:hover { color: #fff; background: var(--pp-teal-800); box-shadow: none; }
.pp-pager__nav:first-child:hover .material-icons-outlined { transform: translateX(-3px); }
.pp-pager__nav:last-child:hover .material-icons-outlined { transform: translateX(3px); }
.pp-pager__pages { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 16px; background: var(--pp-bg-2); }
.pp-pager__pages a, .pp-pager__gap { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--pp-ink-2); transition: background .2s, color .2s; }
.pp-pager__pages a:hover { background: #fff; color: var(--pp-ink); }
.pp-pager__pages a.is-active { background: var(--pp-teal-800); color: #fff; box-shadow: 0 8px 16px -10px rgba(13, 48, 51, .9); }
.pp-pager__gap .material-icons-outlined { font-size: 18px; color: var(--pp-faint); }

.pp-lbackdrop { display: none; }

/* ------------------------------------------------------------------
   Keep exploring
   ------------------------------------------------------------------ */
.pp-explore { padding: 30px 0 20px; }
.pp-explore__panel { padding: 40px; border-radius: 28px; background: var(--pp-bg-2); }
.pp-explore__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.pp-explore__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--pp-cream); background: var(--pp-teal-800); }
.pp-explore__icon .material-icons-outlined { font-size: 23px; }
.pp-explore__title { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; color: var(--pp-ink); }
.pp-explore__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-explore__tags a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 300; color: var(--pp-ink); background: #fff; box-shadow: 0 0 0 1px rgba(17, 59, 62, .06); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.pp-explore__tags a::before { content: "#"; margin-right: 4px; font-weight: 500; color: var(--pp-teal-400); transition: color .2s; }
.pp-explore__tags a:hover { color: #fff; background: var(--pp-teal-800); transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(13, 48, 51, .7); }
.pp-explore__tags a:hover::before { color: var(--pp-cream); }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1399px) {
  .pp-litem { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) 224px; gap: 22px; }
}
@media (max-width: 1199px) {
  .pp-lbody.is-filters-open { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .pp-litem { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); }
  .pp-litem__side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .pp-litem__pricebox { grid-auto-flow: column; align-items: center; gap: 14px; }
  .pp-sort__label { display: none; }
  .pp-sort { padding-left: 6px; }
}
/* filters become an off-canvas drawer */
@media (max-width: 1099px) {
  .pp-lbody, .pp-lbody.is-filters-open { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pp-filters {
    position: fixed; z-index: 1200; top: 0; bottom: 0; left: 0; width: min(360px, 90vw); max-height: none;
    border-radius: 0 24px 24px 0; box-shadow: 30px 0 60px -20px rgba(10, 38, 40, .35);
    opacity: 1; visibility: hidden; transform: translateX(-102%);
    transition: transform .35s var(--pp-ease), visibility 0s .35s;
  }
  .pp-lbody.is-filters-open .pp-filters { visibility: hidden; }
  .pp-listing.is-drawer-open .pp-filters { visibility: visible; transform: none; transition-delay: 0s; }
  .pp-filters__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 14px 0 20px; border-bottom: 1px solid var(--pp-line-2); }
  .pp-filters__title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--pp-ink); }
  .pp-filters__title .material-icons-outlined { color: var(--pp-teal-600); }
  .pp-filters__close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; cursor: pointer; background: var(--pp-bg-2); color: var(--pp-ink); }
  .pp-filters__scroll { padding: 8px 20px; }
  .pp-filters__foot { padding: 14px 20px; }
  .pp-lbackdrop { display: block; position: fixed; inset: 0; z-index: 1150; background: rgba(10, 38, 40, .35); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .pp-listing.is-drawer-open .pp-lbackdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
  .pp-filterbtn[aria-expanded="true"] { background: var(--pp-bg-2); color: var(--pp-ink); }
  .pp-filterbtn[aria-expanded="true"] .material-icons-outlined { color: inherit; }
}
@media (max-width: 991px) {
  .pp-lhero__panel { grid-template-columns: 1fr; padding: 36px 32px; }
  .pp-lhero__art { display: none; }
  .pp-results__bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .pp-viewtoggle { display: none; }
}
@media (max-width: 767px) {
  .pp-lhero { padding-top: 12px; }
  .pp-lhero__panel { padding: 28px 22px; border-radius: 22px; min-height: 0; }
  .pp-ltool__row { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .pp-ltabs { order: 3; flex-basis: 100%; padding-left: 0; border-left: 0; }
  .pp-ltool__end { margin-left: auto; }
  .pp-litems .pp-litem, .pp-litems.is-grid .pp-litem { grid-template-columns: 1fr; gap: 0; padding: 10px; }
  .pp-litem__info { padding: 16px 6px 6px; }
  .pp-litem__title { font-size: 16px; }
  .pp-litem__features { display: none; }
  .pp-litem__side { margin-top: 12px; padding: 12px; }
  .pp-litem__pricebox { grid-auto-flow: row; gap: 4px; }
  .pp-litem__price { font-size: 24px; }
  .pp-litem__sales { display: none; }
  .pp-litem__live .material-icons-outlined { display: none; }
  .pp-litem__actions { opacity: 1; transform: none; }
  .pp-stags__nav { display: none; }
  .pp-pager { gap: 6px; }
  .pp-pager__nav span { display: none; }
  .pp-pager__nav { padding: 0 13px; }
  .pp-pager__pages a, .pp-pager__gap { min-width: 36px; height: 38px; }
  .pp-explore__panel { padding: 28px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-litem, .pp-lhero__card, .pp-litem__media img { transition: none; animation: none; }
}
