/* Local collection extension. Shared product cards, typography and chrome remain authoritative. */
.sf-category-page .cat-main{padding-bottom:72px}
.cat-preview-note{padding:7px 4%;background:#f4eee5;color:#756c63;font-size:9px;letter-spacing:.12em;display:flex;justify-content:space-between;gap:10px}
.cat-preview-note span{letter-spacing:.02em}
.cat-hero{position:relative;isolation:isolate;overflow:hidden;background:#f3e8d8;min-height:310px;border-radius:5px}
.cat-hero-copy{position:relative;z-index:1;padding:42px 48px;width:60%}
.cat-hero .eyebrow{font-size:10px;margin-bottom:14px}
.cat-hero h1{font-size:clamp(38px,4.1vw,58px);margin-bottom:16px}
.cat-hero-copy>p:not(.eyebrow){max-width:405px;font-size:14px;line-height:1.75;color:#705e4e;margin-bottom:22px}
.cat-hero-link{font-size:13px;color:var(--red);border-bottom:1px solid #ba9b82;padding-bottom:5px;display:inline-flex;gap:26px}
.cat-hero>.food{position:absolute;width:45%;height:auto;aspect-ratio:1;right:-1%;top:50%;transform:translateY(-50%);mix-blend-mode:multiply;z-index:-1}
.cat-hero-caption{position:absolute;right:25px;bottom:20px;font:italic 20px var(--serif);color:#805f42}
.cat-categories{display:flex;align-items:center;gap:12px;padding:27px 0 30px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:32px}
.cat-category{display:flex;align-items:center;gap:10px;white-space:nowrap;padding:7px 16px 7px 7px;border:1px solid var(--line);border-radius:40px;font-size:13px;transition:background .2s}
.cat-category:hover{background:#f6efe4}.cat-category[aria-current=page]{background:#f2e7d9;border-color:#a68160;color:var(--red)}
.cat-category .food,.cat-category .cat-all{width:37px;height:37px;border-radius:50%;flex:none}.cat-all{display:grid;place-items:center;background:#e9dece;color:#84613f;font-size:20px}
.cat-collection{display:grid;grid-template-columns:190px minmax(0,1fr);gap:38px;scroll-margin-top:180px}
.cat-filters>summary{font:24px var(--serif);list-style:none;pointer-events:none;margin:0 0 25px}.cat-filters>summary::-webkit-details-marker{display:none}.cat-filters>summary span{display:none}
.cat-filter-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-bottom:24px}
.cat-filter-title button{border:0;background:transparent;padding:3px;color:var(--red);font-size:11px;text-decoration:underline;text-underline-offset:3px}
.cat-filters fieldset{border:0;padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid var(--line)}
.cat-filters legend{font-size:13px;font-weight:600;margin-bottom:12px}.cat-filters label{display:flex;align-items:center;gap:9px;font-size:12px;min-height:35px;cursor:pointer;color:#6a5e52}.cat-filters label small{margin-left:auto;font-size:10px;color:var(--muted)}
.cat-filters input{accent-color:var(--red);width:15px;height:15px;margin:0}.cat-filter-note{font:italic 20px/1.5 var(--serif);color:#a0876e;margin-top:28px}
.cat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:36px;margin-bottom:23px}.cat-toolbar p{font-size:12px;color:var(--muted);margin:0}.cat-toolbar label{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}
.cat-toolbar select{border:1px solid var(--line);padding:9px 28px 9px 10px;background:transparent;border-radius:3px;font-size:12px;max-width:180px}
.cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 22px}.sf-category-page .pd-card-body h3{font:22px/1.25 var(--serif);margin:7px 0 10px}.sf-category-page .pd-card-body>p{font-size:11px;min-height:35px}.sf-category-page .pd-card-bottom{border-top:1px solid var(--line);padding-top:12px;font-size:12px;flex-wrap:nowrap}.sf-category-page .pd-card-bottom>a{font-size:11px;min-height:38px;padding-inline:11px;gap:12px;white-space:nowrap}
.cat-card-packs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 14px;min-height:29px}.cat-card-packs a{border:1px solid var(--line);border-radius:3px;padding:4px 7px;font-size:10px;color:#756354;line-height:1.6}.cat-card-packs a:hover{border-color:var(--red);color:var(--red)}
.cat-active{display:flex;flex-wrap:wrap;gap:8px}.cat-active:not(:empty){margin-bottom:20px}.cat-active button{background:#f3ebdf;border:1px solid #e1d3c2;border-radius:3px;font-size:11px;padding:5px 9px;display:flex;gap:12px}.cat-end{border-top:1px solid var(--line);margin:30px 0 0;padding-top:19px;font-size:11px;text-align:center;color:var(--muted)}
.cat-empty{grid-column:1/-1;padding:65px 20px;text-align:center;background:#f6f0e7}.cat-empty h2{font-size:30px}.cat-empty p{font-size:14px;color:var(--muted)}.cat-empty button{background:var(--red);color:white;border:0;padding:12px 20px;border-radius:3px;font-size:13px}
.cat-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#e8ebdf;margin-top:64px;border-radius:5px;padding:38px 50px;position:relative;isolation:isolate;overflow:hidden;min-height:300px}.cat-banner>div:first-child{z-index:1}.cat-banner .eyebrow{font-size:10px;color:#5c684b;margin-bottom:14px}.cat-banner h2{font-size:38px;margin-bottom:13px}.cat-banner h2 em{color:#697452}.cat-banner p:not(.eyebrow){font-size:13px;color:#646a58}.cat-banner .button{font-size:12px;gap:25px}.cat-banner>.food{position:absolute;right:4%;width:330px;height:330px;mix-blend-mode:multiply;z-index:-1;border-radius:50%}
@media(max-width:1050px){.cat-collection{grid-template-columns:160px minmax(0,1fr);gap:25px}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-hero-copy{padding:35px;width:62%}.cat-hero>.food{width:49%;right:-5%}.cat-category{font-size:12px;padding-right:12px}.cat-categories{gap:8px}}
@media(max-width:700px){.sf-category-page .cat-main{padding-bottom:40px}.cat-preview-note{font-size:8px}.cat-preview-note span{display:none}.sf-category-page .pd-breadcrumb{padding:20px 0;font-size:11px}.cat-hero{min-height:310px}.cat-hero-copy{padding:27px 24px;width:100%}.cat-hero h1{font-size:38px;max-width:235px}.cat-hero-copy>p:not(.eyebrow){font-size:12px;max-width:205px;line-height:1.8}.cat-hero>.food{width:220px;right:-77px;top:63%;opacity:.8}.cat-hero-caption{display:none}.cat-hero-link{font-size:12px}.cat-categories{margin-bottom:22px;padding:20px 0;gap:8px}.cat-category{font-size:11px;padding:6px 12px 6px 6px}.cat-category .food,.cat-category .cat-all{width:30px;height:30px}.cat-collection{display:block;scroll-margin-top:140px}.cat-filters{border:1px solid var(--line);border-radius:3px;margin-bottom:18px}.cat-filters>summary{font:500 13px var(--sans);pointer-events:auto;display:flex;justify-content:space-between;padding:12px 15px;margin:0;cursor:pointer}.cat-filters>summary span{display:block}.cat-filter-content{padding:15px}.cat-filters fieldset{margin-bottom:12px;padding-bottom:12px}.cat-filters label{min-height:40px}.cat-filter-note{display:none}.cat-toolbar{gap:8px;align-items:center;margin-bottom:18px}.cat-toolbar label{gap:5px;font-size:10px}.cat-toolbar select{max-width:148px;font-size:10px;padding:10px 17px 10px 8px}.cat-toolbar p{font-size:11px}.cat-grid{gap:26px 14px}.sf-category-page .pd-card-body h3{font-size:19px;min-height:47px}.sf-category-page .pd-card-body>small{font-size:9px}.sf-category-page .pd-card-bottom{align-items:flex-start;flex-direction:column;gap:10px;font-size:11px}.sf-category-page .pd-card-bottom>a{width:100%;min-height:42px;justify-content:space-between;font-size:11px}.cat-card-packs a{font-size:10px;min-height:32px;display:grid;place-items:center;padding:4px 6px}.cat-card-packs{min-height:70px;align-content:start}.cat-banner{margin-top:35px;padding:28px 23px;min-height:335px}.cat-banner h2{font-size:33px}.cat-banner p:not(.eyebrow){max-width:185px;font-size:12px}.cat-banner>.food{width:210px;height:210px;right:-75px;bottom:-35px}.cat-banner .button{gap:14px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.sf-category-page *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){.cat-categories{scrollbar-width:none}.cat-categories::-webkit-scrollbar{display:none}.cat-hero h1{max-width:200px}.cat-hero-copy>p:not(.eyebrow){max-width:180px}.cat-hero>.food{width:180px;right:-65px;top:74%}}

/* WooCommerce adapters: local to the category main; global chrome is untouched. */
.sf-category-page .cat-hero h1{line-height:1.08;letter-spacing:-.025em;color:var(--ink)}
.sf-category-page .cat-description{max-width:405px;font-size:14px;line-height:1.75;color:#705e4e;margin-bottom:22px}
.sf-category-page .cat-description p{margin:0 0 12px}.sf-category-page .cat-description p:last-child{margin-bottom:0}
.sf-category-page .cat-banner h2,.sf-category-page .cat-empty h2{line-height:1.15;letter-spacing:-.025em}
.sf-category-page .food{display:block;background-image:url('../images/food-atlas.png');background-size:200% 200%;background-repeat:no-repeat}
.sf-category-page .peanuts{background-position:0 0}.sf-category-page .chikki{background-position:100% 0}.sf-category-page .dates{background-position:0 100%}.sf-category-page .snacks{background-position:100% 100%}
.sf-category-page .cat-filter-title>a{padding:3px;color:var(--red);font-size:11px;text-decoration:underline;text-underline-offset:3px}
.sf-category-page .cat-filter-option{display:flex;align-items:center;gap:9px;font-size:12px;min-height:35px;color:#6a5e52}
.sf-category-page .cat-filter-option small{margin-left:auto;font-size:10px;color:var(--muted)}
.sf-category-page .cat-checkbox{width:15px;height:15px;flex:none;border:1px solid #a99682;border-radius:2px;display:grid;place-items:center;font-size:11px;line-height:1}
.sf-category-page .cat-filter-option.is-selected .cat-checkbox{background:var(--red);color:white;border-color:var(--red)}
.sf-category-page .cat-active>a{background:#f3ebdf;border:1px solid #e1d3c2;border-radius:3px;font-size:11px;padding:5px 9px;display:flex;gap:12px}
.sf-category-page .cat-sort-form{margin:0}.sf-category-page select{font-family:var(--sans);height:auto;line-height:normal;color:var(--ink)}
.sf-category-page .cat-category-photo{width:37px;height:37px;border-radius:50%;object-fit:cover;flex:none}
.sf-category-page .cat-hero-photo{position:absolute;inset:0 0 0 auto;width:44%;height:100%;object-fit:cover;z-index:-1}
.sf-category-page .pd-card-body>small{text-transform:uppercase}.sf-category-page .pd-card-art>img{margin:0;aspect-ratio:1;object-fit:contain}
.sf-category-page .pd-card-bottom strong{line-height:1.5}.sf-category-page .pd-card-bottom :is(ins,.amount){font:inherit;background:transparent;color:inherit}.sf-category-page .pd-card-bottom ins{text-decoration:none}
.sf-category-page .button.burgundy{display:inline-flex;align-items:center;justify-content:center;font-family:var(--sans);font-weight:600;padding:14px 23px;border:1px solid var(--red);border-radius:3px;min-height:49px;background:var(--red);color:white;text-decoration:none;line-height:1.6}
.sf-category-page .cat-empty>a{display:inline-block;background:var(--red);color:white;padding:12px 20px;border-radius:3px;font-size:13px}
.sf-category-page .woocommerce-pagination{margin-top:32px;text-align:center}.sf-category-page .woocommerce-pagination ul{display:flex;justify-content:center;gap:8px;list-style:none;margin:0;padding:0;border:0}
.sf-category-page .woocommerce-pagination li{border:0;margin:0;padding:0}.sf-category-page .page-numbers :is(a,span){display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:3px;font-size:13px}.sf-category-page .page-numbers .current{background:var(--red);color:white;border-color:var(--red)}
@media(max-width:700px){.sf-category-page .cat-description{font-size:12px;max-width:180px;line-height:1.8}.sf-category-page .cat-category-photo{width:30px;height:30px}.sf-category-page .cat-hero-photo{width:35%;top:auto;bottom:0;height:60%}.sf-category-page .cat-filter-option{min-height:40px}}
