/* Clean gallery catalogue: white and cool grey surfaces, retaining bright offer badges. */
body.slabd-catalog { --sf-yellow:#eeea42; --sf-ink:#171717; --sf-muted:#62666b; --sf-line:#e4e6e8; --sf-canvas:#fff; background:#fff; color:#171717; font:400 16px/1.55 Arial,Helvetica,sans-serif; }
body.slabd-catalog #main.sh-main { padding:0; background:#fff; }
body.slabd-catalog .sh-main :is(button,input,select,textarea) { font-family:Arial,Helvetica,sans-serif; }
body.slabd-catalog .sh-header-inner { min-height:92px; }
.sh-cart { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; min-height:44px; font-size:14px; font-weight:600; }
.sh-cart-count { display:inline-flex; align-items:center; justify-content:center; min-width:23px; height:23px; padding:0 5px; border-radius:50%; background:#f3f4f6; font-size:11px; }
body.slabd-catalog .slabd-shop-archive { padding:48px 0 72px; }
body.slabd-catalog .slabd-shop-archive__inner { width:min(1360px,calc(100% - 80px)); max-width:none; margin:auto; }
body.slabd-catalog .slabd-shop-archive__header { padding:0 0 30px; }
body.slabd-catalog .slabd-shop-archive__header-main { align-items:end; }
body.slabd-catalog .slabd-shop-archive__title { font:700 clamp(32px,3.5vw,46px)/1.08 Arial,Helvetica,sans-serif; letter-spacing:-.045em; margin:0; }
body.slabd-catalog .slabd-catalog-eyebrow { font:700 11px/1.4 Arial,Helvetica,sans-serif; color:#62666b; letter-spacing:.14em; margin:0 0 14px; }
body.slabd-catalog .slabd-shop-archive__description { max-width:680px; margin-top:14px; font:400 16px/1.6 Arial,Helvetica,sans-serif; color:#62666b; }
body.slabd-catalog .slabd-shop-archive__description p { margin:0; }
body.slabd-catalog .slabd-shop-archive__results .woocommerce-result-count { font:400 14px/1.5 Arial,Helvetica,sans-serif; margin:14px 0 0; color:#62666b; }
body.slabd-catalog .slabd-shop-archive__actions { display:flex; align-items:center; gap:12px; }
body.slabd-catalog .slabd-shop-archive__sort .orderby { height:44px; border:1px solid #d5d8dd; border-radius:6px; font:400 14px/1.4 Arial,Helvetica,sans-serif; padding:10px 34px 10px 12px; }
body.slabd-catalog .slabd-store-grid { grid-template-columns:220px minmax(0,1fr); gap:36px; }
body.slabd-catalog .slabd-shop-archive .slabd-shop-archive__sidebar { padding:0 24px 0 0; border:0; border-right:1px solid #e4e6e8; border-radius:0; background:#fff; font-family:Arial,Helvetica,sans-serif; }
body.slabd-catalog .slabd-shop-archive .slabd-shop-archive__sidebar-title { font:700 18px/1.3 Arial,Helvetica,sans-serif; color:#171717; margin:0 0 20px; letter-spacing:-.02em; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form { gap:8px; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form :is(label,legend) { font:600 13px/1.5 Arial,Helvetica,sans-serif; color:#171717; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form > label { margin-top:10px; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form > label:first-child { margin-top:0; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form :is(input:not([type=hidden]),select) { font:400 16px/22px Arial,Helvetica,sans-serif; border-color:#d5d8dd; border-radius:5px; height:44px; padding:10px; box-shadow:none; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form input::placeholder { font-size:13px; color:#62666b; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form .button { background:#171717; color:#fff; border:1px solid #171717; font:700 14px/1.4 Arial,Helvetica,sans-serif; border-radius:6px; min-height:46px; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form .button:hover { background:#333; color:#fff; }
body.slabd-catalog .slabd-shop-archive .slabd-filter-form > a { font:400 13px/1.5 Arial,Helvetica,sans-serif; text-underline-offset:4px; }
body.slabd-catalog .slabd-shop-archive .slabd-category-links h3 { font:700 14px/1.4 Arial,Helvetica,sans-serif; letter-spacing:0; }
body.slabd-catalog .slabd-shop-archive .slabd-category-links a { font:400 14px/1.5 Arial,Helvetica,sans-serif; padding:8px 10px; text-decoration:none; }
body.slabd-catalog .slabd-category-links :is(a:hover,a[aria-current]) { background:#f3f4f6; font-weight:700; }
body.slabd-catalog .slabd-shop-archive__filter-chip { font:400 13px/1.4 Arial,Helvetica,sans-serif; padding:9px 12px; border:1px solid #d5d8dd; background:#f3f4f6; border-radius:5px; }
body.slabd-catalog .slabd-shop-archive__filter-clear { font:600 13px/1.4 Arial,Helvetica,sans-serif; }
body.slabd-catalog .slabd-shop-archive ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:36px 24px; }
body.slabd-catalog .slabd-product-card { border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; height:auto; }
body.slabd-catalog .slabd-product-card:hover { border:0; box-shadow:none; }
body.slabd-catalog .slabd-product-card > a.slabd-product-card__body { flex:none; height:auto; gap:0; text-decoration:none; }
body.slabd-catalog .slabd-product-card__body:is(:hover,:focus-visible) .slabd-product-card__title { text-decoration:underline; text-underline-offset:4px; }
body.slabd-catalog .slabd-product-card__body:focus-visible { outline:2px solid #171717; outline-offset:5px; border-radius:8px; }
body.slabd-catalog .slabd-product-card:focus-within { outline:0; }
body.slabd-catalog .slabd-product-card__media { border-radius:8px; padding:16px; background:#f3f4f6; overflow:hidden; }
body.slabd-catalog .slabd-product-card__image-frame { aspect-ratio:3/4; padding:0; margin:0; }
body.slabd-catalog .slabd-shop-archive ul.products li.product .slabd-product-card__image-frame img { inset:0!important; height:100%!important; object-fit:contain!important; }
body.slabd-catalog .slabd-product-card__placeholder { flex-direction:column; gap:10px; padding:12px; border:0; border-radius:0; background:transparent; color:#757b85; }
body.slabd-catalog .slabd-product-card__placeholder-icon { flex:none; width:42px; height:42px; }
body.slabd-catalog .slabd-product-card__placeholder-label { font:400 13px/1.4 Arial,Helvetica,sans-serif; text-align:center; color:#62666b; }
body.slabd-catalog .slabd-product-card__placeholder-mark { font:600 15px/1.4 Arial,Helvetica,sans-serif; color:#62666b; }
body.slabd-catalog .slabd-product-card__badge-row { min-height:40px; }
body.slabd-catalog .slabd-product-card__badges { position:static; display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 12px; min-height:28px; }
body.slabd-catalog .slabd-product-card__badge { font:700 10px/1.3 Arial,Helvetica,sans-serif; min-height:26px; padding:6px 7px; border-radius:4px; letter-spacing:.03em; }
body.slabd-catalog .slabd-product-card__badge--is-grade { color:#171717; background:#fff; border:1px solid #d5d8dd; }
/* Offer eligibility still comes from the existing product/plugin rules. Keep it above the photo. */
body.slabd-catalog .slabd-shop-archive ul.products li.product .slabd-product-card__badge--is-offer { color:#171717; background:#eeea42; border:0; border-radius:4px; min-height:28px; padding:7px 8px; font:700 10px/1.3 Arial,Helvetica,sans-serif; letter-spacing:.04em; white-space:nowrap; margin-inline-start:auto; }
body.slabd-catalog .slabd-product-card__content { flex:none; min-height:0; padding:14px 0 0; gap:5px; }
body.slabd-catalog .slabd-product-card .slabd-product-card__title { font:700 16px/1.35 Arial,Helvetica,sans-serif!important; letter-spacing:-.015em; margin:0!important; }
body.slabd-catalog .slabd-product-card__subtitle { font:400 12px/1.5 Arial,Helvetica,sans-serif; color:#62666b; margin:0; }
body.slabd-catalog .slabd-product-card__cert { font:400 11px/1.5 Arial,Helvetica,sans-serif; color:#62666b; margin:0; }
body.slabd-catalog .slabd-product-card__price { font:700 17px/1.5 Arial,Helvetica,sans-serif!important; margin:3px 0 0!important; }
body.slabd-catalog .slabd-product-card__price :is(.amount,bdi) { font:inherit; white-space:nowrap; }
body.slabd-catalog .slabd-product-card--category .slabd-product-card__footer { display:none; }
/* Neutralise the legacy mobile rules that move offer badges below the photo. */
body.slabd-catalog .slabd-shop-archive ul.products li.product .slabd-product-card__media { display:block; }
body.slabd-catalog .slabd-shop-archive ul.products li.product .slabd-product-card__badges--has-offer { justify-content:flex-start; margin:0 0 12px; }
body.slabd-catalog .woocommerce-pagination { margin:40px 0 0; padding:16px 0; border:0; border-top:1px solid #e4e6e8; border-radius:0; background:#fff; box-shadow:none; font-family:Arial,Helvetica,sans-serif; }
body.slabd-catalog .woocommerce-pagination ul.page-numbers { list-style:none; }
/* Product detail pages use the same shell, without altering gallery or purchasing hooks. */
body.slabd-catalog.single-product .slabd-single-product { max-width:1200px; width:calc(100% - 80px); margin:48px auto; }
body.slabd-catalog.single-product .slabd-single-product__media-card { background:#f3f4f6; border:0; box-shadow:none; }
body.slabd-catalog.single-product .slabd-single-product__summary-card { padding:0; background:transparent; border:0; box-shadow:none; }
body.slabd-catalog.single-product .slabd-single-product .product_title { font:700 clamp(26px,3vw,36px)/1.15 Arial,Helvetica,sans-serif; letter-spacing:-.035em; }
body.slabd-catalog.single-product .slabd-single-product :is(p,li,dt,dd,.price,.button,label) { font-family:Arial,Helvetica,sans-serif; }
body.slabd-catalog.single-product .slabd-single-product__trust { background:#f3f4f6; border-color:#e4e6e8; }
@media(min-width:992px) and (max-width:1250px) { body.slabd-catalog .slabd-shop-archive ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:991px) {
 body.slabd-catalog .slabd-store-grid { grid-template-columns:minmax(0,1fr); gap:0; }
 body.slabd-catalog .slabd-shop-archive .slabd-shop-archive__sidebar { padding:24px; border:0; }
 body.slabd-catalog .slabd-shop-archive ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body.slabd-catalog .slabd-shop-archive__filter-toggle { min-height:44px; padding:10px 16px; border:1px solid #d5d8dd; border-radius:6px; background:#f3f4f6; font:600 14px/1.4 Arial,Helvetica,sans-serif; color:#171717; }
 body.slabd-catalog .slabd-shop-archive__sidebar-close { background:#f3f4f6; color:#171717; border:1px solid #d5d8dd; border-radius:6px; }
}
@media(max-width:767px) {
 body.slabd-catalog .sh-header .sh-button-small { display:none; }
 body.slabd-catalog .sh-header-inner { min-height:76px; gap:18px; }
 body.slabd-catalog .sh-header-actions { gap:12px; }
 body.slabd-catalog .slabd-shop-archive { padding:30px 0 48px; }
 body.slabd-catalog .slabd-shop-archive__inner { width:calc(100% - 40px); }
 body.slabd-catalog .slabd-shop-archive__actions { width:100%; }
 body.slabd-catalog .slabd-shop-archive__filter-shell { flex:0 0 auto; width:auto; }
 body.slabd-catalog .slabd-shop-archive__sort { flex:1; min-width:0; }
 body.slabd-catalog .slabd-shop-archive__sort :is(.woocommerce-ordering,.orderby) { width:100%; min-width:0; max-width:100%; }
 body.slabd-catalog .slabd-shop-archive ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px; }
 body.slabd-catalog .slabd-product-card__media { padding:10px; border-radius:6px; }
 body.slabd-catalog .slabd-product-card__badge-row { min-height:72px; }
 body.slabd-catalog .slabd-product-card .slabd-product-card__title { font-size:14px!important; }
 body.slabd-catalog .slabd-product-card__content { padding-top:12px; }
 body.slabd-catalog .slabd-product-card__placeholder-label { font-size:12px; }
 body.slabd-catalog .slabd-product-card__price { font-size:16px!important; }
 body.slabd-catalog.single-product .slabd-single-product { width:calc(100% - 40px); margin:30px auto; }
}
/* Without JS the filter form remains usable in normal document flow. */
@media(max-width:991px) {
 body.slabd-catalog .slabd-shop-archive:not(.has-filter-drawer) .slabd-shop-archive__sidebar { position:static; width:auto; height:auto; max-height:none; transform:none; visibility:visible; opacity:1; pointer-events:auto; margin-bottom:28px; }
 body.slabd-catalog .slabd-shop-archive:not(.has-filter-drawer) :is(.slabd-shop-archive__filter-shell,.slabd-shop-archive__sidebar-close) { display:none; }
}
