.category-page{width:min(1180px,90%);margin:0 auto 4rem;}
.cat-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin:20px 0;color:var(--muted);font-size:.86rem;}
.cat-crumb a,.cat-listhead>a,.cat-related a{font-weight:680;text-underline-offset:.24em;}
.cat-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.72fr);align-items:end;gap:clamp(25px,6vw,90px);padding:clamp(26px,3.5vw,54px) 0 clamp(30px,3.8vw,58px);}
.cat-intro h1{margin:0;max-width:18ch;font:500 clamp(2.9rem,5.6vw,5.45rem)/1.015 var(--display);letter-spacing:-.052em;text-wrap:balance;}
.cat-intro p{margin:1.2rem 0 0;max-width:66ch;font-size:clamp(1rem,1.3vw,1.14rem);}
.cat-tip{background:#e8edde;padding:clamp(20px,2.5vw,35px);border-top:3px solid var(--ink);}
.cat-tip h2{margin:0;font-size:clamp(1.55rem,2.3vw,2.2rem);}
.cat-tip p{margin:.75rem 0 0;font-size:.95rem;}
.cat-list{border-top:1.5px solid var(--ink);padding-top:27px;}
.cat-listhead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.cat-listhead h2,.cat-related h2{font-size:clamp(1.9rem,3vw,2.8rem);margin:0;}
.cat-listhead p,.cat-meta{color:var(--muted);font-size:.9rem;}
.cat-listhead p{margin:.4rem 0 0;}
.cat-meta{max-width:83ch;margin:18px 0;}
#category-offers{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.95rem;line-height:1.55;}
#category-offers th,#category-offers td{text-align:left;vertical-align:top;overflow-wrap:anywhere;}
#category-offers thead th{padding:10px 15px;background:var(--ink);color:white;font-size:.85rem;}
#category-offers thead th:first-child{width:26%;}
#category-offers thead th:nth-child(2){width:23%;}
#category-offers thead th:nth-child(3){width:15%;}
#category-offers thead th:nth-child(4){width:15%;}
#category-offers tbody th,#category-offers tbody td{border-bottom:1px solid var(--line);padding:16px 15px;}
#category-offers small{display:block;font-size:.83rem;font-weight:500;color:var(--muted);margin-top:.2em;}
#category-offers dl{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.23em;margin:0;}
#category-offers dt{font-size:.76rem;color:var(--muted);}
#category-offers dd{margin:0 .38em 0 0;}
#category-offers td[data-label],#category-offers dd{font-variant-numeric:tabular-nums;}
#category-offers td:last-child a{font-weight:700;}
.cat-related{margin:clamp(35px,4vw,70px) 0 0;}
.cat-related div{display:flex;align-items:center;gap:15px 32px;flex-wrap:wrap;margin-top:15px;}
@media(max-width:720px){
.cat-intro{grid-template-columns:1fr;gap:22px;}
.cat-intro h1{font-size:clamp(2.75rem,8vw,3.7rem);}
#category-offers,#category-offers tbody{display:block;}
#category-offers thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
#category-offers tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 14px;border-top:1px solid var(--line);padding:14px 0;}
#category-offers tbody th,#category-offers tbody td{display:block;padding:0;border:0;}
#category-offers tbody th{grid-column:1/-1;font-size:1.12rem;}
#category-offers .cat-score{grid-column:1/-1;}
#category-offers td[data-label]::before{content:attr(data-label) ' ';font-size:.8rem;color:var(--muted);}
#category-offers tbody td:last-child{grid-column:1/-1;}
#category-offers tbody td:last-child a{display:inline-block;padding:.35rem 0;}
}
.cat-intro > div,.cat-tip {min-width:0;}
@media(max-width:390px){.cat-intro h1{font-size:clamp(2.15rem,9.4vw,2.75rem);overflow-wrap:break-word;}}
.cat-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:24px 0 0}
.cat-pagination a,.cat-pagination [aria-current]{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:42px;padding:6px 10px;border:1px solid var(--line);font-size:.9rem;font-weight:650}
.cat-pagination [aria-current]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.cat-photo{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,65px);margin:36px 0 0;padding-block:24px;border-block:1px solid var(--line)}
.cat-photo img{width:100%;height:auto;max-height:290px;object-fit:cover}
.cat-photo figcaption{max-width:36ch;color:var(--ink);font:500 clamp(1.3rem,2.7vw,2.4rem)/1.2 var(--display);letter-spacing:-.025em}
@media(max-width:620px){.cat-photo{grid-template-columns:1fr}.cat-photo img{max-height:230px}}

.numbered-pager{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:.4rem}
.numbered-pager a,.numbered-pager [aria-current]{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;padding:.35em .65em}

.numbered-pager details { max-width: 100%; min-width: 0; }
.numbered-pager details summary { cursor: pointer; min-height: 44px; padding: .65rem .8rem; }
.numbered-pager details[open] { flex-basis: 100%; }
.numbered-pager .page-choices { display: flex; flex-wrap: wrap; gap: .35rem; max-height: 20rem; overflow: auto; padding: .6rem; }
