
/* ===== CATEGORY TEMPLATE page.css (identical on shop-now, product-category and the six collection pages) ===== */

/* layout */
.cat-body{padding:40px 0 48px}
.cat-prose{padding-top:0}
.cat-prose .prose{margin-inline:auto}
.cat-prose .prose>.fox{margin:44px 0 12px}
.cat-prose .prose>.fox+h2{margin-top:0}
.cat-main .grid-products{margin-top:0}
.page-head h1{max-width:20ch}
.page-head .lede a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(158,47,66,.35)}

/* sidebar filter groups: plain accordion rows on mobile (closed), opened by page.js on desktop */
.side{margin-bottom:28px}
.sgroup{border-top:1px solid var(--line)}
.sgroup:last-of-type{border-bottom:1px solid var(--line)}
.sgroup>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;font-family:var(--h);font-size:1.02rem;color:var(--steel)}
.sgroup>summary::-webkit-details-marker{display:none}
.sgroup>summary i{width:22px;height:22px;position:relative;flex:0 0 22px}
.sgroup>summary i::before,.sgroup>summary i::after{content:"";position:absolute;left:50%;top:50%;background:var(--blue);transform:translate(-50%,-50%);transition:transform .3s}
.sgroup>summary i::before{width:14px;height:1.5px}
.sgroup>summary i::after{width:1.5px;height:14px}
.sgroup[open]>summary i::after{transform:translate(-50%,-50%) rotate(90deg)}
.sbody{padding:0 0 16px}
.side .brandlist{grid-template-columns:1fr;column-gap:0}
.side .brandlist a{padding:7px 0;font-size:.9rem;border-top:1px dashed var(--line)}
.side .brandlist a:first-child{border-top:0}
.pricefilter .field{margin-bottom:10px}
.pricefilter .btn{padding:11px 22px;font-size:.9rem;margin-top:4px}
.prange{margin:12px 0 0;font-size:.82rem;color:var(--steel2)}
.prange span{color:var(--gold);font-weight:700}
.toprated{display:grid;gap:10px}
.toprated .tr{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;text-decoration:none;padding:6px 0}
.toprated .tr img{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:var(--gun)}
.toprated .tr b{display:block;font-weight:700;font-size:.85rem;line-height:1.3;color:var(--steel)}
.toprated .tr small{display:block;font-size:.74rem;color:var(--steel2);margin-top:3px}
.toprated .tr small .stars{font-size:.7rem;letter-spacing:.06em}
.toprated .tr em{display:block;font-style:normal;color:var(--gold);font-family:var(--h);font-size:.92rem;margin-top:2px}

/* product / brand cards */
.grid-products .card h3{font-size:.92rem}
.grid-products .card .cat{font-size:.74rem;color:var(--blue);margin-top:10px;letter-spacing:.02em}
.grid-products .card .cat+h3{margin-top:3px}
.grid-products .card .rating-m .stars{font-size:.78rem;letter-spacing:.08em;margin-right:4px}
.grid-products .card .rating-m strong{color:var(--steel);font-weight:400}
.card .ph.contain{background:linear-gradient(160deg,var(--gun2),var(--gun))}
.card .ph.contain img{object-fit:contain;padding:14%}
.card .ph .oos,.card .ph .qv{position:absolute;font-size:.7rem;letter-spacing:.02em;border-radius:999px;padding:4px 10px;backdrop-filter:blur(6px)}
.card .ph .oos{left:10px;top:10px;background:rgba(10,10,11,.7);border:1px solid var(--line);color:var(--steel2)}
.card .ph .qv{left:50%;bottom:12px;transform:translate(-50%,6px);background:rgba(10,10,11,.75);border:1px solid rgba(196,154,88,.6);color:var(--gold);opacity:0;transition:opacity .25s,transform .25s}
.card:hover .ph .qv,.card:focus-visible .ph .qv{opacity:1;transform:translate(-50%,0)}

@media (min-width:860px){
  .cat-body{padding:56px 0 24px}
  .side-layout{grid-template-columns:280px 1fr;gap:56px}
  .side-layout .side{position:static}
  .side-layout .grid-products{grid-template-columns:repeat(2,1fr);gap:22px}
  .sgroup>summary{cursor:default;pointer-events:none}
  .sgroup>summary i{display:none}
  .sgroup:first-of-type{border-top:0}
  .sgroup:first-of-type>summary{padding-top:0}
}

