/* Stock filter: compact, neutral, placed after all other filters. */
.category-stock-filter {
  padding-top:15px;
  padding-bottom:16px;
}
.category-stock-filter .filter-section-title {margin-bottom:10px}
.category-stock-toggle {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:44px;
  padding:8px 0;
  background:transparent;
  border:0;
  border-radius:0;
  color:#4b5b75;
  cursor:pointer;
}
.category-stock-toggle:hover {color:#344b77}
.category-stock-toggle-label {
  flex:1 1 auto;
  min-width:0;
  font-size:12px;
  font-weight:550;
  line-height:1.5;
}
.category-stock-toggle input {
  position:absolute;
  right:0;
  top:50%;
  width:36px;
  height:20px;
  margin:0;
  transform:translateY(-50%);
  opacity:0;
  cursor:pointer;
  z-index:1;
}
.category-stock-switch {
  position:relative;
  flex:0 0 36px;
  height:20px;
  border-radius:999px;
  background:#d8dfeb;
  transition:background-color .16s ease;
}
.category-stock-switch::before {
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(27,43,66,.12);
  transition:transform .16s ease;
}
.category-stock-toggle input:checked + .category-stock-switch {background:#4c61d9}
.category-stock-toggle input:checked + .category-stock-switch::before {transform:translateX(16px)}
.category-stock-toggle input:focus-visible + .category-stock-switch {
  outline:2px solid #5367d8;
  outline-offset:3px;
}
.category-pagination{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  flex-wrap:wrap;gap:10px;margin:24px 0 8px;padding:15px 0;
  border-top:1px solid #e8edf5;
}
.category-pagination[hidden]{display:none!important}
.category-pagination-info{font-size:12px;font-weight:600;color:#8190a5;white-space:nowrap}
.category-pagination-pages{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:100%}
.category-page-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0 9px;
  border:1px solid #e0e7f0;border-radius:9px;
  background:#fff;color:#425875;font-family:inherit;font-size:12px;font-weight:700;line-height:1;
  text-decoration:none;transition:background .15s,border-color .15s,color .15s;
}
a.category-page-link:hover{background:#f2f6ff;border-color:#c9d7ef;color:#294f93}
a.category-page-link:focus-visible{outline:2px solid #536fd5;outline-offset:2px}
.category-page-link.is-current{background:#3f56df;border-color:#3f56df;color:#fff;box-shadow:0 2px 6px rgba(63,86,223,.13)}
.category-page-link.is-disabled{color:#b4bfcd;background:#fafbfd;cursor:default}
.category-page-ellipsis{padding:0 3px;color:#93a1b3;font-size:12px}
.category-pagination[aria-busy="true"]{opacity:.7;pointer-events:none}
.category-result-list{transition:opacity .22s ease}
.category-result-list.is-loading{opacity:.68;pointer-events:none}
.category-main .category-toolbar{scroll-margin-top:92px}
@media(max-width:640px){
  .category-pagination{justify-content:center;gap:11px}
  .category-pagination-info{width:100%;text-align:center}
  .category-pagination-pages{justify-content:center;gap:5px}
  .category-page-link{min-width:33px;height:34px;border-radius:8px}
}

.book-compare-offer.is-out-of-stock{opacity:.78}
.book-compare-stock-label{display:block;font-size:10px;line-height:1.3;font-weight:700;color:#a96b5a;text-align:center}
.book-compare-offer.is-out-of-stock .book-compare-price{color:#61738b}
.kf-price-card-refined.kf-book-price{padding:18px 18px 14px;border:1px solid #dce5f2;border-radius:12px;box-shadow:none;background:#fff}
.kf-price-card-refined .kf-price-card-head{padding:0;margin:0}
.kf-price-card-refined .kf-price-kicker{display:block;color:#7b899c;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:0}
.kf-price-card-refined .kf-price-amount-line{display:flex;align-items:baseline;gap:7px;margin:3px 0 15px}
.kf-price-card-refined .kf-price-amount-line strong{color:#142d50;font-size:29px;font-weight:850;line-height:1.15;letter-spacing:-.7px}
.kf-price-card-refined .kf-price-store-line{display:flex;align-items:center;gap:9px;padding:13px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;min-width:0}
.kf-price-card-refined .kf-price-store-logo{width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;background:#f8fafe;border:1px solid #e6ecf4;border-radius:8px;overflow:hidden;color:#8798b1}
.kf-price-card-refined .kf-price-store-logo img{width:100%;height:100%;object-fit:contain}
.kf-price-card-refined .kf-price-store-name{font-size:12px;font-weight:780;line-height:1.3;flex:1;min-width:0;color:#213a5c;overflow-wrap:anywhere}
.kf-price-card-refined .kf-price-availability{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:99px;padding:5px 8px;flex:0 0 auto;font-size:10px;font-weight:780;line-height:1.2}
.kf-price-card-refined .kf-price-availability.is-unavailable{background:#fcf1ed;color:#ac6553}
.kf-price-card-refined .kf-price-availability.is-available{background:#eaf7f0;color:#2c8a63}
.kf-price-card-refined .kf-price-stock-caption{margin:10px 0 0;color:#8390a2;font-size:11px;line-height:1.5}
.kf-price-card-refined .kf-price-meta{border:0;margin:10px 0 0;padding:0;font-size:11px}
.kf-price-card-refined .kf-price-visit{margin-top:13px}
.kf-price-card-refined .kf-price-empty{font-size:12px;line-height:1.5;color:#7c8a9e;margin:7px 0 12px}
.kf-price-card-refined .kf-compare-link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 0;padding:13px 0 0;border-top:1px solid #edf1f6;font-size:12px;font-weight:740;color:#315c96}
.kf-price-card-refined .kf-compare-arrow{flex:0 0 auto}
.book-offer-row.is-out-of-stock{background:#fafbfc}
.book-offer-row.is-out-of-stock .book-offer-price{color:#718197}
.kf-out-of-stock-action{display:inline-flex;align-items:center;justify-content:center;padding:9px 11px;border-radius:8px;background:#f8efec;color:#a05a48;font-size:12px;font-weight:750}
@media(max-width:480px){.kf-price-card-refined.kf-book-price{padding:16px}.kf-price-card-refined .kf-price-amount-line strong{font-size:27px}.kf-price-card-refined .kf-price-store-line{gap:7px}}
@media(prefers-reduced-motion:reduce){.category-more-btn.is-loading i{animation:none}.category-stock-toggle *, .category-more-btn{transition:none!important}}
