/* =============================================================
   Homesavers — Category archive (taxonomy-product_cat.php)
   Loads after site.css + homepage.css (shared product-card / owl).
   Figma: 3_1920w Garden.

   1.  Shop layout (sidebar 280 + main)
   2.  Title + subcategory pill carousel
   3.  Hero + subcategory thumbnail carousel
   4.  Filter sidebar + category tree
   5.  Price slider
   6.  Toolbar + count
   7.  Product grid
   8.  SEO content
   9.  Responsive
   ============================================================= */

/* 1. Shop layout ------------------------------------------------- */
.hs-shop-layout {
	display: grid;
	grid-template-columns: 280px 1fr; /* left sidebar 280px */
	gap: 35px;                        /* sidebar <-> main gap */
	align-items: start;
	margin: 12px 0 56px;              /* 12px gap under breadcrumb */
}
.hs-shop-main { min-width: 0; }
/* Figma: filter section has a right divider line separating it from the products. */
.hs-shop-sidebar { border-right: 1px solid var(--hs-line); padding-right: 16px; }

/* Breadcrumb styling is global (site.css). */

/* 2. Title + subcategory pill carousel --------------------------- */
.hs-shop__title {
	font-family: 'poppinsbold', var(--hs-font);
	font-size: clamp(1.75rem, 4vw, 40px);
	line-height: 1.1;
	text-align: center;
	color: var(--hs-red); /* #DC2B38 */
	margin: 4px 0 30px;    /* title -> nav gap 30px */
}

/* Search results summary line ("Your search for … produced N results"). */
.hs-search-summary {
	text-align: center;
	font-size: 16px;
	color: var(--hs-ink);
	margin: 0 0 24px;
}
.hs-search-summary strong { font-family: 'poppinsbold', var(--hs-font); }
.hs-search-list { list-style: none; padding: 0; max-width: 700px; margin: 24px auto; }
.hs-search-list li { padding: 10px 0; border-bottom: 1px solid var(--hs-line); }
.hs-search-list a { color: var(--hs-ink); text-decoration: none; font-family: 'poppinssemibold', var(--hs-font); }
.hs-search-list a:hover { color: var(--hs-green); text-decoration: underline; }

.hs-shop-nav-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;   /* nav -> hero gap 32px */
}
/* Fade the pills out at both edges (near the arrows). */
.hs-shop-nav-wrap::before,
.hs-shop-nav-wrap::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	width: 48px;
	z-index: 2;
	pointer-events: none;
}
.hs-shop-nav-wrap::before { left: 17px; background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)); opacity: 0; transition: opacity .2s ease; }
.hs-shop-nav-wrap::after { right: 17px; background: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)); opacity: 0; transition: opacity .2s ease; }
.hs-shop-nav-wrap.can-prev::before { opacity: 1; }
.hs-shop-nav-wrap.can-next::after { opacity: 1; }
.hs-shop-nav {
	display: flex;
	gap: 12px;             /* each pill gap 12px */
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1 1 auto;
}
.hs-shop-nav::-webkit-scrollbar { display: none; }
.hs-shop-nav__pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border: 0;
	border-radius: 6px;
	background: #F3F4F6;
	font-family: var(--hs-font);
	font-weight: 500;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0;
	color: #111827;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hs-shop-nav__pill:hover { border-color: var(--hs-green); color: var(--hs-green); }
.hs-shop-nav__pill.is-active {
	background: var(--hs-green);
	border-color: var(--hs-green);
	color: #fff;
}
.hs-shop-nav__arrow {
	flex: 0 0 auto;
	width: 20px; height: 34px;
	padding: 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23111827' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
	cursor: pointer;
	position: relative;
	z-index: 3;
}
.hs-shop-nav__arrow--prev { transform: scaleX(-1); }
.hs-shop-nav__arrow[hidden] { display: none; }

/* 3. Hero + subcategory thumbnail carousel ----------------------- */
.hs-shop-hero {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;   /* hero radius 4px */
	line-height: 0;
	margin-bottom: 55px;  /* hero <-> thumbnails gap */
}
.hs-shop-hero__img { width: 100%; height: 100%; aspect-ratio: 826 / 480; object-fit: cover; display: block; }
.hs-shop-hero__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	line-height: 0;
}
.hs-shop-hero__badge img { display: block; width: 56px; height: 56px; }

.hs-shop-thumbs {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 0;
}
.hs-shop-results { margin-top: 40px; } /* thumbnails -> toolbar gap */
.hs-shop-thumbs__track {
	display: flex;
	gap: 20px;               /* thumbnail gap */
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1 1 auto;
}
.hs-shop-thumbs__track::-webkit-scrollbar { display: none; }
/* Figma: track shows exactly 4 thumbnails (161px each, 20px gaps). Make the
   thumb width track-relative so 4 are always fully visible, whatever the
   column width; the 5th+ overflow and scroll. */
.hs-shop-thumb {
	flex: 0 0 calc((100% - 60px) / 4);   /* 4 per view, 3 x 20px gaps */
	aspect-ratio: 1 / 1;                  /* square */
	display: block;
	line-height: 0;
	overflow: hidden;
	border-radius: 12px;     /* radius 12px */
}
/* Fill the fixed 160x160 box. !important beats WooCommerce's
   `.woocommerce img { height:auto; max-width:100% }` (specificity 0,1,1),
   which otherwise forces the height to auto and shrinks the image. */
.hs-shop-thumb__img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
	border-radius: 12px;
}
.hs-shop-thumbs__arrow {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	/* Attached chevron-right.svg (#111827). Prev is mirrored below. */
	background: #f3f4f6 url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23111827' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}
.hs-shop-thumbs__arrow--prev { transform: scaleX(-1); }
.hs-shop-thumbs__arrow[hidden] { display: none; }
/* Thumb arrows stay visible always; dimmed when there's nothing more to scroll. */
.hs-shop-thumbs__arrow.is-disabled { opacity: .35; cursor: default; }

/* Dots below the thumbnails (top margin 25px), site slider style. */
.hs-shop-thumbs__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 25px;
}
.hs-shop-thumbs__dots:empty { display: none; }
.hs-shop-thumbs__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 4px;
	background: var(--hs-dot);
	cursor: pointer;
}
.hs-shop-thumbs__dots button.is-active { background: var(--hs-dot-active); }

/* 4. Filter sidebar + category tree ------------------------------ */
.hs-filters { display: flex; flex-direction: column; gap: 0; }

.hs-filter { border: 0; }
.hs-filter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 15px 16px 15px 0;               /* Figma head padding, no left */
	background: none;
	border: 0;
	cursor: pointer;
	font-family: 'poppinsbold', var(--hs-font);
	font-size: 14px;
	line-height: 1.2;
	color: #000;
	text-align: left;
}
.hs-filter__head--static { cursor: default; }
.hs-filter__head.is-green { color: var(--hs-green); }
.hs-cattree .hs-filter__head { border-bottom: 1px solid #E5E7EB; } /* Categories divider */
.hs-filter__chevron { flex: 0 0 auto; width: 12px; height: 7px; transition: transform .2s ease; }
.hs-filter__head[aria-expanded="true"] .hs-filter__chevron { transform: rotate(180deg); }
.hs-filter__body { padding: 0 0 4px; }
.hs-filter__head[aria-expanded="false"] + .hs-filter__body { display: none; }

.hs-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	text-decoration: none;
	color: #000;
}
.hs-check.is-more { display: none; }
.hs-filter.is-open .hs-check.is-more { display: flex; }
.hs-check__box {
	flex: 0 0 auto;
	width: 18px; height: 18px;
	border: 1px solid #D1D5DB;               /* checkbox border */
	border-radius: 4px;
	background: #fff;
	position: relative;
	top: -1px;
}
.hs-check__box.is-on { background: var(--hs-green); border-color: var(--hs-green); }
.hs-check__box.is-on::after {
	content: "";
	position: absolute; left: 5px; top: 1px;
	width: 5px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.hs-check__label { flex: 1 1 auto; font-family: var(--hs-font); font-size: 14px; line-height: 1.3; color: #111827; }
.hs-check__count { flex: 0 0 auto; font-family: var(--hs-font); font-size: 12px; color: #6b7280; }

.hs-filter__more {
	display: inline-block;
	margin: 4px 0 0 16px;
	padding: 4px 0;
	background: none; border: 0; cursor: pointer;
	font-family: var(--hs-font-semibold);
	font-size: 14px;
	color: rgba(0, 0, 0, .3);
}
.hs-filter.is-open .hs-filter__more { display: none; }

/* Category tree */
.hs-cattree__list { list-style: none; margin: 4px 0 8px; padding: 0 16px; }
.hs-cattree__anc { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.hs-cattree__anc a { font-family: var(--hs-font-semibold); font-size: 14px; color: var(--hs-green); text-decoration: none; }
.hs-cattree__current { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.hs-cattree__label { font-family: var(--hs-font-semibold); font-size: 14px; color: var(--hs-green); }
.hs-cattree__kids { list-style: none; margin: 4px 0 0; padding: 0; }
.hs-cattree__kids li a {
	display: flex;
	align-items: flex-start; /* arrow aligns to the first line when the name wraps */
	gap: 8px;
	padding: 7px 0;
	text-decoration: none;
	font-family: var(--hs-font);
	font-size: 14px;
	line-height: 1.4;
	color: #111827;
}
.hs-cattree__chev {
	flex: 0 0 auto;
	width: 6px; height: 6px;
	border-right: 2px solid var(--hs-green);
	border-top: 2px solid var(--hs-green);
	transform: rotate(45deg); /* › right */
}
/* Centre the › on the FIRST text line (not the block) when the name wraps. */
.hs-cattree__kids .hs-cattree__chev { margin-top: 7px; }
.hs-cattree__chev--down {
	border: 0;
	border-right: 2px solid var(--hs-green);
	border-bottom: 2px solid var(--hs-green); /* ⌄ down */
	margin-bottom: 3px;
}
.hs-cattree__name { flex: 1 1 auto; }
.hs-cattree__kids li a:hover .hs-cattree__name { color: var(--hs-green); }
/* Current sub-category highlighted, with its products nested beneath. */
.hs-cattree__kids li.is-current > a .hs-cattree__name { font-family: var(--hs-font-semibold); color: var(--hs-green); }
.hs-cattree__products { list-style: none; margin: 2px 0 6px; padding: 0 0 0 16px; }
.hs-cattree__products li a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 0;
	text-decoration: none;
	font-family: var(--hs-font);
	font-size: 13px;
	line-height: 1.4;
	color: #4b5563;
}
.hs-cattree__products .hs-cattree__chev { margin-top: 6px; }
.hs-cattree__products li a:hover .hs-cattree__name { color: var(--hs-green); }
.hs-cattree__kids li.is-more { display: none; }
.hs-cattree__kids.is-open li.is-more { display: block; }
.hs-cattree__more-wrap { padding-top: 10px; }
.hs-cattree__kids.is-open .hs-cattree__more-wrap { display: none; }
.hs-cattree__more {
	margin-left: 14px;
	padding: 4px 0;
	background: none; border: 0; cursor: pointer;
	font-family: var(--hs-font-semibold);
	font-size: 14px;
	color: rgba(0, 0, 0, .5);
}
.hs-filter__more { margin-top: 12px; margin-bottom: 10px; }

.hs-filters__reset-wrap { background: rgba(217, 217, 217, .3); padding: 10px 25px; margin-top: 77px; } /* #D9D9D94D, 77px from price */
.hs-filters__reset {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 5px 22px;
	border: 1px solid rgba(0, 0, 0, .16); /* #00000029 */
	border-radius: 8px;
	background: #fff;
	font-family: var(--hs-font);
	font-size: 16px;
	color: #000;
	text-decoration: none;
}
.hs-filters__reset:hover { background: #fafafa; }
.hs-filters__reset-ico { flex: 0 0 auto; color: #000; }

/* 5. Price slider (Figma: £min/£max above a grey track, green square handles) */
.hs-filter--price .hs-filter__body { padding: 0 16px 6px; }
.hs-price__vals {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--hs-font-semibold);
	font-size: 16px;
	color: #000;
	margin-bottom: 14px;
}
.hs-price__chip { border: 0; padding: 0; }
.hs-price__track {
	position: relative;
	height: 12px;
	background: #D9D9D9;
	border-radius: 6px;
	margin: 8px 12px 6px;
}
/* Selected range, positioned by garden.js paint(). Was display:none, so the
   track gave no feedback while dragging — the numbers moved but the bar did
   not. Brand green to match the handles. */
.hs-price__fill {
	position: absolute;
	top: 0;
	height: 100%;
	background: var(--hs-green);
	border-radius: 6px;
	pointer-events: none;
}
.hs-price__range {
	position: absolute;
	top: 50%;
	left: -12px;
	width: calc(100% + 24px);
	margin: 0;
	transform: translateY(-50%);
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: none !important;
	pointer-events: none;
}
.hs-price__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	width: 24px; height: 24px;
	border-radius: 6px;
	background: var(--hs-green);
	border: 0;
	cursor: pointer;
}
.hs-price__range::-moz-range-thumb {
	pointer-events: auto;
	width: 24px; height: 24px;
	border-radius: 6px;
	background: var(--hs-green);
	border: 0;
	cursor: pointer;
}

/* 6. Toolbar + count --------------------------------------------- */
.hs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: rgba(217, 217, 217, .3); /* #D9D9D94D */
	padding: 6px 15px;         /* 37px box + insets = ~50px bar */
	border-radius: 6px;
}
.hs-toolbar__pager { display: flex; align-items: center; gap: 0; }
/* Joined segmented control: collapse the shared borders between boxes. */
.hs-toolbar__pager > * + * { margin-left: -1px; }
/* Figma: Prev / "x of y" / Next each in a thin-bordered rounded box, 37px. */
.hs-toolbar__btn,
.hs-toolbar__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 37px;
	padding: 0 14px;
	border: 1px solid rgba(0, 0, 0, .16); /* #00000029 */
	border-radius: 5px;
	background: transparent;
	font-family: var(--hs-font);
	font-size: 16px;
	color: #000;
	text-decoration: none;
}
.hs-toolbar__btn { gap: 6px; }
.hs-toolbar__btn.is-disabled { opacity: .4; pointer-events: none; }
/* Active (clickable) Prev/Next buttons: white bg + black border. */
.hs-toolbar__btn:not(.is-disabled) {
	background: #fff;
	border-color: #000;
}
/* Joined control: square the corners that meet the count box — Prev keeps its
   left corners rounded, Next keeps its right corners rounded. */
.hs-toolbar__pager .hs-toolbar__btn:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.hs-toolbar__pager .hs-toolbar__btn:last-child {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* Middle "x of y" box: square corners + solid black border + white bg (on top). */
.hs-toolbar__count {
	border-radius: 0;
	border-color: #000;
	background: #fff;
	position: relative;
	z-index: 1;
}
.hs-toolbar__chev {
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}
.hs-toolbar__chev--prev { transform: rotate(135deg); }
.hs-toolbar__chev--next { transform: rotate(-45deg); }
.hs-toolbar__right { display: flex; align-items: center; gap: 12px; }
.hs-select { position: relative; display: inline-flex; }
/* Figma: white background, black border, 37px, radius 5px. */
.hs-select select {
	appearance: none;
	-webkit-appearance: none;
	height: 37px;
	padding: 0 40px 0 10px;
	border: 1px solid #000;
	border-radius: 5px;
	background: #fff;
	font-family: var(--hs-font);
	font-size: 16px;
	color: #000;
	cursor: pointer;
}
.hs-select::after {
	content: "";
	position: absolute;
	right: 14px; top: 50%;
	width: 14px; height: 16px;
	/* Attached chevron-left.svg (down chevron, black). */
	background: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 6L7 10L3.5 6' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transform: translateY(-50%);
	pointer-events: none;
}
/* Figma: "1,295 products" — Poppins Regular 16px black, centered. */
.hs-shop-count {
	text-align: center;
	font-family: var(--hs-font);
	font-size: 16px;
	color: #000;
	margin: 28px 0 44px;     /* toolbar -> count 28px, count -> grid 44px */
}

/* 7. Product grid ------------------------------------------------ */
/* Figma: 3 columns, 252x386 cards, 32px gap. */
.hs-shop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;               /* product item gap */
	margin-bottom: 50px;
}
/* Garden card (Figma): #d9d9d9 border, inner padding 22px 17px 20px,
   image->title 12px, tighter title->price gap than the homepage slider. */
.hs-shop-grid .hs-product-card {
	border-color: #d9d9d9;
	padding: 22px 17px 20px;
}
.hs-shop-grid .hs-product-card__link { gap: 12px; }
.hs-shop-grid .hs-product-card__price { margin-top: 28px; }
.hs-shop-empty { padding: 40px 0; text-align: center; color: var(--hs-muted); }
/* Figma product cards show image + name + price only (no add-to-cart). */
.hs-shop .hs-product-card .button,
.hs-shop .hs-product-card .added_to_cart,
.hs-shop .hs-product-card .add_to_cart_button { display: none !important; }

/* 8. SEO content ------------------------------------------------- */
/* Figma 3_1920w Garden: SEO block sits below the products in the right column
   (806px). Green Bold 26px headings (main + in-body), 16px black body,
   underlined links. */
.hs-shop-seo { margin: 60px 0 40px; }
.hs-shop-seo__title {
	font-family: 'poppinsbold', var(--hs-font);
	font-size: 26px;
	line-height: 1.2;
	color: var(--hs-green); /* #248c2e */
	margin: 0 0 12px;
}
.hs-shop-seo__body { font-family: var(--hs-font); font-size: 16px; line-height: 1.5; color: #000; }
.hs-shop-seo__body h2,
.hs-shop-seo__body h3 {
	font-family: 'poppinsbold', var(--hs-font);
	font-size: 26px;
	line-height: 1.2;
	color: var(--hs-green);
	margin: 28px 0 12px;
}
.hs-shop-seo__body p { margin: 0 0 1em; }
.hs-shop-seo__body p:last-child { margin-bottom: 0; }
.hs-shop-seo__body a { color: inherit; text-decoration: underline; }
.hs-shop-seo__body strong { font-family: var(--hs-font-semibold); color: var(--hs-green); }

/* Mobile toolbar + filter-drawer chrome are desktop-hidden. */
.hs-mtoolbar,
.hs-shop-sidebar__head,
.hs-shop-sidebar__foot,
.hs-shop-overlay { display: none; }

/* 9. Responsive -------------------------------------------------- */
/* Below the two-column breakpoint the filter sidebar becomes an off-canvas
   "Filter Products" drawer opened by the toolbar's Filter button (B&M style). */
@media (max-width: 1024px) {
	.hs-shop-layout { grid-template-columns: 1fr; }
	/* Tablet: 3-up product grid (phones drop to 2-up below 767). */
	.hs-shop-grid { grid-template-columns: repeat(3, 1fr); }

	/* The [Filter | View | Sort] bar replaces the TOP toolbar; hide that one.
	   Keep the BOTTOM toolbar for pagination (pager only) and centre it. */
	.hs-shop-results > .hs-toolbar:not(:last-child) { display: none; }
	.hs-shop-results > .hs-toolbar:last-child .hs-toolbar__right { display: none; }
	.hs-shop-results > .hs-toolbar:last-child { justify-content: center; }
	.hs-mtoolbar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		border: 1px solid var(--hs-line);
		border-radius: 6px;
		overflow: hidden;
		margin: 0 0 16px;
	}
	.hs-mtoolbar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 13px 6px;
		background: #fff;
		border: 0;
		font-family: 'poppinssemibold', var(--hs-font);
		font-size: 15px;
		color: var(--hs-ink);
		cursor: pointer;
		position: relative;
	}
	.hs-mtoolbar__btn + .hs-mtoolbar__btn { border-left: 1px solid var(--hs-line); }
	.hs-mtoolbar__btn svg { flex: 0 0 auto; color: var(--hs-green); }
	/* View + Sort segments: an invisible native <select> fills the segment so
	   tapping opens the native picker (per-page / sort). */
	.hs-mtoolbar__btn select {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		opacity: 0;
		border: 0;
		cursor: pointer;
	}

	/* Sidebar → off-canvas drawer sliding in from the left. */
	.hs-shop-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		height: 100%;
		width: min(360px, 90vw);
		background: #fff;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		padding: 0;
		border-right: 0;
		transform: translateX(-100%);
		transition: transform .3s ease;
		box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
	}
	body.hs-filter-open .hs-shop-sidebar { transform: translateX(0); }

	.hs-shop-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 0 0 auto;
		padding: 16px 18px;
		border-bottom: 1px solid var(--hs-line);
	}
	.hs-shop-sidebar__title {
		font-family: 'poppinsbold', var(--hs-font);
		font-size: 18px;
		color: var(--hs-ink);
	}
	.hs-shop-sidebar__close {
		position: relative;
		width: 34px;
		height: 34px;
		padding: 0;
		background: none;
		border: 1px solid var(--hs-line);
		border-radius: 6px;
		color: var(--hs-ink);
		cursor: pointer;
	}
	/* Absolute-center the × so it stays vertically centred regardless of font. */
	.hs-shop-sidebar__close span {
		position: absolute;
		top: 39%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 24px;
		line-height: 1;
	}

	.hs-shop-sidebar .hs-filters {
		flex: 1 1 auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 8px 18px 16px;
	}
	/* The in-form reset is replaced by the drawer footer's Reset on mobile. */
	.hs-shop-sidebar .hs-filters__reset-wrap { display: none; }

	.hs-shop-sidebar__foot {
		display: flex;
		flex-direction: column;
		gap: 10px;
		flex: 0 0 auto;
		padding: 14px 18px;
		border-top: 1px solid var(--hs-line);
	}
	.hs-filters__apply {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 13px;
		background: var(--hs-yellow);
		border: 0;
		border-radius: 6px;
		font-family: 'poppinsbold', var(--hs-font);
		font-size: 16px;
		color: var(--hs-ink);
		cursor: pointer;
	}
	.hs-filters__reset-all {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 12px;
		background: #fff;
		border: 1px solid var(--hs-line);
		border-radius: 6px;
		font-family: 'poppinssemibold', var(--hs-font);
		font-size: 15px;
		color: var(--hs-muted);
		text-decoration: none;
	}

	.hs-shop-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .5);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s ease;
		z-index: 1000;
	}
	body.hs-filter-open .hs-shop-overlay { opacity: 1; visibility: visible; }
	body.hs-filter-open { overflow: hidden; }
}
@media (max-width: 767px) {
	.hs-breadcrumb { padding-top: 5px; padding-bottom: 10px; }
	/* Phones: 2-up grid (tablet keeps 3-up from the 1024 block above). */
	.hs-shop-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }

	/* Main page title: 30px on mobile (site-wide rule) + tighter spacing. */
	.hs-shop__title { font-size: 30px; margin: 4px 0 16px; }

	/* Tighter vertical rhythm on mobile. */
	.hs-shop-layout { margin: 8px 0 32px; }
	.hs-shop-nav-wrap { margin-bottom: 16px; }
	.hs-shop-hero { margin-bottom: 20px; }
	.hs-shop-results { margin-top: 20px; }

	/* Subcategory thumbnails: show exactly 2 per view with a small gap. */
	.hs-shop-thumbs { gap: 10px; }
	.hs-shop-thumbs__track { gap: 10px; }
	.hs-shop-thumb { flex: 0 0 calc((100% - 10px) / 2); }
	.hs-shop-thumbs__arrow { width: 32px; height: 32px; }

	/* Toolbar wraps so the pager + selects don't overflow the row. */
	.hs-toolbar { flex-wrap: wrap; row-gap: 10px; justify-content: center; }
	.hs-toolbar__pager { flex: 0 0 100%; justify-content: center; }
	.hs-toolbar__right { flex: 0 0 100%; gap: 10px; }
	.hs-select { flex: 1 1 0; min-width: 0; }
	.hs-select select { width: 100%; }

	/* Bottom pager-only toolbar: just the Prev / Next control, centered. */
	.hs-toolbar--pager { padding: 10px; }
}
@media (max-width: 560px) {
	/* Products stay 2-up on phones (matches the B&M mockup). */
	.hs-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.hs-toolbar { justify-content: center; }
}

/* Narrow desktop band (1025–1139px): slimmer sidebar + tighter toolbar so the
   pager + per-page/sort selects stay on ONE row instead of wrapping. */
@media (min-width: 1025px) and (max-width: 1139px) {
	.hs-shop-layout { grid-template-columns: 240px 1fr; gap: 24px; }
	.hs-toolbar { flex-wrap: nowrap; gap: 8px; }
	.hs-toolbar__right { gap: 8px; }
	.hs-select select { padding: 0 30px 0 8px; font-size: 14px; }
}

/* Empty category with a message (e.g. Offers, before products are added) --- */
.hs-shop-empty--message {
	margin-top: 8px;
	padding: clamp(36px, 6vw, 64px) 24px;
	background: var(--hs-bg-soft);
	border-radius: var(--hs-radius);
	color: var(--hs-ink);
}
.hs-shop-empty__text p {
	margin: 0 auto 22px;
	max-width: 30ch;
	font-family: var(--hs-font-bold);
	font-size: clamp(20px, 2.6vw, 30px);
	line-height: 1.25;
	color: var(--hs-green);
	text-wrap: balance;
}
.hs-shop-empty__btn,
.hs-shop-empty__btn:visited {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 6px;
	background: var(--hs-red);
	color: #fff;
	font-family: var(--hs-font-semibold);
	text-decoration: none;
}
.hs-shop-empty__btn:hover,
.hs-shop-empty__btn:focus-visible { background: var(--hs-red-dark); color: #fff; }
