/**
 * Everything Werez — shop archive (v2.15.0)
 * Scoped to .ew-shop-page. Synced with the theme: buttons #13c9c5 / #032326 (as .btn and WooCommerce buttons),
 * card hover #13c9c5, eyebrows #078e8c, dark teal banner like the Help/Legal pages, Montserrat headings.
 * Global colours untouched.
 */
.ew-shop-page {
  --s-accent: #13c9c5;
  --s-accent-soft: rgba(19, 201, 197, .14);
  --s-accent-ink: #032326;
  --s-eyebrow: #078e8c;
  --s-bright: #4be7e2;
  --s-head: var(--font-head, 'Montserrat', sans-serif);
  --s-ink: var(--ew-deep, #031f23);
  --s-text: var(--text, #092c30);
  --s-muted: var(--muted, #536a6d);
  --s-border: var(--border, #d8e6e6);
  --s-surface: var(--bg, #fff);
  --s-soft: var(--grey, #f2f7f7);
  --s-sidebar: 268px;
}
.ew-shop-page.wrap { max-width: 1480px; padding: 0 24px 56px; }

/* Banner — same dark teal treatment as the Help / Legal page heroes */
.ew-shop-page .ew-shop-banner { position: relative; isolation: isolate; overflow: hidden; margin: 18px 0 24px; padding: 20px 34px 0; border-radius: 16px; background: linear-gradient(116deg, #092d35 0%, #123f47 58%, #0c6262 100%); color: #fff; }
.ew-shop-page .ew-shop-banner::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -150px; top: -270px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.02); }
.ew-shop-page .ew-shop-banner::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: 14%; bottom: -220px; border: 1px solid rgba(19,201,197,.25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(19,201,197,.04); }
.ew-shop-page .ew-shop-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 600; letter-spacing: .015em; }
.ew-shop-page .ew-shop-breadcrumb a { color: rgba(255,255,255,.8); }
.ew-shop-page .ew-shop-breadcrumb a:hover { color: #fff; }
.ew-shop-page .ew-bc-sep { color: rgba(255,255,255,.4); }
.ew-shop-page .ew-shop-banner-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0 30px; }
.ew-shop-page .ew-shop-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--s-bright); font-family: var(--s-head); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ew-shop-page .ew-shop-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--s-accent); }
.ew-shop-page .ew-shop-banner h1 { margin: 0 0 8px; color: #fff; font-family: var(--s-head); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.8px; }
.ew-shop-page .ew-shop-intro, .ew-shop-page .ew-shop-intro p { margin: 0; max-width: 700px; color: rgba(255,255,255,.78); font-size: 15px; }
.ew-shop-page .ew-shop-total { flex: none; padding: 12px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.06); text-align: center; line-height: 1.2; }
.ew-shop-page .ew-shop-total b { display: block; color: #fff; font-family: var(--s-head); font-size: 26px; font-weight: 800; }
.ew-shop-page .ew-shop-total span { color: var(--s-bright); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Two-column layout */
.ew-shop-page .ew-shop-layout { display: grid; grid-template-columns: var(--s-sidebar) minmax(0, 1fr); gap: 32px; align-items: start; }
.ew-shop-page .ew-shop-results { min-width: 0; }
.ew-shop-page .ew-shop-overlay { display: none; }

/* Sidebar — same card language as the Help Centre / Legal Information navigation */
.ew-shop-page .ew-shop-sidebar { position: sticky; top: 112px; min-width: 0; max-height: calc(100vh - 128px); display: flex; flex-direction: column; border: 0; border-radius: 0; background: transparent; }
.ew-shop-page .ew-side-head { display: none; }
.ew-shop-page .ew-side-scroll { display: grid; gap: 16px; overflow-y: auto; overscroll-behavior: contain; padding: 1px 1px 14px; scrollbar-width: thin; scrollbar-color: #c3d6d6 transparent; }
.ew-shop-page .ew-side-card { margin: 0; overflow: hidden; border: 1px solid #dceceb; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(9,45,53,.045); }
.ew-shop-page .ew-side-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 17px 13px; border-bottom: 1px solid #dceceb; background: #f8fbfb; }
.ew-shop-page .ew-side-card-head > span { color: #087f7d; font-family: var(--s-head); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ew-shop-page .ew-side-card-head small, .ew-shop-page .ew-side-card-head a { color: #829099; font-size: 11px; font-weight: 600; }
.ew-shop-page .ew-side-card-head a { color: #087f7d; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ew-shop-page .ew-filter-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 8px; padding: 0 5px; border-radius: 9px; background: var(--s-ink); color: var(--s-bright); font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1; }

/* Search */
.ew-shop-page .ew-side-search { display: flex; margin: 10px 10px 2px; border: 1px solid #dceceb; border-radius: 8px; background: #f8fbfb; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.ew-shop-page .ew-side-search:focus-within { border-color: var(--s-accent); background: #fff; box-shadow: 0 0 0 3px var(--s-accent-soft); }
.ew-shop-page .ew-side-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; background: transparent; color: var(--s-text); font: inherit; font-size: 13px; outline: 0; }
.ew-shop-page .ew-side-search button { display: grid; place-items: center; width: 42px; border: 0; background: transparent; color: #087f7d; cursor: pointer; }
.ew-shop-page .ew-side-search button:hover { color: var(--s-ink); }

/* Category rows: icon tile, label, count, chevron */
.ew-shop-page .ew-cat-list { margin: 0; padding: 8px; list-style: none; }
.ew-shop-page .ew-cat-depth-1, .ew-shop-page .ew-cat-depth-2, .ew-shop-page .ew-cat-depth-3 { margin: 0 0 4px 22px; padding: 2px 0 2px 8px; border-left: 1px solid #dceceb; }
.ew-shop-page .ew-cat-item { position: relative; margin: 0; padding: 0; }
.ew-shop-page .ew-cat-item[hidden] { display: none; }
.ew-shop-page .ew-cat-item a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 9px 10px; border-radius: 7px; color: #52616e; font-size: 13px; font-weight: 650; line-height: 1.35; transition: background .18s, color .18s; }
.ew-shop-page .ew-cat-depth-1 .ew-cat-item a, .ew-shop-page .ew-cat-depth-2 .ew-cat-item a { min-height: 34px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; }
.ew-shop-page .ew-cat-item a:hover { background: #f0f8f8; color: #087f7d; }
.ew-shop-page .ew-cat-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #dceceb; border-radius: 6px; background: #fff; color: #087f7d; }
.ew-shop-page .ew-cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ew-shop-page .ew-cat-count { flex: none; color: #829099; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ew-shop-page .ew-cat-arrow { flex: none; margin-left: 2px; color: #9aa8ae; font-size: 19px; line-height: 1; }
.ew-shop-page .ew-cat-item.is-current > a, .ew-shop-page .ew-cat-item.is-current > details > a { background: #e9f8f7; color: #075f60; font-weight: 800; }
.ew-shop-page .ew-cat-item.is-current > a .ew-cat-icon, .ew-shop-page .ew-cat-item.is-current > details > a .ew-cat-icon { border-color: #bfe6e4; }
.ew-shop-page .ew-cat-item.is-ancestor > a, .ew-shop-page .ew-cat-item.is-ancestor > details > a { color: #075f60; font-weight: 800; }
.ew-shop-page .ew-cat-item details { position: relative; }
.ew-shop-page .ew-cat-item details > summary { position: absolute; z-index: 1; top: 7px; right: 6px; width: 28px; height: 28px; border-radius: 6px; list-style: none; cursor: pointer; }
.ew-shop-page .ew-cat-item details > summary::-webkit-details-marker { display: none; }
.ew-shop-page .ew-cat-item details > summary::after { content: "\203A"; position: absolute; inset: 0; display: grid; place-items: center; color: #9aa8ae; font-size: 19px; line-height: 1; transition: transform .15s ease; }
.ew-shop-page .ew-cat-item details[open] > summary::after { transform: rotate(90deg); }
.ew-shop-page .ew-cat-item details > summary:hover { background: #f0f8f8; }
.ew-shop-page .ew-cat-item details > a { padding-right: 42px; }

/* "Show all" */
.ew-shop-page .ew-show-all { display: inline-flex; align-items: center; margin: 0 0 14px 18px; padding: 4px 0; border: 0; background: transparent; color: #087f7d; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.ew-shop-page .ew-show-all[hidden] { display: none; }
.ew-shop-page .ew-show-all:hover { color: var(--s-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Filter tabs inside the filter card */
.ew-shop-page .ew-side-tab { padding: 0 17px; border-bottom: 1px solid #e6efef; }
.ew-shop-page .ew-side-tab > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0 11px; color: #52616e; font-family: var(--s-head); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; list-style: none; cursor: pointer; }
.ew-shop-page .ew-side-tab > summary::-webkit-details-marker { display: none; }
.ew-shop-page .ew-side-tab > summary::after { content: "\203A"; color: #9aa8ae; font-size: 19px; line-height: 1; letter-spacing: 0; transform: rotate(90deg); transition: transform .15s ease; }
.ew-shop-page .ew-side-tab:not([open]) > summary::after { transform: none; }
.ew-shop-page .ew-side-tab > summary:hover { color: #087f7d; }
.ew-shop-page .ew-tab-body { padding: 0 0 14px; }
.ew-shop-page .ew-tab-body .ew-opt-list { margin: 0 -8px; }

/* Price */
.ew-shop-page .ew-price-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; color: #829099; }
.ew-shop-page .ew-price-fields input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #dceceb; border-radius: 8px; background: #f8fbfb; color: var(--s-text); font: inherit; font-size: 13px; -moz-appearance: textfield; }
.ew-shop-page .ew-price-fields input::-webkit-outer-spin-button, .ew-shop-page .ew-price-fields input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ew-shop-page .ew-price-fields input::placeholder { color: #8da1a3; }
.ew-shop-page .ew-price-fields input:focus { outline: 0; border-color: var(--s-accent); background: #fff; box-shadow: 0 0 0 3px var(--s-accent-soft); }
.ew-shop-page .ew-price-go { width: 100%; margin-top: 10px; min-height: 40px; }

/* Option lists (brand, availability, attributes) */
.ew-shop-page .ew-opt-list { margin: 0; padding: 0; list-style: none; }
.ew-shop-page .ew-opt-list li[hidden] { display: none; }
.ew-shop-page .ew-opt-scroll { max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.ew-shop-page .ew-opt-list label { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 10px; border-radius: 7px; color: #52616e; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .18s, color .18s; }
.ew-shop-page .ew-opt-list label:hover { background: #f0f8f8; color: #087f7d; }
.ew-shop-page .ew-opt-list label span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ew-shop-page .ew-opt-list label small { color: #829099; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ew-shop-page .ew-opt-list input { appearance: none; flex: none; width: 17px; height: 17px; margin: 0; border: 1.5px solid #9db3b4; border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer; }
.ew-shop-page .ew-opt-list input::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border: solid var(--s-accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .12s ease; }
.ew-shop-page .ew-opt-list input:checked { border-color: var(--s-accent); background: var(--s-accent); }
.ew-shop-page .ew-opt-list input:checked::before { transform: rotate(-45deg) scale(1); }
.ew-shop-page .ew-opt-list label:has(input:checked) { background: #e9f8f7; color: #075f60; font-weight: 800; }
.ew-shop-page .ew-opt-list input:focus-visible, .ew-shop-page .ew-cat-item a:focus-visible, .ew-shop-page summary:focus-visible, .ew-shop-page .ew-show-all:focus-visible { outline: 2px solid var(--s-ink); outline-offset: 2px; }
.ew-shop-page .ew-filter-actions { display: grid; gap: 8px; padding: 16px 17px 18px; }

/* Buttons */
.ew-shop-page .ew-btn-apply, .ew-shop-page .ew-btn-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 8px; font-family: var(--s-head); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: center; cursor: pointer; }
.ew-shop-page .ew-btn-apply { gap: 4px; border: 1px solid var(--s-accent); background: var(--s-accent); color: var(--s-accent-ink); }
.ew-shop-page .ew-btn-apply:hover { border-color: var(--s-ink); background: var(--s-ink); color: #fff; }
.ew-shop-page .ew-btn-reset { border: 1px solid var(--s-border); background: var(--s-surface); color: var(--s-text); }
.ew-shop-page .ew-btn-reset:hover { border-color: var(--s-ink); }

/* Toolbar */
.ew-shop-page .ew-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 0 0 14px; border-bottom: 1px solid var(--s-border); }
.ew-shop-page .ew-toolbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ew-shop-page .ew-shop-result-count .woocommerce-result-count { float: none; margin: 0; color: var(--s-muted); font-size: 14px; }
.ew-shop-page .ew-shop-sort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.ew-shop-page .ew-shop-sort label { color: var(--s-muted); font-size: 13px; }
.ew-shop-page .ew-shop-sort select { width: auto; max-width: 200px; padding: 9px 30px 9px 11px; border: 1px solid var(--s-border); border-radius: 8px; background-color: var(--s-surface); color: var(--s-text); font: inherit; font-size: 14px; }
.ew-shop-page .ew-shop-sort select:focus { outline: 0; border-color: var(--s-ink); box-shadow: 0 0 0 3px var(--s-accent-soft); }
.ew-shop-page .ew-shop-filter-open { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--s-accent); border-radius: 8px; background: var(--s-accent); color: var(--s-accent-ink); font-family: var(--s-head); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }

/* Active filter chips */
.ew-shop-page .ew-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.ew-shop-page .ew-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--s-border); border-radius: 999px; background: var(--s-soft); color: var(--s-ink); font-size: 13px; font-weight: 600; }
.ew-shop-page .ew-chip:hover { border-color: var(--s-ink); }
.ew-shop-page .ew-chip-clear { color: var(--s-muted); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Product grid: 5 / 4 / 3 / 2 columns */
.ew-shop-page .ew-shop-results ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.ew-shop-page .ew-no-results .woocommerce-info { margin: 0 0 14px; }

/* Card */
.ew-shop-page ul.products li.product { padding: 0 0 14px; border: 1px solid var(--s-border); border-radius: 12px; box-shadow: none; transform: none; background: var(--s-surface); }
.ew-shop-page ul.products li.product:hover { border-color: var(--s-accent); box-shadow: none; transform: none; }
.ew-shop-page ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }

/* Square 1:1 image container */
.ew-shop-page ul.products li.product .ew-card-image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; margin: 0 0 12px; overflow: hidden; border-bottom: 1px solid var(--s-border); background: var(--s-surface); }
.ew-shop-page ul.products li.product .ew-card-image img { display: block; width: 100%; height: 100%; margin: 0 !important; padding: 0; border: 0; background: transparent; aspect-ratio: auto; object-fit: contain; object-position: center; }
.ew-shop-page ul.products li.product .ew-card-image.is-cover img { object-fit: cover; }

/* Card text */
.ew-shop-page ul.products li.product .onsale { top: 10px; left: 10px; background: var(--s-accent); color: var(--s-accent-ink); border-radius: 5px; }
.ew-shop-page ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
.ew-shop-page ul.products li.product .star-rating { float: none; margin: 0 14px 6px; font-size: 12px; color: var(--ew-teal, #0bbfc0); }
.ew-shop-page ul.products li.product .price { margin-top: auto; font-size: 17px; }

/* Add to cart — bag icon button, bottom left. Native WooCommerce link kept (AJAX, variations, loading/added states). */
.ew-shop-page ul.products li.product a.button { align-self: flex-start; display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; min-width: 44px; margin: 12px 14px 0; padding: 0; overflow: hidden; border-radius: 10px; font-size: 0; line-height: 1; text-indent: -9999px; transition: background .16s ease, border-color .16s ease; }
.ew-shop-page ul.products li.product a.button::before { display: block; background: var(--s-accent-ink); }
.ew-shop-page ul.products li.product a.button:hover { border-color: var(--s-ink) !important; background: var(--s-ink) !important; transform: none; }
.ew-shop-page ul.products li.product a.button:hover::before { background: #fff; }
.ew-shop-page ul.products li.product a.button.loading::after { border-color: var(--s-accent-ink); border-right-color: transparent; }
.ew-shop-page ul.products li.product a.button.added::after { background: var(--s-accent); color: var(--s-accent-ink); }
.ew-shop-page ul.products li.product a.button.added:hover::after { background: var(--s-ink); color: #fff; }
.ew-shop-page ul.products li.product a.added_to_cart { align-self: flex-start; display: block; margin: 6px 14px 0; color: var(--s-ink); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Pagination */
.ew-shop-page .woocommerce-pagination { margin-top: 8px; }
.ew-shop-page .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.ew-shop-page .woocommerce-pagination ul li { float: none; border: 0; overflow: visible; }
.ew-shop-page .woocommerce-pagination ul li a, .ew-shop-page .woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--s-border); border-radius: 8px; color: var(--s-text); font-size: 14px; font-weight: 600; }
.ew-shop-page .woocommerce-pagination ul li a:hover { border-color: var(--s-ink); background: var(--s-surface); }
.ew-shop-page .woocommerce-pagination ul li span.current { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-accent-ink); font-weight: 800; }

/* ≤1199: 3 columns beside the sidebar */
@media (max-width: 1199px) { .ew-shop-page .ew-shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ≥1200 and <1380: 4 columns */
@media (min-width: 1200px) and (max-width: 1379px) { .ew-shop-page .ew-shop-results ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Tablet / mobile: sidebar becomes a drawer (only when JS is available) */
@media (max-width: 980px) {
  .ew-shop-page.wrap { padding: 0 16px 40px; }
  .ew-shop-page .ew-shop-banner { padding: 16px 20px 0; margin: 12px 0 18px; }
  .ew-shop-page .ew-shop-banner-row { padding: 20px 0 22px; }
  .ew-shop-page .ew-shop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ew-shop-page .ew-shop-sidebar { position: static; max-height: none; margin-bottom: 18px; }
  .ew-shop-page .ew-side-scroll { overflow: visible; padding-bottom: 0; }
  .ew-js .ew-shop-page .ew-shop-filter-open { display: inline-flex; }
  .ew-js .ew-shop-page .ew-shop-sidebar { position: fixed; z-index: 1001; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); max-height: none; margin: 0; border: 0; border-radius: 0; visibility: hidden; transform: translateX(-102%); background: #fff; transition: transform .25s ease, visibility 0s linear .25s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .ew-js .ew-shop-page .ew-shop-sidebar.is-open { visibility: visible; transform: none; transition: transform .25s ease; }
  .ew-js .ew-shop-page .ew-side-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 24px; }
  .ew-js .ew-shop-page .ew-side-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--s-border); }
  .ew-js .ew-shop-page .ew-side-head h2 { margin: 0; font-size: 17px; }
  .ew-js .ew-shop-page .ew-side-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--s-border); border-radius: 8px; background: var(--s-surface); color: var(--s-ink); font-size: 24px; line-height: 1; cursor: pointer; }
  .ew-js .ew-shop-page .ew-shop-overlay { position: fixed; z-index: 1000; inset: 0; background: rgba(3, 31, 35, .55); }
  .ew-js .ew-shop-page .ew-shop-overlay:not([hidden]) { display: block; }
  .ew-shop-page .ew-shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ew-shop-page .ew-shop-toolbar { flex-direction: column; align-items: stretch; }
  .ew-shop-page .ew-shop-sort { justify-content: space-between; }
  .ew-shop-page .ew-shop-sort select { flex: 1; max-width: none; min-height: 44px; }
}
body.ew-drawer-open { overflow: hidden; }

@media (max-width: 700px) {
  .ew-shop-page .ew-shop-banner-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ew-shop-page .ew-shop-total { padding: 8px 14px; text-align: left; }
  .ew-shop-page .ew-shop-total b { display: inline; font-size: 18px; }
  .ew-shop-page .ew-shop-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ew-shop-page ul.products li.product { padding-bottom: 11px; border-radius: 9px; }
  .ew-shop-page ul.products li.product .woocommerce-loop-product__title { margin-left: 10px; margin-right: 10px; font-size: 13px; }
  .ew-shop-page ul.products li.product a.added_to_cart { margin-left: 10px; }
  .ew-shop-page ul.products li.product .ew-loop-brand, .ew-shop-page ul.products li.product .ew-loop-stock, .ew-shop-page ul.products li.product .price { margin-left: 10px; margin-right: 10px; }
  .ew-shop-page ul.products li.product .star-rating { margin-left: 10px; margin-right: 10px; }
  .ew-shop-page ul.products li.product .price { font-size: 15px; }
  .ew-shop-page ul.products li.product a.button { margin: 10px 10px 0; width: 40px; height: 40px; min-width: 40px; }
  .ew-shop-page .ew-shop-sort label { display: none; }
}
@media (max-width: 340px) { .ew-shop-page .ew-shop-results ul.products { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .ew-js .ew-shop-page .ew-shop-sidebar, .ew-shop-page .ew-filter-group > summary::after { transition: none; }
}


/* 2.16.0 — Shop by Category directory and category archive subcategory cards */
.ew-shop-page { --ew-category-accent: #4ae5e0; }
.ew-shop-page .ew-category-directory { margin: 0 0 30px; padding: 24px; border: 1px solid var(--s-border); border-radius: 14px; background: var(--s-surface); }
.ew-shop-page .ew-category-directory-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 0 18px; }
.ew-shop-page .ew-category-directory-heading h2 { margin:3px 0 5px; color:var(--s-ink); font-family:var(--s-head); font-size:clamp(20px,2.2vw,27px); line-height:1.2; }
.ew-shop-page .ew-category-directory-heading p { margin:0; color:var(--s-muted); font-size:13px; }
.ew-shop-page .ew-category-directory-kicker { color:#087f7d; font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.ew-shop-page .ew-category-directory-count { flex:none; padding:7px 11px; border-radius:20px; background:rgba(74,229,224,.2); color:#073d40; font-size:11px; font-weight:800; }
.ew-shop-page .ew-category-directory-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:13px; }
.ew-shop-page .ew-category-directory-card { position:relative; display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid var(--s-border); border-radius:11px; background:#fff; color:var(--s-ink); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.ew-shop-page .ew-category-directory-card:hover { transform:translateY(-3px); border-color:var(--ew-category-accent); box-shadow:0 10px 25px rgba(9,45,53,.09); }
.ew-shop-page .ew-category-directory-art { display:grid; place-items:center; width:100%; aspect-ratio:1/1; overflow:hidden; background:linear-gradient(145deg,#f2f8f8,#e8f3f3); }
.ew-shop-page .ew-category-art-img { display:block; width:100%; height:100%; object-fit:cover; }
.ew-shop-page .ew-category-art-fallback { width:100%; height:100%; object-fit:cover; }
.ew-shop-page .ew-category-directory-name { display:flex; align-items:center; min-height:52px; padding:10px 30px 10px 12px; font-size:12px; font-weight:800; line-height:1.3; }
.ew-shop-page .ew-category-directory-arrow { position:absolute; right:10px; bottom:14px; color:#087f7d; font-size:15px; }
.ew-shop-page .ew-category-directory-children { padding-top:20px; padding-bottom:20px; }
.ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(5,minmax(0,1fr)); }
.ew-shop-page .ew-category-directory-grid-children .ew-category-directory-name { min-height:46px; }
.ew-shop-page .ew-cat-item.is-current > a, .ew-shop-page .ew-cat-item.is-current > details > a { background:rgba(74,229,224,.22); color:#073d40; box-shadow:inset 3px 0 0 #4ae5e0; }
.ew-shop-page .ew-cat-item.is-current > a .ew-cat-icon, .ew-shop-page .ew-cat-item.is-current > details > a .ew-cat-icon { border-color:#4ae5e0; background:rgba(74,229,224,.16); }
.ew-shop-page .ew-cat-item a:hover { background:rgba(74,229,224,.12); color:#075f60; }
@media (max-width:1379px) {
 .ew-shop-page .ew-category-directory-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:980px) {
 .ew-shop-page .ew-category-directory { padding:18px; }
 .ew-shop-page .ew-category-directory-grid, .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
 .ew-shop-page .ew-category-directory { padding:14px; margin-bottom:22px; }
 .ew-shop-page .ew-category-directory-heading { align-items:flex-start; }
 .ew-shop-page .ew-category-directory-count { display:none; }
 .ew-shop-page .ew-category-directory-grid, .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 .ew-shop-page .ew-category-directory-name { min-height:48px; font-size:11px; padding:8px 25px 8px 9px; }
}

/* 2.16.3 — icon-led department directory; no category image tiles */
.ew-shop-page .ew-category-directory-art{display:grid;place-items:center;width:100%;aspect-ratio:1/1;overflow:hidden;background:linear-gradient(145deg,#f0fbfa,#e8f4f4)}
.ew-shop-page .ew-category-directory-art .ew-category-icon{width:clamp(34px,4vw,48px);height:clamp(34px,4vw,48px);padding:8px;box-sizing:content-box;border-radius:15px;background:#fff;color:#087f7d;box-shadow:0 7px 20px rgba(3,31,35,.07)}
.ew-shop-page .ew-category-art-img,.ew-shop-page .ew-category-art-fallback{display:none!important}


/* 2.16.15 — Illustrated department tiles, six across (18 departments = 3 rows). */
.ew-shop-page .ew-category-directory-grid,
.ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(6,minmax(0,1fr)); gap:13px; }
.ew-shop-page .ew-category-directory-card { border-radius:18px; }
.ew-shop-page .ew-category-directory-art { display:block; width:100%; aspect-ratio:1.32/1; overflow:hidden; background:#eef7fb; }
.ew-shop-page .ew-category-directory-art .ew-category-art-img { display:block!important; width:100%; height:100%; object-fit:cover; }
.ew-shop-page .ew-category-directory-name { min-height:48px; padding:10px 12px 2px; font-size:13px; line-height:1.3; }
.ew-shop-page .ew-category-directory-count-products { display:block; padding:0 12px 11px; color:var(--s-muted); font-size:11px; line-height:1.3; }
.ew-shop-page .ew-category-directory-arrow { display:none; }
@media (max-width:980px) {
 .ew-shop-page .ew-category-directory-grid,
 .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
 .ew-shop-page .ew-category-directory-grid,
 .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 .ew-shop-page .ew-category-directory-name { min-height:44px; font-size:12px; }
}


/* 2.16.17 — restore Shop breadcrumb and icon-led department cards */
.ew-shop-page .ew-shop-breadcrumb-main {
  display:flex; align-items:center; gap:9px; margin:0 0 14px; padding:8px 2px;
  color:#667780; font-size:12px; font-weight:600; letter-spacing:.01em;
}
.ew-shop-page .ew-shop-breadcrumb-main a { color:#087f7d; text-decoration:none; }
.ew-shop-page .ew-shop-breadcrumb-main a:hover { color:#064e50; text-decoration:underline; }
.ew-shop-page .ew-shop-breadcrumb-main .ew-bc-sep { color:#9aabad; }
.ew-shop-page .ew-category-directory-main { margin-top:0; }
.ew-shop-page .ew-category-directory-grid,
.ew-shop-page .ew-category-directory-grid-children {
  grid-template-columns:repeat(6,minmax(0,1fr)); gap:13px;
}
.ew-shop-page .ew-category-directory-card {
  display:flex; flex-direction:column; min-height:225px; padding:12px;
  border:1px solid #e3e9e8; border-radius:15px; background:#fff;
  box-shadow:0 2px 7px rgba(12,48,52,.035); text-decoration:none;
}
.ew-shop-page .ew-category-directory-art {
  display:grid; place-items:center; width:100%; height:112px; aspect-ratio:auto;
  border-radius:10px; overflow:hidden;
  background:linear-gradient(135deg,#edf9f8 0%,#f2f8f8 55%,#f4f8f5 100%);
}
.ew-shop-page .ew-category-directory-card:nth-child(5n+2) .ew-category-directory-art { background:linear-gradient(135deg,#eff9f1,#f5faf2); }
.ew-shop-page .ew-category-directory-card:nth-child(5n+3) .ew-category-directory-art { background:linear-gradient(135deg,#eef7fb,#f4f8fa); }
.ew-shop-page .ew-category-directory-card:nth-child(5n+4) .ew-category-directory-art { background:linear-gradient(135deg,#f5f7f1,#faf9f4); }
.ew-shop-page .ew-category-directory-card:nth-child(5n) .ew-category-directory-art { background:linear-gradient(135deg,#f0f6fa,#f6f8fa); }
.ew-shop-page .ew-category-icon-tile {
  display:grid; place-items:center; width:66px; height:66px; border-radius:18px;
  background:#fff; color:#087f7d; box-shadow:0 7px 20px rgba(3,31,35,.08);
}
.ew-shop-page .ew-category-icon-tile .ew-category-icon { display:block; width:36px; height:36px; padding:0; color:inherit; }
.ew-shop-page .ew-category-directory-name {
  display:block; min-height:0; padding:12px 0 0; color:#102f33;
  font-size:12px; font-weight:800; line-height:1.35;
}
.ew-shop-page .ew-category-directory-description {
  display:block; padding:7px 0 18px; color:#6b7779; font-size:11px; line-height:1.45;
}
.ew-shop-page .ew-category-directory-arrow {
  right:13px; bottom:10px; color:#087f7d; font-size:15px;
}
.ew-shop-page .ew-category-art-img,.ew-shop-page .ew-category-art-fallback { display:none!important; }
@media (max-width:1200px) {
  .ew-shop-page .ew-category-directory-grid,
  .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .ew-shop-page .ew-category-directory-grid,
  .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .ew-shop-page .ew-category-directory { padding:14px; }
  .ew-shop-page .ew-category-directory-grid,
  .ew-shop-page .ew-category-directory-grid-children { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .ew-shop-page .ew-category-directory-card { min-height:205px; padding:9px; }
  .ew-shop-page .ew-category-directory-art { height:96px; }
  .ew-shop-page .ew-category-directory-description { font-size:11px; }
}


/* 2.16.18 — Shop department cards deliberately reuse the homepage icon-card design. */
.ew-shop-page .ew-category-directory-grid,
.ew-shop-page .ew-category-directory-grid-children {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.ew-shop-page .ew-category-directory-card,
.ew-shop-page .ew-category-directory-card.ew-category-card-original {
  display:flex; flex-direction:column; position:relative; min-width:0; min-height:225px;
  padding:13px 14px 17px; overflow:hidden; border:1px solid #e0ebeb;
  border-radius:13px; background:#fff; color:#06272b; box-shadow:0 5px 18px rgba(3,31,35,.035);
  text-decoration:none; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.ew-shop-page .ew-category-directory-card:hover,
.ew-shop-page .ew-category-directory-card:focus-visible {
  background:#f8fefe; border-color:#087f80; box-shadow:0 13px 30px rgba(3,31,35,.09); transform:translateY(-3px);
}
.ew-shop-page .ew-category-directory-card .ew-category-visual {
  display:flex; align-items:center; justify-content:center; width:auto; height:112px; min-height:112px;
  margin:-1px -1px 13px; border-radius:9px; background:linear-gradient(135deg,#eafafa,#f3f8f8); overflow:hidden;
}
.ew-shop-page .ew-category-directory-card .ew-category-icon-wrap {
  display:grid; place-items:center; flex:0 0 66px; width:66px; height:66px;
  border-radius:20px; background:#fff; box-shadow:0 8px 24px rgba(3,31,35,.08); color:#087f80;
}
.ew-shop-page .ew-category-directory-card .ew-category-icon-wrap .ew-category-icon {
  display:block; width:42px; height:42px; max-width:42px; max-height:42px; padding:0;
  border:0; border-radius:0; background:transparent; box-shadow:none; color:#087f80;
}
.ew-shop-page .ew-category-directory-card .ew-category-name {
  display:block; min-height:0; margin:0; padding:0 14px 0 0; color:#06272b;
  font-size:12px; font-weight:800; line-height:1.35;
}
.ew-shop-page .ew-category-directory-card .ew-category-desc {
  display:block; margin-top:6px; padding:0 0 13px; color:#617779; font-size:11px; line-height:1.45;
}
.ew-shop-page .ew-category-directory-card .ew-category-arrow {
  position:absolute; right:13px; bottom:13px; color:#087f80; font-size:15px; line-height:1;
}
.ew-shop-page .ew-category-directory-card .ew-category-art-img,
.ew-shop-page .ew-category-directory-card .ew-category-art-fallback { display:none!important; }
.ew-shop-page .ew-category-directory-card .ew-visual-solar-energy {background:linear-gradient(135deg,#e9f8f4,#f6fbef)}
.ew-shop-page .ew-category-directory-card .ew-visual-medical-healthcare {background:linear-gradient(135deg,#eff8fb,#f5f9fc)}
.ew-shop-page .ew-category-directory-card .ew-visual-safety-ppe {background:linear-gradient(135deg,#f4f7f2,#f9faf4)}
.ew-shop-page .ew-category-directory-card .ew-visual-corporate-branding {background:linear-gradient(135deg,#f5effb,#fbf8fd)}
.ew-shop-page .ew-category-directory-card .ew-visual-cleaning-hygiene {background:linear-gradient(135deg,#eaf7f7,#f3fbfb)}
.ew-shop-page .ew-category-directory-card .ew-visual-security-solutions {background:linear-gradient(135deg,#edf1f7,#f7f9fc)}
.ew-shop-page .ew-category-directory-card .ew-visual-packaging {background:linear-gradient(135deg,#f8f2e9,#fcfaf5)}
.ew-shop-page .ew-category-directory-card .ew-visual-facilities-maintenance {background:linear-gradient(135deg,#eff3f2,#f8faf9)}
.ew-shop-page .ew-category-directory-card .ew-visual-technology-it {background:linear-gradient(135deg,#eafafa,#f3f8f8)}
.ew-shop-page .ew-category-directory-card .ew-visual-office-solutions {background:linear-gradient(135deg,#edf5fa,#f7fafc)}
.ew-shop-page .ew-category-directory-card .ew-visual-furniture {background:linear-gradient(135deg,#f3f1eb,#faf9f5)}
.ew-shop-page .ew-category-directory-card .ew-visual-phones-tablets-wearables {background:linear-gradient(135deg,#eef1fa,#f8f9fd)}
@media(max-width:1200px){.ew-shop-page .ew-category-directory-grid,.ew-shop-page .ew-category-directory-grid-children{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.ew-shop-page .ew-category-directory-grid,.ew-shop-page .ew-category-directory-grid-children{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .ew-shop-page .ew-category-directory-grid,.ew-shop-page .ew-category-directory-grid-children{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ew-shop-page .ew-category-directory-card{min-height:205px;padding:10px}
 .ew-shop-page .ew-category-directory-card .ew-category-visual{height:96px;min-height:96px}
 .ew-shop-page .ew-category-directory-card .ew-category-icon-wrap{width:55px;height:55px;flex-basis:55px;border-radius:17px}
 .ew-shop-page .ew-category-directory-card .ew-category-icon-wrap .ew-category-icon{width:36px;height:36px;max-width:36px;max-height:36px}
}


/* 2.16.20 — Shop page: five department cards per desktop row (18 departments = four rows). */
@media (min-width:1201px) {
  .ew-shop-page .ew-category-directory-grid,
  .ew-shop-page .ew-category-directory-grid-children {
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
  }
}
