.catalog-page { background:#fcfaf7; color:#302820; }
.collection-main { width:min(1720px,calc(100% - 40px)); margin:0 auto; padding-bottom:clamp(50px,6vw,90px); }
.collection-main :is(h1,h2,h3), .home-shop :is(h1,h2,h3), .filter-panel :is(h2,h3) { font-family:var(--sans,system-ui,sans-serif); font-style:normal; }
.collection-crumb { display:flex; align-items:center; gap:10px; padding:18px 0; color:#746252; font-size:.83rem; }
.collection-crumb a:hover, .filter-reset:hover { text-decoration:underline; }
.collection-hero {
  --hero-inset:clamp(28px,3.9vw,66px);
  display:grid;
  grid-template-columns:minmax(0,46fr) minmax(0,54fr);
  grid-template-rows:1fr auto;
  min-height:clamp(248px,18vw,288px);
  overflow:hidden;
  border:1px solid #e6d7c3;
  border-radius:16px;
  background:#f5ebdc;
  color:#38271f;
}
.collection-hero-copy { grid-area:1 / 1; align-self:end; padding:28px 20px 0 var(--hero-inset); }
.collection-main .collection-hero h1 {
  margin:0;
  font-family:var(--sans,system-ui,sans-serif);
  font-size:clamp(2.75rem,4.2vw,4.5rem);
  font-weight:760;
  letter-spacing:-.035em;
  line-height:1.15;
}
.collection-hero-copy .collection-kicker { margin:0 0 8px; color:#825136; }
.collection-hero-copy h1 + p { margin:12px 0 0; color:#645040; font-size:1rem; line-height:1.65; }
.collection-hero-copy h1 + p span { white-space:nowrap; }
.collection-hero-actions { grid-area:2 / 1; display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; padding:20px 20px clamp(30px,3vw,48px) var(--hero-inset); }
.collection-hero-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; font-size:.9375rem; font-weight:650; }
.collection-hero-cta { padding:9px 24px; border-radius:8px; background:#493024; color:#fffaf3; }
.collection-hero-cta:hover { background:#693e28; }
.collection-guide-link { gap:7px; color:#543d2d; text-decoration:underline; text-decoration-color:#a58a72; text-underline-offset:5px; }
.collection-guide-link:hover { color:#883e22; text-decoration-color:currentColor; }
.collection-guide-link .icon { width:18px; height:18px; }
.collection-hero-art {
  grid-area:1 / 2 / span 2;
  position:relative;
  overflow:hidden;
  border-top-left-radius:clamp(74px,8vw,142px);
  background:radial-gradient(ellipse at 35% 10%,#c2926b 0%,#986246 58%,#724630 100%);
}
.collection-hero-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.collection-kicker { margin:0 0 7px; color:#9a5b39; font-size:.81rem; font-weight:750; letter-spacing:.08em; }
.collection-categories { display:flex; gap:8px; overflow-x:auto; padding:16px 2px 24px; scrollbar-width:thin; }
.collection-categories button { display:flex; align-items:center; gap:15px; flex:none; padding:9px 15px; min-height:43px; border:1px solid #e1d6ca; border-radius:99px; background:#fff; color:#4c3d32; font-size:.88rem; font-weight:650; }
.collection-categories small { font-size:.79rem; color:#7e7063; }
.collection-categories button[aria-pressed="true"] { background:#3b291f; color:white; border-color:#3b291f; }
.collection-categories button[aria-pressed="true"] small { color:#ffd29c; }
.collection-layout { scroll-margin-top:76px; display:grid; grid-template-columns:clamp(210px,19.5vw,280px) minmax(0,1fr); align-items:start; gap:clamp(24px,3.2vw,54px); padding-top:26px; border-top:1px solid #e6dccc; }
.collection-aside { padding-right:clamp(18px,1.6vw,28px); border-right:1px solid #e3d8cd; }
@media (min-width:761px) {
  .collection-aside {
    --filter-top:76px;
    --filter-bottom:16px;
    position:sticky;
    top:var(--filter-top);
    max-height:calc(100vh - var(--filter-top) - var(--filter-bottom));
    max-height:calc(100dvh - var(--filter-top) - var(--filter-bottom));
    overflow-y:auto;
    scrollbar-width:thin;
  }
  .comparing-products .collection-aside { --filter-bottom:calc(max(14px, env(safe-area-inset-bottom)) + 84px); }
}
.filter-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:25px; }
.filter-heading h2 { font-size:1.65rem; line-height:1.2; font-weight:720; letter-spacing:-.035em; margin:0; }
.filter-close,.filter-panel > .filter-apply,.filter-open { display:none; }
.filter-group { border:0; padding:0; margin:0; }
.filter-group h3 { margin:0 0 8px; color:#786555; font-weight:600; font-size:.88rem; }
.filter-group button { position:relative; width:100%; display:flex; align-items:center; justify-content:space-between; gap:9px; padding:11px 0; min-height:44px; background:transparent; color:#5d4f43; border:0; border-bottom:1px solid #ebe3d9; text-align:left; font-size:.91rem; }
.filter-group button:last-child { border-bottom:0; }
.filter-group button small { font-size:.79rem; color:#796c61; }
.filter-group button[aria-pressed="true"] { padding-left:13px; font-weight:740; color:#3f2719; }
.filter-group button[aria-pressed="true"]::before { content:""; position:absolute; left:1px; top:50%; transform:translateY(-50%); height:19px; width:3px; background:#a4653e; }
.filter-group button:hover { color:#873e1d; }
.filter-families { margin-top:21px; padding-top:14px; border-top:1px solid #dfd4c9; }
.filter-families summary { min-height:40px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; font-weight:700; font-size:.94rem; }
.filter-families summary::-webkit-details-marker { display:none; }
.filter-families summary::after { content:""; width:8px; height:8px; margin:0 4px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); }
.filter-families[open] summary::after { transform:rotate(225deg); }
.filter-reset { min-height:40px; background:transparent; border:none; padding:5px 0; color:#88492b; margin-top:10px; font-weight:680; font-size:.92rem; }
.collection-results { min-width:0; }
.result-tools { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; }
.result-tools :is(h1,h2) { margin:0; font-size:clamp(2rem,3.2vw,3.1rem); letter-spacing:-.05em; font-weight:740; line-height:1.1; }
#collection-count { font-size:.86rem; color:#725e4f; margin:7px 0 0; overflow-wrap:anywhere; }
.collection-order,.collection-search { display:flex; align-items:center; }
.collection-quickbar { display:none; }
.collection-order { gap:9px; font-size:.83rem; color:#68594c; }
.collection-order select { appearance:none; font-family:inherit; border:1px solid #dbd0c5; padding:8px 36px 8px 13px; min-height:41px; border-radius:8px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23544030' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; color:#3c3028; }
.collection-search { height:44px; margin:16px 0; gap:9px; padding:0 13px; border:1px solid #e0d5ca; background:#fff; border-radius:8px; color:#856e5b; }
.collection-search .icon { width:18px; height:18px; }
.collection-search input { font:inherit; padding:0; min-width:0; width:100%; height:100%; border:0; background:transparent; color:#30251c; }
.collection-search:focus-within { outline:2px solid #a46b48; }
.collection-search input:focus { outline:0; }
.collection-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(9px,1vw,15px); }
.collection-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #e8ddd1; border-radius:12px; background:#fff; color:#30231c; text-decoration:none; }
.collection-card:hover .collection-item-name { text-decoration:underline; text-underline-offset:4px; }
.collection-pack { aspect-ratio:1; background:radial-gradient(ellipse at 74% 24%,#ecd3b2,#d6ac7f); }
.collection-card:nth-child(4n+2) .collection-pack { background:radial-gradient(ellipse at 72% 23%,#eadbcb,#d4bda4); }
.collection-card:nth-child(4n+3) .collection-pack { background:radial-gradient(ellipse at 73% 29%,#ebd6be,#c19d7d); }
.collection-pack img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; mix-blend-mode:multiply; }
.collection-item-info { flex:1; display:flex; flex-direction:column; padding:12px 13px 14px; }
.collection-item-category { font-size:.77rem; color:#895435; font-weight:670; }
.collection-item-name { font-size:clamp(.96rem,1.12vw,1.12rem); letter-spacing:-.025em; font-weight:720; line-height:1.45; overflow-wrap:anywhere; margin:4px 0 13px; }
.collection-item-bottom { display:flex; align-items:center; flex-wrap:wrap; gap:4px 9px; margin-top:auto; }
.collection-price { font-weight:720; font-size:.93rem; }
.collection-status { color:#8a4b29; font-size:.75rem; }
.collection-pages { display:flex; gap:8px; justify-content:center; padding-top:26px; }
.collection-pages a { display:grid; min-width:42px; min-height:42px; place-items:center; border:1px solid #ddd0c3; border-radius:8px; color:#4b3829; background:white; font-weight:650; }
.collection-pages a[aria-current] { background:#3b291f; color:white; border-color:#3b291f; }
.collection-message { padding:50px 12px; text-align:center; border:1px dashed #cdbbac; border-radius:9px; color:#685448; }
.collection-message h2 { font-size:1.4rem; font-weight:700; }
.collection-message p { margin:7px 0 12px; }
.collection-message a { text-decoration:underline; }
.filter-apply { font:inherit; font-weight:700; line-height:1.45; padding:10px 18px; border-radius:99px; border:0; background:#3b291f; color:#fff; }
.filter-dialog { display:none; }
@media(max-width:1150px){ .collection-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(min-width:761px) and (max-width:1000px){
  .collection-hero { grid-template-columns:53fr 47fr; min-height:228px; }
  .collection-main .collection-hero h1 { font-size:clamp(2.25rem,4.5vw,2.75rem); }
}
@media(max-width:950px){ .collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .collection-main { width:calc(100% - 28px); }
  .collection-crumb { padding:12px 0; }
  .collection-hero { --hero-inset:22px; grid-template-columns:55fr 45fr; min-height:225px; }
  .collection-main .collection-hero h1 { font-size:clamp(2.1rem,5.3vw,2.6rem); }
  .collection-hero-copy h1 + p { margin-top:9px; }
  .collection-hero-actions { gap:6px 14px; padding-block:14px 24px; }
  .collection-layout { display:block; padding-top:18px; }
  .collection-aside { display:none; }
  .result-tools { align-items:center; }
  .collection-quickbar:not([hidden]) {
    display:flex;
    align-items:center;
    gap:6px;
    position:sticky;
    top:var(--store-bar-height);
    z-index:5;
    justify-content:space-between;
    margin-top:8px;
    padding-block:6px;
    border-bottom:1px solid var(--line);
    background:var(--paper);
  }
  .collection-quickbar #filters { flex:1; min-width:0; }
  .collection-quickbar .collection-categories { gap:3px; padding:0; overflow-x:auto; scrollbar-width:none; }
  .collection-quickbar [data-category] { flex:1 0 auto; justify-content:center; min-height:44px; padding:5px 4px; white-space:nowrap; font-size:.84rem; }
  .collection-quickbar [data-category] small { display:none; }
  .collection-order > span { display:none; }
  .collection-order select { min-height:44px; }
  .filter-open { display:inline-flex; flex:none; align-items:center; gap:4px; background:#fff; border:1px solid #ded2c5; border-radius:8px; padding:7px 8px; min-height:44px; font-size:.85rem; color:#423024; }
  :where(.collection-grid,#collection-empty,.collection-grid a,.compare-toggle,.collection-search input,.collection-pages a) { scroll-margin-top:60px; }
  .filter-open .icon { width:16px; height:16px; }
  .filter-dialog[open] { display:block; position:fixed; inset:0 auto 0 0; margin:0; border:0; width:min(360px,90vw); max-width:100%; height:100dvh; max-height:100dvh; padding:23px 21px max(25px,env(safe-area-inset-bottom)); border-radius:0; overflow-y:auto; overscroll-behavior:contain; background:#fcfaf7; color:#302820; }
  .filter-dialog::backdrop { background:rgba(31,23,16,.48); }
  body:has(.filter-dialog[open]) { overflow:hidden; }
  .filter-close { display:flex; }
  .filter-panel > .filter-apply { display:block; margin-top:16px; width:100%; }
  .collection-grid { gap:8px; }
  .collection-item-info { padding:10px; }
  .collection-item-name { font-size:.95rem; }
  .collection-search { margin-top:14px; }
}
@media(max-width:600px){
  .collection-hero { --hero-inset:16px; grid-template-columns:56fr 44fr; min-height:0; border-radius:12px; }
  .collection-hero-copy { padding:18px 9px 17px var(--hero-inset); align-self:center; }
  .collection-main .collection-hero h1 { font-size:clamp(1.8rem,7.2vw,2.5rem); }
  .collection-hero-copy .collection-kicker { margin-bottom:6px; font-size:.77rem; }
  .collection-hero-copy h1 + p { margin-top:8px; line-height:1.5; }
  .collection-hero-art { grid-row:1; border-top-left-radius:52px; }
  .collection-hero-art img { transform:scale(1.04); }
  .collection-hero-actions { grid-column:1 / -1; flex-wrap:nowrap; gap:18px; padding:7px var(--hero-inset); border-top:1px solid #e5d5c0; }
  .collection-hero-cta { min-width:7em; padding:8px 16px; }
}
@media(max-width:390px){
 .collection-main { width:calc(100% - 20px); }
 .collection-card { border-radius:9px; }
}
