/* Category page v3 test page (/category-preview/) only: loaded by inc/category-v3.php on that page, after home-v3.css. Classes are wsc3-*. */
.wsc3 { color: var(--w3-text); font-size: 14px; line-height: 1.4; width: 100vw; margin-left: calc(50% - 50vw); } /* edge to edge whatever the theme container padding */
.wsc3 a { text-decoration: none; }
.wsc3-page .site-content > .col-full { max-width: none; padding: 0; }
.wsc3-page .hentry, .wsc3-page .hentry .entry-content { margin: 0; padding: 0; border: 0; }
.wsc3 h1, .wsc3 h2 { margin: 0; }

/* 1. Breadcrumb */
.wsc3-crumbs { background: var(--w3-grey); font-size: 12.5px; color: var(--w3-muted); }
.wsc3-crumbs .wsh3-in { padding-block: 9px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.wsc3-crumbs a { color: var(--w3-muted); }
.wsc3-crumbs a:hover, .wsc3-crumbs a:focus-visible { color: var(--w3-red); text-decoration: underline; }
.wsc3-crumbs [aria-current] { color: var(--w3-text); font-weight: 600; }
.wsc3-sep { margin: 0 4px; color: #b3aeaf; }

.wsc3-body { padding-bottom: 40px; }

/* 2. Title */
.wsc3-head { padding: 22px 0 14px; }
.wsc3-head h1 { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.wsc3-lede { margin: 6px 0 0; color: var(--w3-muted); font-size: 15px; max-width: 75ch; }

/* 3. Category row */
.wsc3-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 12px; list-style: none; margin: 0 0 22px; padding: 0; }
.wsc3-sibs { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; min-width: 0; }
.wsc3-sibs-l { flex: 0 0 auto; font-size: 12.5px; color: var(--w3-muted); }
.wsc3-sibs ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.wsc3-sibs li { margin: 0; flex: 0 0 auto; }
.wsc3-sibs a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--w3-line); border-radius: 99px; padding: 4px 14px 4px 4px; font-weight: 600; font-size: 13px; color: var(--w3-text) !important; white-space: nowrap; background: #fff; }
.wsc3-sibs a:hover, .wsc3-sibs a:focus-visible { border-color: #c9c5c6; color: var(--w3-red) !important; }
.wsc3-sibs a.is-cur { border: 2px solid var(--w3-red); padding: 3px 13px 3px 3px; color: var(--w3-red) !important; }
.wsc3-sibs img, .wsc3-sibs .wsh3-noimg { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; background: var(--w3-grey); }

/* 4. Two columns */
.wsc3-cols { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; align-items: start; }

/* Filter column */
.wsc3-filters { border: 1px solid var(--w3-line); border-radius: 10px; background: #fff; }
.wsc3-form { margin: 0; }
.wsc3-fhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--w3-line); }
.wsc3-fhead h2 { font-size: 16px; font-weight: 800; }
.wsc3-clear { color: var(--w3-red) !important; font-size: 12.5px; font-weight: 700; margin-left: auto; }
.wsc3-clear:hover { text-decoration: underline; }
.wsc3-fclose, .wsc3-fbar { display: none; }
.wsc3-group { border-bottom: 1px solid var(--w3-line); }
.wsc3-group:last-of-type { border-bottom: 0; }
.wsc3-group summary { list-style: none; cursor: pointer; padding: 11px 14px; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.wsc3-group summary::-webkit-details-marker { display: none; }
.wsc3-group summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--w3-muted); border-bottom: 2px solid var(--w3-muted); transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.wsc3-group[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.wsc3-group summary:hover { color: var(--w3-red); }
.wsc3-group summary:focus-visible { outline: 2px solid var(--w3-red); outline-offset: -2px; }
.wsc3-gbadge { background: var(--w3-red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; }
.wsc3-group ul { list-style: none; margin: 0; padding: 0 14px 12px; display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.wsc3-group li { margin: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; }
.wsc3-group input { width: 16px; height: 16px; margin: 0; accent-color: var(--w3-red); cursor: pointer; }
.wsc3-group label { cursor: pointer; padding: 3px 0; line-height: 1.25; }
.wsc3-group li:hover label { color: var(--w3-red); }
.wsc3-n { color: var(--w3-muted); font-size: 11.5px; background: var(--w3-grey); border-radius: 99px; padding: 1px 7px; }
.wsc3-group li.is-none { opacity: .45; }
.wsc3-group li.is-none label, .wsc3-group li.is-none input { cursor: default; }
.wsc3-group li.is-none:hover label { color: inherit; }

/* 5. Toolbar */
.wsc3-main { min-width: 0; }
.wsc3-main[aria-busy="true"] .wsc3-grid { opacity: .45; transition: opacity .15s; }
.wsc3-bar { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.wsc3-total { margin: 0; font-size: 15px; }
.wsc3-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--w3-text) !important; cursor: pointer; }
.wsc3-knob { width: 34px; height: 20px; border-radius: 99px; background: #cfcbcc; position: relative; transition: background .15s; flex: 0 0 auto; }
.wsc3-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.wsc3-switch.is-on .wsc3-knob { background: var(--w3-green); }
.wsc3-switch.is-on .wsc3-knob::after { transform: translateX(14px); }
.wsc3-switch:focus-visible { outline: 2px solid var(--w3-red); outline-offset: 3px; border-radius: 4px; }
.wsc3-sortl { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.wsc3-sortl select { font: inherit; font-weight: 500; border: 1px solid var(--w3-line); border-radius: 6px; padding: 6px 10px; background: #fff; color: var(--w3-text); }

/* 6. Chips */
.wsc3-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.wsc3-chip { background: var(--w3-dark); color: #fff !important; border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; }
.wsc3-chip span { margin-left: 4px; opacity: .8; }
.wsc3-chip:hover, .wsc3-chip:focus-visible { background: var(--w3-red); }
.wsc3-clearall { color: var(--w3-red) !important; font-weight: 700; font-size: 12.5px; margin-left: 4px; }
.wsc3-clearall:hover { text-decoration: underline; }

/* 7. Cards */
.wsc3-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.wsc3-card { position: relative; border: 1px solid var(--w3-line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; margin: 0; background: #fff; min-width: 0; }
.wsc3-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.wsc3-card p { margin: 0; }
.wsc3-save { position: absolute; left: 8px; top: 8px; z-index: 1; background: var(--w3-red); color: #fff; font-weight: 700; font-size: 11px; padding: 3px 8px; border-radius: 99px; }
.wsc3-card-a { display: flex; flex-direction: column; color: var(--w3-text) !important; }
.wsc3-card-a img, .wsc3-card-a .wsh3-noimg { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; display: block; }
.wsc3-name { font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.25 !important; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--w3-text); }
.wsc3-card-a:hover .wsc3-name { color: var(--w3-red); }
.wsc3-spec { color: var(--w3-muted); font-size: 12px; margin: 3px 0 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsc3-card .wsh3-price { font-size: 18px; margin-top: 2px; }
.wsc3-poa { font-weight: 700; font-size: 14px; margin-top: 4px !important; color: var(--w3-text); }
.wsc3-inc { font-size: 11.5px; color: var(--w3-muted); }
.wsc3-inc s { display: block; margin-top: 1px; }
.wsc3-stock { font-size: 12.5px; font-weight: 700; color: var(--w3-green); margin: 4px 0 10px !important; }
.wsc3-stock.is-order { color: var(--w3-muted); font-weight: 600; }
.wsc3 .wsc3-btn { margin-top: auto; padding: 9px 12px; font-size: 13px; white-space: normal; }
.wsc3 .wsc3-btn.is-enquire { background: var(--w3-dark); }
.wsc3 .wsc3-btn.is-enquire:hover { background: #000; }
.wsc3 .wsc3-btn.loading { opacity: .6; }
.wsc3 .wsc3-btn.added::after { content: " ✓"; }
.wsc3-card .added_to_cart { font-size: 12.5px; font-weight: 600; color: var(--w3-red); text-align: center; margin-top: 6px; }
.wsc3-empty { border: 1px dashed var(--w3-line); border-radius: 10px; padding: 36px 20px; text-align: center; }
.wsc3-empty p { margin: 0 0 12px; font-size: 16px; }

/* 8. Pagination + description */
.wsc3-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 26px; }
.wsc3-pages a, .wsc3-pages span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--w3-line); border-radius: 6px; font-weight: 600; color: var(--w3-text) !important; padding: 0 8px; }
.wsc3-pages a:hover { border-color: var(--w3-red); color: var(--w3-red) !important; }
.wsc3-pages span { background: var(--w3-dark); border-color: var(--w3-dark); color: #fff !important; }
.wsc3-desc { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--w3-line); color: var(--w3-muted); font-size: 14px; max-width: 80ch; }

.wsc3-mbar { display: none; }

@media (max-width: 1180px) {
	.wsc3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.wsc3-cols { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
	.wsc3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.wsc3-head { padding: 16px 0 10px; }
	.wsc3-head h1 { font-size: 24px; }
	.wsc3-lede { font-size: 13.5px; }
	.wsc3-tiles { display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px 14px; padding: 0 16px 4px; scrollbar-width: none; }
	.wsc3-tiles::-webkit-scrollbar { display: none; }
	.wsc3-tiles .wsh3-tile { flex: 0 0 200px; }
	.wsc3-sibs { margin: 0 -16px 14px; padding-left: 16px; }
	.wsc3-sibs-l { display: none; }
	.wsc3-sibs ul { padding-right: 16px; scrollbar-width: none; }
	.wsc3-sibs ul::-webkit-scrollbar { display: none; }

	.wsc3-mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: sticky; top: 0; z-index: 30; background: #fff; margin: 0 -16px 12px; padding: 8px 16px; border-bottom: 1px solid var(--w3-line); box-shadow: 0 6px 10px -10px rgba(0, 0, 0, .3); }
	.admin-bar .wsc3-mbar { top: 46px; }
	.wsc3-mbtn { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px solid #cfcbcc; border-radius: 8px; background: #fff !important; color: var(--w3-text) !important; font: inherit; font-weight: 700; font-size: 14px; box-shadow: none; padding: 0 10px; cursor: pointer; margin: 0; }
	.wsc3-msort select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
	.wsc3-badge { background: var(--w3-red); color: #fff; font-size: 11px; border-radius: 99px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; }
	.wsc3-badge[hidden] { display: none; }

	.wsc3-cols { display: block; }
	.wsc3-filters { display: none; }
	.wsc3-fopen .wsc3-filters { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 100000; border: 0; border-radius: 0; }
	.wsc3-fopen { overflow: hidden; }
	.wsc3-fopen .wsc3-form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
	.wsc3-fopen .wsc3-fhead { flex: 0 0 auto; padding: 14px 16px; }
	.wsc3-fopen .wsc3-fhead h2 { font-size: 18px; }
	.wsc3-fclose { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; background: none !important; color: var(--w3-text) !important; font-size: 26px; line-height: 1; box-shadow: none; cursor: pointer; }
	.wsc3-fopen .wsc3-group { flex: 0 0 auto; }
	.wsc3-fopen .wsc3-form { overflow-y: auto; }
	.wsc3-group summary { padding: 14px 16px; font-size: 15px; }
	.wsc3-group ul { padding: 0 16px 14px; max-height: none; }
	.wsc3-group li { font-size: 14.5px; grid-template-columns: 22px minmax(0, 1fr) auto; }
	.wsc3-group input { width: 20px; height: 20px; }
	.wsc3-group label { padding: 6px 0; }
	.wsc3-fbar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; margin-top: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--w3-line); }
	.wsc3-fclose2 { height: 44px; border: 1px solid #cfcbcc; border-radius: 6px; background: #fff !important; color: var(--w3-text) !important; font: inherit; font-weight: 700; box-shadow: none; margin: 0; cursor: pointer; }
	.wsc3 .wsc3-show { height: 44px; margin: 0; }

	.wsc3-bar { gap: 10px; margin-bottom: 10px; }
	.wsc3-sortl { display: none; }
	.wsc3-switch { margin-left: auto; }
	.wsc3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.wsc3-card { padding: 8px; }
	.wsc3-name { font-size: 12px !important; }
	.wsc3-spec { font-size: 11px; }
	.wsc3-card .wsh3-price { font-size: 15px; }
	.wsc3-inc { font-size: 10.5px; }
	.wsc3-inc s { display: block; margin: 0; }
	.wsc3-stock { font-size: 11.5px; }
	.wsc3 .wsc3-btn { padding: 8px 6px; font-size: 12.5px; }
	.wsc3-save { font-size: 10px; padding: 2px 7px; left: 6px; top: 6px; }
}

/* Filter controls are buttons (not crawlable links) when they lead to a filtered view (go-live 17 Nov 2026) */
.wsc3 button.wsc3-nav { font: inherit; line-height: inherit; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: inherit; }
.wsc3 button.wsc3-clear, .wsc3 button.wsc3-clearall { background: none !important; border: 0; padding: 0; color: var(--w3-red) !important; font-weight: 700; font-size: 12.5px; }
.wsc3 button.wsc3-clear:hover, .wsc3 button.wsc3-clearall:hover { text-decoration: underline; }
.wsc3 button.wsc3-chip { border: 0; font-size: 12.5px; font-weight: 600; }
.wsc3 button.wsc3-switch { background: none !important; border: 0; padding: 0; font-weight: 600; font-size: 13px; color: var(--w3-text) !important; }
.wsc3-pages button { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--w3-line); border-radius: 6px; font-weight: 600; color: var(--w3-text) !important; background: #fff !important; padding: 0 8px; }
.wsc3-pages button:hover { border-color: var(--w3-red); color: var(--w3-red) !important; }
.wsc3 button.wsh3-btn.wsc3-nav { border: 0; }

/* ---------- Brand pages (/brand/<slug>/, 17 Nov 2026) ---------- */
.wsc3-bhead { display: flex; align-items: center; gap: 22px; }
.wsc3-blogo { flex: 0 0 150px; height: 96px; border: 1px solid var(--w3-line); border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 14px; box-sizing: border-box; }
.wsc3-blogo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.wsc3-btext { min-width: 0; }
.wsc3-btitle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.wsc3-bbadge { font-size: 11px; letter-spacing: .06em; vertical-align: middle; }
.wsc3-blinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wsc3 .wsc3-blink { display: inline-block; border: 1.5px solid var(--w3-red); color: var(--w3-red) !important; border-radius: 4px; padding: 7px 14px; font-weight: 700; font-size: 13px; background: #fff; }
.wsc3 .wsc3-blink:hover, .wsc3 .wsc3-blink:focus-visible { background: var(--w3-red); color: #fff !important; }
.wsc3-btiles .wsh3-tile.is-more { display: none; }
.wsc3-btiles.is-all .wsh3-tile.is-more { display: block; }
.wsc3-btiles .wsh3-tile.is-cur { border: 2px solid var(--w3-red); padding: 6px; }
.wsc3 button.wsh3-tile-a { width: 100%; background: none !important; border: 0; padding: 0; text-align: left; color: var(--w3-text) !important; font: inherit; cursor: pointer; box-shadow: none; }
.wsc3 .wsc3-more { display: block; margin: -12px 0 20px; background: none !important; border: 0; padding: 0; color: var(--w3-red) !important; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: none; }
.wsc3 .wsc3-more:hover { text-decoration: underline; }
.wsc3-group li.lvl-1 { padding-left: 16px; }
.wsc3-group li.lvl-2 { padding-left: 32px; }
@media (max-width: 767px) {
	.wsc3-bhead { gap: 14px; align-items: flex-start; }
	.wsc3-blogo { flex-basis: 96px; height: 64px; padding: 8px; }
	.wsc3 .wsc3-blink { padding: 6px 10px; font-size: 12px; }
	.wsc3-btiles.is-all, .wsc3-btiles { flex-wrap: nowrap; }
	.wsc3-btiles .wsh3-tile.is-more { display: block; } /* phones: every category in the swipe row */
	.wsc3 .wsc3-more { display: none; }
}

/* ---------- Shop, search and Offers (17 Nov 2026) ---------- */
.wsc3-range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; font-size: 13px; }
.wsc3-range b { margin-right: 4px; }
.wsc3 .wsc3-range a { border: 1px solid var(--w3-line); border-radius: 99px; padding: 5px 12px; font-weight: 600; color: var(--w3-text) !important; background: #fff; }
.wsc3 .wsc3-range a span { color: var(--w3-muted); font-weight: 400; margin-left: 2px; }
.wsc3 .wsc3-range a:hover, .wsc3 .wsc3-range a:focus-visible { border-color: var(--w3-red); color: var(--w3-red) !important; }
.wsc3-noresults > p { max-width: 70ch; color: var(--w3-muted); font-size: 15px; margin: 0 0 16px; }
.wsc3-nr-search { max-width: 560px; margin: 0 0 26px; }
