/* ==========================================================================
   Products page (products.php) — hero + search, category pills, deals / bundle
   banners, product shelves + grid, collections and the side cards.
   Markup: products.php, includes/pages/products/*.php   Behaviour: js/pages/products.js
   Page-scoped design values that are not in tokens.css live in the block below.
   ========================================================================== */
.pb-prod,
.pb-prod-aside,
.pb-rail--left {
  --pbp-gold: #c9900e;          /* primary shop button */
  --pbp-gold-hover: #b07f06;
  --pbp-sale: #e5222a;
  --pbp-was: #9a9a9f;
  --pbp-media: #faf8f4;         /* product photo well */
  --pbp-line: #f1eee7;          /* card hairline */
  --pbp-card-shadow: 0 2px 10px rgba(60, 40, 0, .05);
  --pbp-card-shadow-hover: 0 10px 24px rgba(60, 40, 0, .1);
}

/* category colours (icon tint) — default covers unknown Woo categories */
.pb-pcat, .pb-ppill, .pb-ctile { --cc: #a8641d; }
.pb-pcat--all { --cc: var(--pb-green); }
.pb-pcat--dogs, .pb-pcat--grooming { --cc: #e8892b; }
.pb-pcat--cats { --cc: #e5622a; }
.pb-pcat--food, .pb-pcat--health { --cc: #e5333a; }
.pb-pcat--toys { --cc: #c26a12; }
.pb-pcat--other { --cc: var(--pb-text-faint); }

.pb-ico--bolt { color: #fb6a10; }
.pb-ico--amber { color: var(--pb-amber); }
.pb-ico--green { color: var(--pb-green); }

/* ── Main column ─────────────────────────────────────────────────────────── */
.pb-prod { gap: 20px; container-type: inline-size; container-name: prodmain; }
.pb-prod > [hidden] { display: none; }
.pb-prod-hero { order: 1; }
.pb-prod-pillswrap { order: 2; }
.pb-prod-empty { order: 3; }
.pb-prod-deals { order: 4; }
#pb-shelf-flash { order: 5; }
.pb-prod-collections { order: 6; }
.pb-prod-bundle { order: 7; }
.pb-prod-mobile { order: 9; }
.pb-prod-all { order: 90; }
.pb-prod-below { order: 100; }
/* while a category / search / "view all" filter is active the results come first */
.pb-prod.is-filtering .pb-prod-all { order: 3; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.pb-prod-hero {
  position: relative; overflow: hidden; border-radius: var(--pb-r-xl); min-height: 520px;
  container-type: inline-size;
  background: linear-gradient(120deg, #fff6e2 0%, #ffefcc 55%, #fde3a6 100%);
}
.pb-prod-hero__img {
  position: absolute; right: 0; top: 150px; width: 100%; height: 300px;
  object-fit: cover; object-position: 35% center; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.pb-prod-hero__body { position: relative; padding: 24px 18px 18px; }
.pb-prod-hero__eyebrow { display: none; }
.pb-prod-hero h1 { margin-top: 8px; font-weight: 900; font-size: 36px; line-height: 1.02; letter-spacing: -.02em; color: #141414; }
.pb-prod-hero h1 span { color: var(--pb-orange); }
.pb-prod-hero p { margin-top: 12px; max-width: 92%; font-size: 15px; line-height: 1.45; color: var(--pb-text-2); text-wrap: pretty; }

.pb-prod-search {
  display: flex; align-items: center; gap: 10px; height: 52px; margin-top: 320px; padding: 0 6px 0 18px;
  border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(120, 80, 0, .12);
}
.pb-prod-search > i { font-size: 16px; color: var(--pb-text-2); }
.pb-prod-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--pb-text); }
.pb-prod-search input::-webkit-search-cancel-button { display: none; }
.pb-prod-search:focus-within { box-shadow: 0 8px 24px rgba(120, 80, 0, .12), 0 0 0 2px var(--pbp-gold); }
.pb-prod-search__clear { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #ecebe7; }
.pb-prod-search__clear[hidden] { display: none; }
.pb-prod-search__clear i { font-size: 12px; }
.pb-prod-search__go {
  display: none; flex: none; height: 40px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--pbp-gold); color: #fff; font-family: var(--pb-font-head); font-weight: 800; font-size: 15.5px;
}
.pb-prod-search__go:hover { background: var(--pbp-gold-hover); }

@media (min-width: 900px) {
  .pb-prod-hero { min-height: 240px; }
  .pb-prod-hero__img {
    top: 0; width: 48%; height: 100%; object-position: left center;
    /* fade both edges: the artwork carries a tagline that gets cut off on narrower columns */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 80%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 80%, transparent 100%);
  }
  .pb-prod-hero__body { padding: 24px 26px 22px; }
  .pb-prod-hero__eyebrow {
    display: flex; align-items: center; gap: 8px; font-family: var(--pb-font-head); font-weight: 800; font-size: 13px;
    letter-spacing: .06em; text-transform: uppercase; color: #a8641d;
  }
  .pb-prod-hero__eyebrow i { font-size: 12px; color: var(--pb-orange-2); }
  .pb-prod-hero h1 { max-width: 56%; font-size: 32px; }
  .pb-prod-hero p { max-width: 46%; font-size: 16px; }
  .pb-prod-search { max-width: 530px; height: 50px; margin-top: 16px; }
  .pb-prod-search__go { display: block; }
}
@container (min-width: 760px) { .pb-prod-hero h1 { font-size: 38px; } }
@container (min-width: 900px) {
  .pb-prod-hero__img { width: 470px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
  .pb-prod-hero h1 { max-width: 60%; font-size: 46px; }
  .pb-prod-hero p { max-width: min(400px, calc(100% - 430px)); }
}

/* ── Category pills ──────────────────────────────────────────────────────── */
.pb-prod-pillswrap { position: relative; }
.pb-prod-pills { display: flex; gap: 12px; overflow-x: auto; margin: 0 -12px; padding: 2px 12px 4px; }
.pb-ppill {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent;
  font-family: var(--pb-font-head); font-weight: 700; font-size: 13px; color: #2b2b30; white-space: nowrap;
}
.pb-ppill__ico {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--pbp-line); box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.pb-ppill__ico i { font-size: 21px; color: var(--cc); }
.pb-ppill.is-active { color: #6d5000; }
.pb-ppill.is-active .pb-ppill__ico { background: var(--pbp-gold); border-color: transparent; box-shadow: 0 6px 14px rgba(144, 109, 2, .3); }
.pb-ppill.is-active .pb-ppill__ico i { color: #fff; }
.pb-ppill em { font-style: normal; font-size: .85em; color: var(--pb-text-muted); }
.pb-ppill-panel {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: flex; flex-wrap: wrap; gap: 6px;
  width: min(440px, 100%); max-height: 300px; overflow-y: auto; padding: 12px;
  background: #fff; border: 1px solid var(--pb-border); border-radius: var(--pb-r-lg); box-shadow: var(--pb-shadow-pop);
}
.pb-ppill-panel[hidden] { display: none; }
.pb-ppill-panel .pb-pcat { width: auto; height: 34px; padding: 0 12px; gap: 8px; border: 1px solid var(--pb-border); border-radius: 17px; font-size: 13.5px; }
.pb-ppill-panel .pb-pcat i { width: auto; font-size: 13px; }

@media (min-width: 900px) {
  .pb-prod-pills { gap: 10px; margin: 0; padding: 2px 0 4px; }
  .pb-ppill {
    flex-direction: row; gap: 8px; height: 44px; padding: 0 18px 0 12px; border: 1px solid #eeeae2; border-radius: 24px;
    background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); font-size: 14.5px; color: var(--pb-text);
  }
  .pb-ppill__ico { width: 26px; height: 26px; border: 0; background: transparent; box-shadow: none; }
  .pb-ppill__ico i { font-size: 17px; }
  .pb-ppill:hover { border-color: #e3d6b8; }
  .pb-ppill.is-active { background: var(--pb-amber-soft); border-color: var(--pb-amber); color: var(--pb-text); }
  .pb-ppill.is-active .pb-ppill__ico { background: transparent; box-shadow: none; }
  .pb-ppill.is-active .pb-ppill__ico i { color: var(--cc); }
}

/* ── Deals banner ────────────────────────────────────────────────────────── */
.pb-prod-deals {
  position: relative; overflow: hidden; border-radius: var(--pb-r-lg); min-height: 170px; color: #fff;
  background: radial-gradient(circle at 85% 40%, #ff7a2e 0, rgba(255, 122, 46, 0) 45%), linear-gradient(100deg, #c8141c 0%, #e0261f 55%, #f04a1c 100%);
}
.pb-prod-deals__img {
  position: absolute; right: 0; bottom: 0; height: 120px; width: auto; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%);
}
.pb-prod-deals__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 16px; }
.pb-prod-deals__lead { display: flex; align-items: center; gap: 14px; flex: 0 1 auto; min-width: 0; }
.pb-prod-deals__lead > i { flex: none; font-size: 30px; color: #ffd23f; filter: drop-shadow(0 2px 6px rgba(255, 140, 0, .6)); }
.pb-prod-deals h2 { font-weight: 900; font-size: 26px; line-height: 1.05; color: #fff; white-space: nowrap; }
.pb-prod-deals p { display: none; margin-top: 6px; font-size: 16px; color: #fff; }
.pb-prod-deals__side { display: flex; align-items: center; gap: 6px; }
.pb-prod-cd { display: flex; gap: 6px; }
.pb-prod-cd__box { width: 44px; padding: 7px 0 6px; border-radius: 8px; background: #fff; text-align: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
.pb-prod-cd__box b { display: block; font-family: var(--pb-font-head); font-weight: 900; font-size: 19px; line-height: 1; color: #c8141c; }
.pb-prod-cd__box span { display: block; margin-top: 3px; font-size: 10px; color: #c8141c; }
.pb-prod-burst {
  flex: none; width: 74px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #ffd23f; color: var(--pb-text); transform: rotate(-8deg); box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  clip-path: polygon(50% 0, 61% 9%, 75% 4%, 80% 18%, 95% 21%, 92% 36%, 100% 50%, 92% 64%, 95% 79%, 80% 82%, 75% 96%, 61% 91%, 50% 100%, 39% 91%, 25% 96%, 20% 82%, 5% 79%, 8% 64%, 0 50%, 8% 36%, 5% 21%, 20% 18%, 25% 4%, 39% 9%);
}
.pb-prod-burst span { font-family: var(--pb-font-head); font-weight: 800; font-size: 10.5px; line-height: 1.15; text-transform: uppercase; }
.pb-prod-burst b { font-family: var(--pb-font-head); font-weight: 900; font-size: 22px; line-height: 1; }
@media (min-width: 900px) {
  .pb-prod-deals { min-height: 110px; }
  .pb-prod-deals__img { height: 108px; }
  .pb-prod-deals__row { gap: 20px; padding: 18px 160px 18px 22px; }
  .pb-prod-deals__lead > i { font-size: 44px; }
  .pb-prod-deals h2 { font-size: 28px; }
  .pb-prod-deals p { display: block; }
  .pb-prod-deals__side { gap: 8px; }
  .pb-prod-cd { gap: 8px; }
  .pb-prod-cd__box { width: 50px; padding: 8px 0 6px; }
  .pb-prod-cd__box b { font-size: 22px; }
  .pb-prod-cd__box span { font-size: 11.5px; }
  .pb-prod-burst { width: 88px; height: 88px; margin: 0 0 0 6px; }
  .pb-prod-cd + .pb-prod-burst { margin-right: -150px; }
  .pb-prod-burst span { font-size: 12px; }
  .pb-prod-burst b { font-size: 27px; }
}
@container (min-width: 760px) { .pb-prod-deals h2 { font-size: 36px; } }

/* ── Shelf headers ───────────────────────────────────────────────────────── */
.pb-prod-shelf { display: flex; flex-direction: column; gap: 14px; }
.pb-prod-shelf__hd, .pb-msec__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.pb-prod-shelf__hd h2, .pb-msec__hd h2, .pb-prod-all__hd h2, .pb-prod-coll__hd h2 {
  display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; color: var(--pb-text);
}
.pb-prod-shelf__hd h2 i, .pb-msec__hd h2 i, .pb-prod-all__hd h2 i, .pb-prod-coll__hd h2 i { font-size: 18px; }
.pb-prod-all__hd h2 i, .pb-prod-coll__hd h2 i { color: var(--pb-amber); }
.pb-msec__hd h2 i:not(.pb-ico) { color: var(--pb-orange); }
.pb-prod-shelf__all {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; white-space: nowrap;
  font-family: var(--pb-font-head); font-weight: 800; font-size: 14.5px; color: var(--pb-link);
}
.pb-prod-shelf__all:hover { color: var(--pb-link-hover); }
.pb-prod-shelf__all i { font-size: 12px; }
.pb-prod-shelf__none, .pb-prod-noresults {
  padding: 22px; border-radius: 14px; background: #fff; border: 1px dashed #e6e1d5; text-align: center; font-size: 14.5px; color: var(--pb-text-3);
}
.pb-prod-shelf__none[hidden], .pb-prod-noresults[hidden] { display: none; }
@media (min-width: 900px) {
  .pb-prod-shelf__hd h2, .pb-prod-all__hd h2 { font-size: 20px; }
  .pb-prod-shelf__hd h2 i { font-size: 20px; }
  .pb-prod-shelf__all { font-size: 15px; }
}

/* ── Product rows (shelves) ──────────────────────────────────────────────── */
.pb-prod-row {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -12px; padding: 2px 12px 6px; scroll-padding-left: 12px;
}
.pb-prod-row::-webkit-scrollbar { display: none; }
.pb-prod-row > .pb-pcard { flex: none; width: 46%; scroll-snap-align: start; }
@media (min-width: 900px) {
  .pb-prod-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .pb-prod-row > .pb-pcard { width: auto; }
}
@container prodmain (min-width: 700px) { .pb-prod-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container prodmain (min-width: 900px) { .pb-prod-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ── Product card ────────────────────────────────────────────────────────── */
.pb-pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--pbp-line); border-radius: 14px; box-shadow: var(--pbp-card-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pb-pcard[hidden] { display: none; }
.pb-pcard:hover { transform: translateY(-3px); box-shadow: var(--pbp-card-shadow-hover); }
.pb-pcard.is-highlight { animation: pb-prod-pulse 1.8s ease 2; }
@keyframes pb-prod-pulse { 0%, 100% { box-shadow: var(--pbp-card-shadow); } 50% { box-shadow: 0 0 0 3px var(--pb-amber); } }

.pb-pcard__media { position: relative; height: 130px; padding: 8px; background: var(--pbp-media); }
.pb-pcard--grid .pb-pcard__media { height: 140px; }
.pb-pcard__imglink { display: block; width: 100%; height: 100%; }
.pb-pcard__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pb-pcard__media.is-stock img, .pb-prow__media.is-stock img, .pb-special__img.is-stock img { object-fit: cover; border-radius: 8px; opacity: .92; }
.pb-pcard__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.pb-pcard__badge {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; color: #fff;
  font-family: var(--pb-font-head); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .02em;
}
.pb-pcard__badge--off { background: var(--pbp-sale); font-size: 13px; text-transform: none; letter-spacing: 0; }
.pb-pcard__badge--sale { background: var(--pbp-sale); }
.pb-pcard__badge--new { background: var(--pb-link); }
.pb-pcard__feat {
  position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 7px;
  background: var(--pb-amber-soft); color: #a8641d; font-family: var(--pb-font-head); font-weight: 800; font-size: 11.5px; pointer-events: none;
}
.pb-pcard__feat i { font-size: 10px; color: var(--pb-orange); }

.pb-pcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.pb-pcard__name {
  min-height: 38px; font-weight: 800; font-size: 14.5px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pb-pcard__name a { color: var(--pb-text); }
.pb-pcard__name a:hover { color: var(--pb-link); }
.pb-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pb-pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-width: 0; }
.pb-pcard__price b { font-family: var(--pb-font-head); font-weight: 900; font-size: 18px; color: var(--pb-text); }
.pb-pcard__price.is-sale b { color: var(--pbp-sale); }
.pb-pcard__price s { font-size: 12.5px; color: var(--pbp-was); }
.pb-pcard__buy {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 38px;
  border-radius: 10px; background: var(--pbp-gold); color: #fff; font-size: 15px; transition: background .2s;
}
.pb-pcard__buy:hover { background: var(--pbp-gold-hover); color: #fff; }
.pb-pcard__buy i { font-size: 15px; }
@media (min-width: 900px) { .pb-pcard__media { height: 118px; } .pb-pcard--grid .pb-pcard__media { height: 150px; } }

/* ── Collections (admin-curated) ─────────────────────────────────────────── */
.pb-prod-collections { display: flex; flex-direction: column; gap: 20px; }
.pb-prod-coll { display: flex; flex-direction: column; gap: 14px; }
.pb-prod-coll__hd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0 4px; }
.pb-prod-coll__hd span { font-size: 13.5px; color: var(--pb-text-muted); }
.pb-prod-coll__row { display: flex; gap: 12px; overflow-x: auto; margin: 0 -12px; padding: 2px 12px 6px; }
.pb-cmini {
  flex: none; width: 150px; display: flex; flex-direction: column; overflow: hidden; color: var(--pb-text);
  background: #fff; border: 1px solid var(--pbp-line); border-radius: 14px; box-shadow: var(--pbp-card-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pb-cmini:hover { color: var(--pb-text); transform: translateY(-3px); box-shadow: var(--pbp-card-shadow-hover); }
.pb-cmini__img { display: flex; align-items: center; justify-content: center; height: 120px; padding: 8px; background: var(--pbp-media); color: var(--pb-orange-2); font-size: 26px; }
.pb-cmini__img img { width: 100%; height: 100%; object-fit: contain; }
.pb-cmini__name {
  margin: 8px 10px 0; font-family: var(--pb-font-head); font-weight: 800; font-size: 13.5px; line-height: 1.3; min-height: 35px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pb-cmini__price { margin: 4px 10px 12px; font-family: var(--pb-font-head); font-weight: 900; font-size: 15px; }
.pb-cmini__price s { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--pbp-was); }
@media (min-width: 900px) { .pb-prod-coll__row { margin: 0; padding: 2px 4px 6px 0; } }

/* ── Bundle banner ───────────────────────────────────────────────────────── */
.pb-prod-bundle { position: relative; overflow: hidden; min-height: 190px; border-radius: var(--pb-r-lg); background: linear-gradient(100deg, #f4fbe9 0%, #f7fbef 60%, #fdf6dc 100%); }
.pb-prod-bundle__l, .pb-prod-bundle__r { display: none; }
.pb-prod-bundle__m { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 48%; object-fit: cover; object-position: top; }
.pb-prod-bundle__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 18px; }
.pb-prod-bundle__text { min-width: 0; max-width: 56%; }
.pb-prod-bundle h2 { font-weight: 900; font-size: 26px; line-height: 1.05; color: #1f7a3a; }
.pb-prod-bundle p { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--pb-text-2); }
.pb-prod-bundle__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 38px; padding: 0 18px; border-radius: 10px; white-space: nowrap;
  background: var(--pbp-gold); color: #fff; font-family: var(--pb-font-head); font-weight: 800; font-size: 14.5px;
}
.pb-prod-bundle__cta:hover { background: var(--pbp-gold-hover); color: #fff; }
.pb-prod-bundle__cta i { font-size: 13px; }
.pb-prod-save {
  display: none; flex: none; width: 104px; height: 104px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center;
  background: #ffd23f; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transform: rotate(-6deg); text-transform: uppercase; color: var(--pb-text);
}
.pb-prod-save b { font-family: var(--pb-font-head); font-weight: 900; font-size: 15px; line-height: 1.1; }
.pb-prod-save strong { max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pb-font-head); font-weight: 900; font-size: 30px; line-height: 1; }
@media (min-width: 900px) {
  .pb-prod-bundle { min-height: 110px; }
  .pb-prod-bundle__m { display: none; }
  .pb-prod-bundle__l, .pb-prod-bundle__r { display: block; position: absolute; top: 0; height: 100%; }
  .pb-prod-bundle__l { left: 0; width: 34%; object-fit: cover; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 18%); mask-image: linear-gradient(to left, transparent 0, #000 18%); }
  .pb-prod-bundle__r { right: -40px; width: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 15%); mask-image: linear-gradient(to right, transparent 0, #000 15%); }
  .pb-prod-bundle__row { padding: 16px 22px 16px 36%; }
  .pb-prod-bundle__text { max-width: 340px; }
  .pb-prod-bundle h2 { font-size: 30px; }
}
@container prodmain (min-width: 900px) { .pb-prod-bundle__r { right: 130px; } .pb-prod-save { display: flex; } }

/* ── Phone-only extras ───────────────────────────────────────────────────── */
.pb-prod-mobile { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .pb-prod-mobile { display: none; } }
.pb-msec { display: flex; flex-direction: column; gap: 12px; }
.pb-msec[hidden] { display: none; }
.pb-ctiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb-ctile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 12px; border: 1px solid var(--pbp-line);
  border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(60, 40, 0, .04); font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--pb-text);
}
.pb-ctile.is-active { border-color: var(--pb-amber); }
.pb-ctile__img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--pbp-media); }
.pb-ctile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-ctile > span:last-child { width: 100%; text-wrap: balance; }

.pb-prow {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px;
  border-radius: 14px; background: #fff; border: 1px solid var(--pbp-line); box-shadow: var(--pbp-card-shadow);
}
.pb-prow__media { position: relative; flex: none; width: 104px; height: 110px; padding: 6px; border-radius: 12px; background: var(--pbp-media); }
.pb-prow__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pb-prow__tag {
  position: absolute; left: 4px; top: 4px; display: flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; white-space: nowrap;
  background: var(--pbp-sale); color: #fff; font-family: var(--pb-font-head); font-weight: 900; font-size: 11.5px;
}
.pb-prow__tag.is-new { background: var(--pb-purple); }
.pb-prow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-bottom: 2px; }
.pb-prow__name { font-weight: 800; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pb-prow__name a { color: var(--pb-text); }
.pb-prow .pb-pcard__price b { font-size: 17px; }
.pb-prow__buy { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 40px; }

.pb-mpromo {
  position: relative; display: block; overflow: hidden; min-height: 170px; width: 100%; margin: 0; padding: 20px; border: 0; border-radius: var(--pb-r-lg);
  text-align: left; background: linear-gradient(160deg, #fff4dc, #fde3a6); color: var(--pb-text);
}
.pb-mpromo--vet { background: linear-gradient(160deg, #eef8e8, #dff1d6); }
.pb-mpromo__img { position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: right bottom; pointer-events: none; }
.pb-mpromo__t, .pb-mpromo__p, .pb-mpromo__cta { position: relative; display: block; }
.pb-mpromo__t { max-width: 58%; font-family: var(--pb-font-head); font-weight: 900; font-size: 21px; line-height: 1.15; color: #e5622a; }
.pb-mpromo--vet .pb-mpromo__t { color: #1f7a3a; }
.pb-mpromo__p { max-width: 55%; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--pb-text-2); }
.pb-mpromo__cta {
  display: inline-flex; align-items: center; height: 40px; margin-top: 12px; padding: 0 18px; border-radius: 10px; white-space: nowrap;
  background: var(--pbp-gold); color: #fff; font-family: var(--pb-font-head); font-weight: 800; font-size: 14.5px;
}
.pb-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb-recent__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--pbp-line); color: var(--pb-text); }
.pb-recent__item:hover { color: var(--pb-text); }
.pb-recent__item img { width: 100%; height: 84px; object-fit: contain; display: block; }
.pb-recent__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.pb-recent__price { font-family: var(--pb-font-head); font-weight: 900; font-size: 14px; }

/* ── All products ────────────────────────────────────────────────────────── */
.pb-prod-all { display: flex; flex-direction: column; gap: 14px; }
.pb-prod-all__hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 0 4px; }
.pb-prod-all__tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.pb-prod-all__count { font-size: 13.5px; font-weight: 600; color: var(--pb-text-muted); }
.pb-prod-all__count b { color: var(--pb-text); }
.pb-prod-sort select {
  height: 38px; padding: 0 34px 0 14px; border: 1px solid #eeeae2; border-radius: 19px; background-color: #fff;
  font-family: var(--pb-font-head); font-weight: 700; font-size: 14px; color: var(--pb-text); cursor: pointer;
  appearance: none; -webkit-appearance: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b6b72' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.pb-prod-sort select:hover { border-color: #e3d6b8; }
.pb-prod-all__reset { padding: 0; border: 0; background: none; font-family: var(--pb-font-head); font-weight: 800; font-size: 14px; color: var(--pb-link); }
.pb-prod-all__reset[hidden] { display: none; }
.pb-prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container prodmain (min-width: 520px) { .pb-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container prodmain (min-width: 700px) { .pb-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container prodmain (min-width: 900px) { .pb-prod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pb-prod-noresults { padding: 30px 20px; border: 0; box-shadow: var(--pb-shadow-card); border-radius: var(--pb-r-lg); }
.pb-prod-noresults i { font-size: 30px; color: #fbe1a6; }
.pb-prod-noresults p { margin-top: 8px; font-weight: 700; color: var(--pb-text-2); }
.pb-prod-noresults span { display: block; margin-top: 2px; font-size: 13px; color: var(--pb-text-muted); }
.pb-prod-more { display: flex; justify-content: center; }
.pb-prod-more [hidden] { display: none; }
.pb-prod-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 20px; text-align: center; }
.pb-prod-empty > i { font-size: 44px; color: #e3d6b8; }
.pb-prod-empty h2 { font-size: 20px; }
.pb-prod-empty p { color: var(--pb-text-muted); font-size: 14.5px; }
.pb-prod-empty .pb-btn { margin-top: 10px; }

/* ── Left rail: categories inside the Discover card + promo ──────────────── */
.pb-prod-sidecats { margin-top: 14px; padding-top: 4px; border-top: 1px solid #ececec; }
.pb-prod-sidecats__title { padding: 16px 0 8px 16px; }
.pb-pcats { display: flex; flex-direction: column; gap: 2px; position: relative; }
.pb-pcat {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 36px; padding: 0 6px; border: 0; border-radius: 8px; background: transparent;
  font-size: 15px; font-weight: 500; color: var(--pb-text); text-align: left; white-space: nowrap;
}
.pb-pcat i { width: 20px; flex: none; text-align: center; font-size: 15px; color: var(--cc); }
.pb-pcat:hover { background: #faf6ec; }
.pb-pcat.is-active { background: var(--pb-amber-soft); color: #6d5000; font-weight: 700; }
.pb-pcat span { overflow: hidden; text-overflow: ellipsis; }
.pb-pcats--left .pb-pcat { gap: 20px; height: 40px; padding: 0 16px 0 19px; border-radius: 6px; font-size: 16px; }
.pb-pcats--left .pb-pcat i { width: 24px; font-size: 17px; }
.pb-pcats__more summary {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 700; color: var(--pb-text-muted);
}
.pb-pcats--left .pb-pcats__more summary { padding: 8px 19px; }
.pb-pcats__more summary::-webkit-details-marker { display: none; }
.pb-pcats__more summary:hover { background: #faf6ec; color: var(--pb-text); }
.pb-pcats__more[open] summary { color: var(--pb-link); }
.pb-pcats__more-n { padding: 1px 7px; border-radius: 999px; background: var(--pb-surface-2); font-size: 11px; font-weight: 800; }
.pb-pcats__more-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; }

.pb-prod-railpromo {
  position: relative; overflow: hidden; border-radius: var(--pb-r-xl); box-shadow: var(--pb-shadow-card);
  background: linear-gradient(170deg, #fff1cf 0%, #fde3a2 100%);
}
.pb-prod-railpromo__paw { position: absolute; right: 18px; top: 20px; font-size: 30px; color: var(--pb-amber); transform: rotate(14deg); }
.pb-prod-railpromo__text { padding: 22px 20px 0; }
.pb-prod-railpromo h3 { font-weight: 900; font-size: 21px; line-height: 1.2; }
.pb-prod-railpromo p { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: #4a4a50; }
.pb-prod-railpromo img { display: block; width: 100%; height: auto; margin-top: 2px; }

/* ── Right rail / below-content cards ────────────────────────────────────── */
.pb-prod-aside--rail { display: contents; }
.pb-prod-aside--rail > * { flex: none; }
/* the Discover widget's decorative paws were placed for a five-item list */
.pb-rail--left .pb-discover__paw { display: none; }
.pb-prod-aside--below { display: flex; flex-direction: column; gap: 22px; }
.pb-prod-aside__desktop { display: none; }
.pb-prod-below { display: block; }
@media (min-width: 900px) {
  .pb-prod-aside--below { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  .pb-prod-aside__desktop { display: block; }
  .pb-prod-aside__mobile { display: none; }
}
@media (min-width: 1360px) { .pb-prod-below { display: none; } }
.pb-prod-aside > section { align-self: start; width: 100%; min-width: 0; }

.pb-special {
  position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: var(--pb-r-xl); border: 1px solid #fbdccb;
  background: linear-gradient(160deg, #fff4ec 0%, #ffe7da 100%);
}
.pb-special__paw { position: absolute; right: 16px; top: 14px; font-size: 30px; color: #fbd2bd; transform: rotate(16deg); }
.pb-special h2 { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.pb-special__ico { width: 24px; height: 24px; border-radius: 50%; background: #fb6a10; display: flex; align-items: center; justify-content: center; }
.pb-special__ico i { font-size: 12px; color: #fff; }
.pb-special__item { position: relative; display: flex; gap: 12px; margin-top: 14px; }
.pb-special__img { flex: none; width: 86px; height: 92px; padding: 4px; border-radius: 10px; background: #fff; }
.pb-special__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pb-special__info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pb-special__name { font-family: var(--pb-font-head); font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--pb-text); }
.pb-special__name:hover { color: var(--pb-link); }
.pb-special__price { display: flex; align-items: baseline; gap: 8px; }
.pb-special__price b { font-family: var(--pb-font-head); font-weight: 900; font-size: 19px; }
.pb-special__price s { font-size: 13px; color: var(--pbp-was); }
.pb-special__foot { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.pb-special__off { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--pbp-sale); color: #fff; font-family: var(--pb-font-head); font-weight: 900; font-size: 14.5px; }
.pb-special .pb-pcard__buy { width: 48px; }

.pb-why { padding: 18px 16px 10px; border-radius: var(--pb-r-xl); background: #fff; border: 1px solid var(--pbp-line); box-shadow: 0 2px 12px rgba(60, 40, 0, .04); }
.pb-why h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; font-weight: 800; font-size: 18px; }
.pb-why h2 i { font-size: 18px; color: #e5333a; }
.pb-why__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--pbp-line); }
.pb-why__row:last-child { border-bottom: 0; }
.pb-why__row > span:last-child { min-width: 0; }
.pb-why__row b { display: block; font-size: 15px; font-weight: 700; color: var(--pb-text); }
.pb-why__row > span:last-child > span { display: block; margin-top: 1px; font-size: 13px; color: var(--pb-text-muted); }
.pb-why__ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pb-why__ico i { font-size: 17px; }
.pb-why__ico--red { background: #fde3e4; color: #e5333a; }
.pb-why__ico--purple { background: #ece3fb; color: #7a3fe0; }
.pb-why__ico--green { background: var(--pb-green-soft); color: var(--pb-green); }
@media (min-width: 900px) { .pb-why { background: #fffaf0; border-color: #fbeccb; } }

.pb-newcard { position: relative; overflow: hidden; min-height: 140px; padding: 18px 16px; border-radius: var(--pb-r-xl); background: linear-gradient(160deg, #eef0ff 0%, #e2e6fb 100%); }
.pb-newcard img { position: absolute; right: 0; bottom: 0; height: 120px; width: auto; pointer-events: none; }
.pb-newcard__tag { position: absolute; right: 16px; top: 14px; display: flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--pb-purple); color: #fff; font-family: var(--pb-font-head); font-weight: 900; font-size: 11px; letter-spacing: .04em; }
.pb-newcard h2 { position: relative; font-weight: 900; font-size: 19px; }
.pb-newcard p { position: relative; max-width: 62%; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--pb-text-2); }
.pb-newcard__btn { position: relative; margin-top: 12px; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: #2b2d42; color: #fff; font-family: var(--pb-font-head); font-weight: 800; font-size: 13.5px; }
.pb-newcard__btn:hover { background: #1d1f33; }

.pb-sidecat { padding: 18px 16px 12px; border-radius: var(--pb-r-xl); background: #fff; box-shadow: var(--pb-shadow-card); }
.pb-sidecat h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; font-weight: 800; font-size: 18px; }
.pb-sidecat h2 i { font-size: 16px; }

.pb-joincard { position: relative; overflow: hidden; padding: 20px 18px 18px; border-radius: var(--pb-r-xl); background: linear-gradient(160deg, #fff6e2 0%, #fdeac0 100%); }
.pb-joincard img { position: absolute; right: 6px; top: 6px; width: 84px; height: auto; pointer-events: none; }
.pb-joincard__ico { position: relative; font-size: 22px; color: var(--pb-orange); }
.pb-joincard h2 { position: relative; max-width: 70%; margin-top: 8px; font-weight: 900; font-size: 19px; }
.pb-joincard p { position: relative; max-width: 68%; margin-top: 4px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.4; color: var(--pb-text-2); }
.pb-joincard .pb-btn { position: relative; }

/* [hidden] must win over the display values above */
.pb-prod-grid[hidden], .pb-prod-row[hidden] { display: none; }
.pb-prod-all { scroll-margin-top: calc(var(--pb-header-h) + 16px); }
