/* Featured Products: Products page, story page, cards. Tokens from tokens.css. */
/* .pb-prod children are ordered with CSS `order` in products.css; keep hero first, pills second, the rest after. */
.pb-feat { min-width: 0; }
.pb-feat > * { order: 10; }
.pb-feat > .pb-prod-hero { order: 1; }
.pb-feat > .pb-fpills { order: 2; }
.pb-fstory > * { order: 0; }

/* ── Left-rail filter list ── */
.pb-fnav { padding: 16px 14px 12px; margin-top: 16px; }
.pb-fnav__sub { margin-top: 14px; }
.pb-fnav__row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; margin-top: 2px; border-radius: 9px;
  color: var(--pb-text); font-family: var(--pb-font-body); font-size: 14.5px; font-weight: 600;
}
.pb-fnav__row:hover { background: var(--pb-surface-2); color: var(--pb-text); }
.pb-fnav__row.is-active { background: var(--pb-amber-soft); color: #6d5000; font-weight: 800; }
.pb-fnav__row em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pb-text-muted); background: var(--pb-surface-2); border-radius: 999px; padding: 1px 8px; }
.pb-fnav__row.is-active em { background: #fff; }

/* ── Type pills ── */
.pb-fpills { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 2px; }
.pb-fpill {
  flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pb-border, #eeeae2); background: #fff;
  color: var(--pb-text); font-family: var(--pb-font-head); font-size: 14px; font-weight: 700;
}
.pb-fpill:hover { border-color: #ecdcb2; color: var(--pb-text); }
.pb-fpill.is-active { background: var(--pb-primary); border-color: var(--pb-primary); color: #fff; }

/* ── Cards ── */
.pb-fspot { margin-top: 18px; }
.pb-fhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.pb-fhead h2 { margin: 0; font-family: var(--pb-font-head); font-size: 20px; font-weight: 800; }
.pb-fhead span, .pb-fhead a { font-size: 14px; color: var(--pb-text-muted); font-weight: 600; }
.pb-fhead a { color: var(--pb-link); }
.pb-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pb-fgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-fcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #eeeae2; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .03); transition: box-shadow .15s, border-color .15s, transform .15s;
}
.pb-fcard:hover { border-color: #ecdcb2; box-shadow: 0 8px 24px rgba(60, 40, 0, .1); transform: translateY(-2px); }
.pb-fcard__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--pb-amber-soft); overflow: hidden; }
.pb-fcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-fcard__img.is-empty { color: var(--pb-orange-2, #fb8a10); font-size: 40px; }
.pb-fcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pb-fcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-ftag { padding: 3px 10px; border-radius: 999px; background: var(--pb-surface-2); color: var(--pb-text-muted); font-size: 12px; font-weight: 700; }
.pb-ftag--pet { background: var(--pb-amber-soft); color: #6d5000; }
.pb-fcard__title { margin: 0; font-family: var(--pb-font-head); font-size: 18px; font-weight: 800; line-height: 1.25; }
.pb-fcard__title a { color: var(--pb-text); }
.pb-fcard__reason { margin: 0; color: var(--pb-text-muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-fcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.pb-fcard__more { font-size: 14px; font-weight: 800; color: var(--pb-link); }
.pb-fcard__more:hover { color: var(--pb-link-hover, #6d5000); }
.pb-fcard--big { flex-direction: row; }
.pb-fcard--big .pb-fcard__img { flex: 0 0 46%; aspect-ratio: auto; min-height: 300px; }
.pb-fcard--big .pb-fcard__body { justify-content: center; padding: 26px 28px; gap: 12px; }
.pb-fcard--big .pb-fcard__title { font-size: 28px; }
.pb-fcard--big .pb-fcard__reason { font-size: 16px; -webkit-line-clamp: 4; }

/* ── Right rail ── */
.pb-fabout { padding: 18px 18px 16px; }
.pb-fabout h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--pb-font-head); font-size: 17px; font-weight: 800; }
.pb-fabout h2 i { color: var(--pb-amber); }
.pb-fabout p { margin: 0 0 8px; color: var(--pb-text-muted); font-size: 14px; line-height: 1.55; }

/* ── Sidebar widget story cards ── */
.pb-product--story { align-items: flex-start; padding: 8px 12px 8px 8px; }
.pb-product--story .pb-product__img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.pb-product__why { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--pb-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pb-product__go { display: inline-block; margin-top: 5px; font-size: 12.5px; font-weight: 800; color: var(--pb-link); }

/* ── Story page ── */
.pb-fstory { display: flex; flex-direction: column; gap: 16px; }
.pb-fstory__preview { background: var(--pb-amber-soft); border: 1px solid #fbecc9; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: #6d5000; }
.pb-fcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--pb-text-muted); flex-wrap: wrap; }
.pb-fcrumb i { font-size: 10px; }
.pb-fcrumb a { color: var(--pb-link); font-weight: 700; }
.pb-fstory__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 22px; }
.pb-fstory__head { display: flex; flex-direction: column; gap: 10px; justify-content: center; min-width: 0; }
.pb-fstory__head h1 { margin: 0; font-family: var(--pb-font-head); font-size: 32px; font-weight: 800; line-height: 1.15; }
.pb-fstory__sub { margin: 0; font-size: 17px; color: var(--pb-text-muted); }
.pb-fstory__reason { margin: 0; font-size: 16px; line-height: 1.55; }
.pb-fstory__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pb-fstory__note { margin: 0; font-size: 13px; color: var(--pb-text-muted); }
.pb-fbox { padding: 20px 22px; }
.pb-fbox h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-family: var(--pb-font-head); font-size: 19px; font-weight: 800; }
.pb-fbox h2 i { color: var(--pb-amber); font-size: 17px; }
.pb-fbox--take { background: var(--pb-amber-soft); border: 1px solid #fbecc9; border-left: 5px solid var(--pb-amber); }
.pb-fbox--mfr { background: var(--pb-surface-2); border: 1.5px dashed #c9c9d0; }
.pb-fbox--mfr h2 i { color: var(--pb-text-muted); }
.pb-fbox--caution { background: #fff4f4; border: 1px solid #ffd5d5; }
.pb-fbox--caution h2 i { color: var(--pb-red); }
.pb-fbox__src { margin: 10px 0 0; font-size: 13px; color: var(--pb-text-muted); font-style: italic; }
.pb-fprose { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.pb-fcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pb-flist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pb-flist li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.5; }
.pb-flist li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--pb-amber); }
.pb-flist--num { counter-reset: n; }
.pb-flist--num li { counter-increment: n; }
.pb-flist--num li::before { content: counter(n); top: 1px; left: 0; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--pb-primary); }
.pb-ffacts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pb-ffacts dt { font-family: var(--pb-font-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-text-muted); font-weight: 800; }
.pb-ffacts dd { margin: 3px 0 0; font-size: 15.5px; line-height: 1.55; }
.pb-fbuy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; }
.pb-fbuy b { display: block; font-family: var(--pb-font-head); font-size: 17px; }
.pb-fbuy span { font-size: 13.5px; color: var(--pb-text-muted); }

@media (max-width: 900px) {
  .pb-fstory__top { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .pb-fstory__head h1 { font-size: 26px; }
  .pb-fcols { grid-template-columns: 1fr; }
  .pb-fgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pb-fgrid, .pb-fgrid--3 { grid-template-columns: 1fr; gap: 14px; }
  .pb-fcard--big { flex-direction: column; }
  .pb-fcard--big .pb-fcard__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .pb-fcard--big .pb-fcard__body { padding: 16px 18px 18px; }
  .pb-fcard--big .pb-fcard__title { font-size: 22px; }
  .pb-fbox { padding: 16px; }
  .pb-fbuy .pb-btn { width: 100%; justify-content: center; }
}

/* ── Story page: highlights, quote band, three-up row ── */
.pb-fhl { list-style: none; margin: 8px 0 0; padding: 14px 0; border-top: 1px solid var(--pb-border, #eeeae2); border-bottom: 1px solid var(--pb-border, #eeeae2); display: grid; grid-template-columns: repeat(3, 1fr); }
.pb-fhl li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 8px; font-size: 13.5px; line-height: 1.3; color: var(--pb-text); }
.pb-fhl li + li { border-left: 1px solid var(--pb-border, #eeeae2); }
.pb-fhl i { font-size: 22px; color: var(--pb-primary); }
.pb-fbox--take { position: relative; overflow: hidden; padding: 22px 26px; }
.pb-fbox--take h2 i { color: var(--pb-amber); }
.pb-fbox__paw { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(14deg); font-size: 92px; color: var(--pb-amber); opacity: .18; pointer-events: none; }
.pb-fprose--quote { font-size: 18px; font-style: italic; line-height: 1.55; max-width: 62ch; }
.pb-ftrio { display: grid; gap: 16px; align-items: start; }
.pb-ftrio--1 { grid-template-columns: 1fr; } .pb-ftrio--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-ftrio--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-ftrio .pb-fbox { height: 100%; }
.pb-flist--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.pb-product__chev { align-self: center; margin-left: auto; padding-left: 8px; font-size: 13px; color: var(--pb-text-muted); }
.pb-product--story .pb-product__body { flex: 1; min-width: 0; }
@media (max-width: 900px) { .pb-ftrio--3 { grid-template-columns: 1fr; } .pb-ftrio--2 { grid-template-columns: 1fr; } .pb-flist--cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pb-fhl li { font-size: 12.5px; } .pb-fhl i { font-size: 19px; } .pb-fbox__paw { font-size: 64px; right: 10px; } .pb-fprose--quote { font-size: 16.5px; } }

/* ── Tags ── */
.pb-ftags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-ftagchip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--pb-surface-2); color: var(--pb-text); font-size: 13.5px; font-weight: 700; }
.pb-ftagchip:hover { background: var(--pb-amber-soft); color: #6d5000; }
.pb-ftagchip.is-active { background: var(--pb-primary); color: #fff; }
.pb-fnav__tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 6px 4px; }

/* ── Photo grid (Facebook style). The grid area is rounded; the photos themselves are square. ── */
.pb-fgallery__empty { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--pb-amber-soft); color: var(--pb-orange-2, #fb8a10); font-size: 60px; }
/* Images are never rounded themselves; only the area that holds them is. */
.pb-product--story .pb-product__img, .pb-fcard__img img { border-radius: 0; }
/* lightbox */
.pb-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 8, 4, .92); display: flex; align-items: center; justify-content: center; }
.pb-lb img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 0; }
.pb-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.pb-lb button:hover { background: rgba(255, 255, 255, .26); }
.pb-lb__x { top: 16px; right: 16px; } .pb-lb__p { left: 16px; top: 50%; margin-top: -24px; } .pb-lb__nx { right: 16px; top: 50%; margin-top: -24px; }
.pb-lb__n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
