/* ==========================================================================
   Horeca Shop Experience — dark editorial catalog (shop / category / brand /
   product search). Same design system as the homepage and the PDP.
   Namespace: .hhm-shx-*  ·  Scoped to hhm_is_product_archive().
   ========================================================================== */

.hhm-shx-page {
	--shx-ink: #0a0a0c;
	--shx-ink-2: #101013;
	--shx-graphite: #151517;
	--shx-graphite-2: #1b1b1f;
	--shx-ivory: #f5f1e8;
	--shx-ivory-2: #ece6d8;
	--shx-text: #f2efe7;
	--shx-text-2: rgba(242, 239, 231, .64);
	--shx-text-3: rgba(242, 239, 231, .4);
	--shx-line: rgba(242, 239, 231, .09);
	--shx-line-2: rgba(242, 239, 231, .17);
	--shx-gold: #d8b36c;
	--shx-gold-soft: rgba(216, 179, 108, .14);
	--shx-wa: #25d366;
	--shx-ok: #8fc7a4;
	--shx-warn: #e4c584;
	--shx-danger: #de9494;
	--shx-radius: 16px;
	--shx-radius-s: 11px;
	--shx-cols: 4;

	background: var(--shx-ink);
	color: var(--shx-text);
	padding-bottom: 70px;
}

.hhm-shx-page .hhm-icon { width: 17px; height: 17px; flex: none; }

/* --------------------------------------------------------------------------
   0. Cascade defense — global light-page rules (main.css heading ink
   !important, parent-theme breadcrumb chips, Woo/Electro loop styles and
   white form controls) must not bleed into the dark catalog.
   -------------------------------------------------------------------------- */

@media screen {
	body.hhm-site .hhm-site-shell .hhm-shx-page h1,
	body.hhm-site .hhm-site-shell .hhm-shx-page h2,
	body.hhm-site .hhm-site-shell .hhm-shx-page h3,
	body.hhm-site .hhm-site-shell .hhm-shx-page h4 { color: var(--shx-text) !important; }
}

.hhm-shx-page .hhm-shx-crumbs .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--shx-text-3) !important;
	font-size: .78rem !important;
}
.hhm-shx-page .hhm-shx-crumbs .woocommerce-breadcrumb a {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--shx-text-2) !important;
}
.hhm-shx-page .hhm-shx-crumbs .woocommerce-breadcrumb a:hover { color: var(--shx-text) !important; }

.hhm-shx-results ul.products {
	display: grid !important;
	grid-template-columns: repeat(var(--shx-cols), minmax(0, 1fr));
	gap: 18px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.hhm-shx-results ul.products::before,
.hhm-shx-results ul.products::after { content: none !important; }
.hhm-shx-results ul.products li.hhm-shx-cell {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: transparent !important;
	border: 0 !important;
	display: flex;
}

/* The parent theme repaints every anchor inside `ul.products li.product` —
   out-specify it for each card link so gold/ivory/dark tokens survive. */
.hhm-shx-results ul.products li.product .hhm-shx-card__title a { color: var(--shx-text); }
.hhm-shx-results ul.products li.product .hhm-shx-card__title a:hover { color: #fff; }
.hhm-shx-results ul.products li.product .hhm-shx-card__brand .hhm-brand-mark__fallback { color: #3d3a33; }
.hhm-shx-results ul.products li.product .hhm-shx-card__action { color: var(--shx-text); }
.hhm-shx-results ul.products li.product .hhm-shx-card__action:hover { color: var(--shx-gold); }
.hhm-shx-results ul.products li.product .hhm-shx-card__action.ajax_add_to_cart,
.hhm-shx-results ul.products li.product .hhm-shx-card__action.ajax_add_to_cart:hover { color: #141416; }
.hhm-shx-results ul.products li.product .hhm-shx-card__action.is-confirmed { color: #10241a; }
.hhm-shx-results ul.products li.product .hhm-shx-card__wa { color: #fff; }

.hhm-shx-page select,
.hhm-shx-page input[type="search"],
.hhm-shx-page input[type="text"],
.hhm-shx-page input[type="number"] {
	min-height: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--shx-text) !important;
	box-shadow: none !important;
	font: inherit;
}

/* --------------------------------------------------------------------------
   1. Identity band
   -------------------------------------------------------------------------- */

.hhm-shx-band {
	padding: 26px 0 0;
	background:
		radial-gradient(1100px 480px at 80% -14%, rgba(216, 179, 108, .06), transparent 62%),
		linear-gradient(rgba(242, 239, 231, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(242, 239, 231, .025) 1px, transparent 1px),
		var(--shx-ink);
	background-size: auto, 46px 46px, 46px 46px, auto;
	border-bottom: 1px solid var(--shx-line);
}

.hhm-shx-crumbs { margin-bottom: 22px; }

.hhm-shx-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 26px;
}

.hhm-shx-kicker {
	margin: 0 0 10px;
	color: var(--shx-gold);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.hhm-shx-hero__title { display: flex; align-items: center; gap: 18px; }
.hhm-shx-hero__title img { max-height: 54px; width: auto; background: var(--shx-ivory); border-radius: 10px; padding: 6px 10px; }
.hhm-shx-hero__title h1 {
	margin: 0;
	max-width: 760px;
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	font-weight: 650;
	letter-spacing: -.02em;
	line-height: 1.08;
}

.hhm-shx-hero__stats { display: flex; gap: 34px; margin: 0; }
.hhm-shx-hero__stats div { text-align: right; }
.hhm-shx-hero__stats dt {
	margin: 0;
	color: var(--shx-gold);
	font-size: 1.55rem;
	font-weight: 720;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}
.hhm-shx-hero__stats dd { margin: 2px 0 0; color: var(--shx-text-3); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; }

/* Category rail */

.hhm-shx-cats {
	display: flex;
	gap: 10px;
	padding: 4px 2px 22px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--shx-line-2) transparent;
}
.hhm-shx-cats__chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	padding: 9px 15px;
	border: 1px solid var(--shx-line-2);
	border-radius: 999px;
	background: var(--shx-graphite);
	color: var(--shx-text-2);
	font-size: .8rem;
	font-weight: 570;
	text-decoration: none;
	transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.hhm-shx-cats__chip .hhm-icon { width: 15px; height: 15px; color: var(--shx-gold); }
.hhm-shx-cats__chip small { color: var(--shx-text-3); font-size: .7rem; font-variant-numeric: tabular-nums; }
.hhm-shx-cats__chip:hover { border-color: var(--shx-gold); color: var(--shx-text); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   2. Toolbar
   -------------------------------------------------------------------------- */

.hhm-shx-toolbar {
	position: sticky;
	top: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 22px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--shx-line);
	border-radius: var(--shx-radius-s);
	background: rgba(16, 16, 19, .92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.hhm-shx-toolbar__lead { display: flex; align-items: center; gap: 16px; min-width: 0; }

.hhm-shx-toolbar__filters {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid var(--shx-line-2);
	border-radius: 9px;
	background: transparent;
	color: var(--shx-text);
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
}
.hhm-shx-toolbar__filters em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--shx-gold);
	color: #141416;
	font-size: .68rem;
	font-style: normal;
	font-weight: 750;
}

.hhm-shx-toolbar__count { margin: 0; color: var(--shx-text-2); font-size: .84rem; white-space: nowrap; }

.hhm-shx-toolbar__tools { display: flex; align-items: center; gap: 12px; }

.hhm-shx-density { display: flex; gap: 5px; }
.hhm-shx-density button {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5px;
	width: 34px;
	height: 34px;
	padding: 8px;
	border: 1px solid var(--shx-line);
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: border-color .15s ease;
}
.hhm-shx-density button span { background: var(--shx-text-3); border-radius: 1.5px; }
.hhm-shx-density button[data-hhm-density="3"] { grid-template-columns: repeat(1, 1fr); padding: 8px 11px; }
.hhm-shx-density button[aria-pressed="true"] { border-color: var(--shx-gold); }
.hhm-shx-density button[aria-pressed="true"] span { background: var(--shx-gold); }

.hhm-shx-sort label {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--shx-line-2);
	border-radius: 9px;
	background: var(--shx-graphite);
}
.hhm-shx-sort select {
	appearance: none;
	-webkit-appearance: none;
	padding: 9px 36px 9px 14px !important;
	font-size: .82rem !important;
	font-weight: 570;
	cursor: pointer;
}
.hhm-shx-sort select:focus-visible { outline: 2px solid var(--shx-gold); outline-offset: 2px; }
.hhm-shx-sort .hhm-icon { position: absolute; right: 12px; pointer-events: none; width: 14px; height: 14px; color: var(--shx-text-3); }
.hhm-shx-sort option { background: var(--shx-graphite); color: var(--shx-text); }

/* Active filter chips */

.hhm-shx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.hhm-shx-chips__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border: 1px solid rgba(216, 179, 108, .35);
	border-radius: 999px;
	background: var(--shx-gold-soft);
	color: var(--shx-gold);
	font-size: .76rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease;
}
.hhm-shx-chips__chip .hhm-icon { width: 12px; height: 12px; }
.hhm-shx-chips__chip:hover { background: rgba(216, 179, 108, .24); }

/* --------------------------------------------------------------------------
   3. Layout + filter rail
   -------------------------------------------------------------------------- */

.hhm-shx-layout {
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	margin-top: 22px;
}

.hhm-shx-rail__panel { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--shx-line-2) transparent; }
.hhm-shx-rail__backdrop { display: none; }

.hhm-shx-filters {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 18px;
	border: 1px solid var(--shx-line);
	border-radius: var(--shx-radius);
	background: linear-gradient(180deg, var(--shx-graphite) 0%, var(--shx-ink-2) 100%);
}

.hhm-shx-filters__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hhm-shx-filters__heading span { display: block; color: var(--shx-text-3); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hhm-shx-filters__heading strong { color: var(--shx-text); font-size: 1.05rem; font-weight: 680; }
.hhm-shx-filters__heading button { display: none; border: 0; background: transparent; color: var(--shx-text-2); cursor: pointer; padding: 6px; }

.hhm-shx-filters__group { margin: 0 0 4px; padding: 14px 0 16px; border: 0; border-top: 1px solid var(--shx-line); }
.hhm-shx-filters__group--search { border-top: 0; padding-top: 2px; }
.hhm-shx-filters__group legend { padding: 0 0 11px; color: var(--shx-text); font-size: .8rem; font-weight: 660; letter-spacing: .02em; }

.hhm-shx-filters__search {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 12px;
	border: 1px solid var(--shx-line-2);
	border-radius: 9px;
	background: var(--shx-ink);
	transition: border-color .15s ease;
}
.hhm-shx-filters__search:focus-within { border-color: var(--shx-gold); }
.hhm-shx-filters__search .hhm-icon { width: 14px; height: 14px; color: var(--shx-text-3); }
.hhm-shx-filters__search input { flex: 1 1 auto; min-width: 0; padding: 0 !important; font-size: .84rem !important; }
.hhm-shx-filters__search input::placeholder { color: var(--shx-text-3); }
.hhm-shx-filters__search--brand { margin-bottom: 10px; }

.hhm-shx-filters__list { display: flex; flex-direction: column; gap: 2px; }
.hhm-shx-filters__list--brands { max-height: 236px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--shx-line-2) transparent; }

.hhm-shx-filters__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 8px;
	color: var(--shx-text-2);
	font-size: .82rem;
	cursor: pointer;
	transition: background .12s ease, color .12s ease;
}
.hhm-shx-filters__row:hover { background: rgba(242, 239, 231, .05); color: var(--shx-text); }
.hhm-shx-filters__row input { position: absolute; opacity: 0; pointer-events: none; }
.hhm-shx-filters__row.is-hidden { display: none; }

.hhm-shx-filters__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: none;
	border: 1px solid var(--shx-line-2);
	border-radius: 50%;
	transition: border-color .15s ease, background .15s ease;
}
.hhm-shx-filters__mark--check { border-radius: 5px; }
.hhm-shx-filters__mark--check .hhm-icon { width: 10px; height: 10px; color: #141416; opacity: 0; }
.hhm-shx-filters__row input:checked + .hhm-shx-filters__mark { border-color: var(--shx-gold); background: var(--shx-gold); box-shadow: inset 0 0 0 3px var(--shx-graphite); }
.hhm-shx-filters__row input:checked + .hhm-shx-filters__mark--check { box-shadow: none; }
.hhm-shx-filters__row input:checked + .hhm-shx-filters__mark--check .hhm-icon { opacity: 1; }
.hhm-shx-filters__row input:checked ~ .hhm-shx-filters__text { color: var(--shx-text); font-weight: 620; }
.hhm-shx-filters__row input:focus-visible + .hhm-shx-filters__mark { outline: 2px solid var(--shx-gold); outline-offset: 2px; }

.hhm-shx-filters__text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hhm-shx-filters__count { color: var(--shx-text-3); font-size: .72rem; font-variant-numeric: tabular-nums; }

/* Brand rows show the actual logo on a small ivory chip. */
.hhm-shx-filters__row--brand { padding-top: 5px; padding-bottom: 5px; }
.hhm-shx-filters__text--logo { display: flex; overflow: visible; }
.hhm-shx-filters__text--logo .hhm-brand-mark {
	height: 26px;
	max-width: 120px;
	padding: 3px 8px;
	border: 1px solid rgba(242, 239, 231, .13);
	border-radius: 6px;
	background: linear-gradient(180deg, #faf7ef 0%, #efeadd 100%);
	transition: border-color .14s ease;
}
.hhm-shx-filters__row--brand:hover .hhm-brand-mark { border-color: rgba(216, 179, 108, .5); }
.hhm-shx-filters__row--brand input:checked ~ .hhm-shx-filters__text--logo .hhm-brand-mark { border-color: var(--shx-gold); box-shadow: 0 0 0 1px var(--shx-gold); }
.hhm-shx-filters__text--logo .hhm-brand-mark img { width: auto; height: 100%; max-width: 100%; object-fit: contain !important; }
.hhm-shx-filters__text--logo .hhm-brand-mark--surface-dark {
	border-color: rgba(242, 239, 231, .2);
	background: linear-gradient(180deg, #26262b 0%, #1a1a1e 100%);
}
.hhm-shx-filters__text--logo .hhm-brand-mark.has-text { height: 26px; padding: 3px 9px; }
.hhm-shx-filters__text--logo .hhm-brand-mark__fallback { color: #3d3a33; font-size: .6rem; font-weight: 800; letter-spacing: .07em; }

/* Price slider — two native ranges over one track */

.hhm-shx-filters__slider { position: relative; height: 26px; margin: 4px 6px 10px; }
.hhm-shx-filters__slider-track {
	position: absolute;
	inset: 11px 0 auto;
	height: 4px;
	border-radius: 4px;
	background: var(--shx-line-2);
	overflow: hidden;
}
.hhm-shx-filters__slider-track span { position: absolute; inset: 0; background: var(--shx-gold); transform-origin: left; }
.hhm-shx-filters__slider input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	padding: 0 !important;
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	pointer-events: none;
}
.hhm-shx-filters__slider input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 17px;
	height: 17px;
	margin-top: 0;
	border: 2px solid var(--shx-gold);
	border-radius: 50%;
	background: var(--shx-graphite-2);
	cursor: grab;
	pointer-events: auto;
}
.hhm-shx-filters__slider input[type="range"]::-moz-range-thumb {
	width: 13px;
	height: 13px;
	border: 2px solid var(--shx-gold);
	border-radius: 50%;
	background: var(--shx-graphite-2);
	cursor: grab;
	pointer-events: auto;
}

.hhm-shx-filters__price { display: flex; align-items: flex-end; gap: 8px; }
.hhm-shx-filters__price label { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; color: var(--shx-text-3); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.hhm-shx-filters__price input {
	width: 100%;
	padding: 8px 10px !important;
	border: 1px solid var(--shx-line-2) !important;
	border-radius: 8px !important;
	background: var(--shx-ink) !important;
	font-size: .84rem !important;
	font-variant-numeric: tabular-nums;
}
.hhm-shx-filters__price input:focus-visible { outline: 2px solid var(--shx-gold); outline-offset: 1px; }
.hhm-shx-filters__price-sep { padding-bottom: 10px; color: var(--shx-text-3); }

.hhm-shx-filters__presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hhm-shx-filters__preset {
	padding: 5px 11px;
	border: 1px solid var(--shx-line-2);
	border-radius: 999px;
	color: var(--shx-text-2);
	font-size: .73rem;
	font-weight: 570;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}
.hhm-shx-filters__preset:hover { border-color: var(--shx-gold); color: var(--shx-text); }
.hhm-shx-filters__preset.is-active { border-color: var(--shx-gold); background: var(--shx-gold-soft); color: var(--shx-gold); }

/* Switches */

.hhm-shx-filters__switch { display: flex; align-items: center; gap: 11px; padding: 7px 4px; color: var(--shx-text-2); font-size: .84rem; cursor: pointer; }
.hhm-shx-filters__switch input { position: absolute; opacity: 0; pointer-events: none; }
.hhm-shx-filters__switch-ui {
	position: relative;
	width: 34px;
	height: 19px;
	flex: none;
	border-radius: 999px;
	background: var(--shx-line-2);
	transition: background .18s ease;
}
.hhm-shx-filters__switch-ui::after {
	content: "";
	position: absolute;
	top: 2.5px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--shx-text);
	transition: transform .18s ease;
}
.hhm-shx-filters__switch input:checked + .hhm-shx-filters__switch-ui { background: var(--shx-gold); }
.hhm-shx-filters__switch input:checked + .hhm-shx-filters__switch-ui::after { transform: translateX(14px); background: #141416; }
.hhm-shx-filters__switch input:checked ~ span:last-child { color: var(--shx-text); }
.hhm-shx-filters__switch input:focus-visible + .hhm-shx-filters__switch-ui { outline: 2px solid var(--shx-gold); outline-offset: 2px; }

.hhm-shx-filters__foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.hhm-shx-filters__apply {
	flex: 1 1 auto;
	padding: 11px 16px;
	border: 0;
	border-radius: var(--shx-radius-s);
	background: linear-gradient(140deg, #e6c885 0%, var(--shx-gold) 55%, #b98f47 100%);
	color: #141416;
	font: inherit;
	font-size: .85rem;
	font-weight: 700;
	cursor: pointer;
}
.js-instant .hhm-shx-filters__apply { display: none; }
.hhm-shx-filters__reset { color: var(--shx-text-3); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.hhm-shx-filters__reset:hover { color: var(--shx-text); }
.js-instant .hhm-shx-filters__foot { justify-content: flex-end; }

/* --------------------------------------------------------------------------
   4. Results grid + loading state
   -------------------------------------------------------------------------- */

.hhm-shx-results { position: relative; min-height: 300px; }
.hhm-shx-results::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--shx-gold);
	opacity: 0;
	transition: opacity .2s ease;
	z-index: 5;
}
.hhm-shx-results.is-loading::before { opacity: 1; animation: hhm-shx-progress 1.1s ease-in-out infinite; }
.hhm-shx-results.is-loading ul.products { opacity: .35; filter: saturate(.55); pointer-events: none; transition: opacity .18s ease; }

@keyframes hhm-shx-progress {
	0% { left: 0; right: 100%; }
	45% { left: 0; right: 12%; }
	100% { left: 100%; right: 0; }
}

/* --------------------------------------------------------------------------
   5. Product card
   -------------------------------------------------------------------------- */

.hhm-shx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--shx-line);
	border-radius: 14px;
	background: var(--shx-graphite);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hhm-shx-card:hover {
	transform: translateY(-3px);
	border-color: rgba(216, 179, 108, .4);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}

.hhm-shx-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: radial-gradient(120% 90% at 50% 0%, #faf6ec 0%, var(--shx-ivory) 55%, var(--shx-ivory-2) 100%);
}
.hhm-shx-card__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	padding: 12%;
	transition: opacity .28s ease, transform .28s ease;
}
.hhm-shx-card:hover .hhm-shx-card__img--primary { transform: scale(1.045); }
.hhm-shx-card__img--hover { opacity: 0; transform: scale(1.02); }
.has-hover-media:hover .hhm-shx-card__img--primary { opacity: 0; }
.has-hover-media:hover .hhm-shx-card__img--hover { opacity: 1; transform: scale(1); }

.is-oos .hhm-shx-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 12, .38);
}

.hhm-shx-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.hhm-shx-card__badge {
	padding: 4px 9px;
	border-radius: 999px;
	font-size: .66rem;
	font-weight: 750;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.hhm-shx-card__badge--sale { background: var(--shx-gold); color: #141416; }
.hhm-shx-card__badge--new { background: #141416; color: var(--shx-gold); border: 1px solid rgba(216, 179, 108, .5); }
.hhm-shx-card__badge--low,
.hhm-shx-card__badge--type { background: rgba(20, 20, 22, .82); color: var(--shx-text-2); border: 1px solid var(--shx-line-2); }
.hhm-shx-card__badge--out { background: rgba(20, 20, 22, .88); color: var(--shx-danger); border: 1px solid rgba(222, 148, 148, .4); }

.hhm-shx-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; padding: 13px 15px 12px; }

/* Brand mark chip — logo rendered on a soft ivory chip so every artwork
   (dark, colored or light) stays readable on the graphite card. */
.hhm-shx-card__brand {
	position: relative;
	z-index: 2;
	display: flex;
	align-self: flex-start;
	max-width: 100%;
	min-height: 30px;
}
.hhm-shx-card__brand .hhm-brand-mark-link { display: inline-flex; max-width: 100%; text-decoration: none; }
.hhm-shx-card__brand .hhm-brand-mark {
	height: 30px;
	max-width: 132px;
	padding: 4px 9px;
	border: 1px solid rgba(242, 239, 231, .16);
	border-radius: 8px;
	background: linear-gradient(180deg, #faf7ef 0%, #f0ebdf 100%);
	transition: border-color .16s ease, box-shadow .16s ease;
}
.hhm-shx-card__brand .hhm-brand-mark-link:hover .hhm-brand-mark {
	border-color: rgba(216, 179, 108, .55);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}
.hhm-shx-card__brand .hhm-brand-mark img { width: auto; height: 100%; max-width: 100%; object-fit: contain !important; }
/* Predominantly white artwork sits on a graphite chip instead. */
.hhm-shx-card__brand .hhm-brand-mark--surface-dark {
	border-color: rgba(242, 239, 231, .2);
	background: linear-gradient(180deg, #26262b 0%, #1a1a1e 100%);
}
.hhm-shx-card__brand .hhm-brand-mark.has-text { height: 30px; padding: 4px 10px; }
.hhm-shx-card__brand .hhm-brand-mark__fallback { color: #3d3a33; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.hhm-shx-card__brand--empty { min-height: 30px; }

.hhm-shx-card__title { margin: 0; font-size: .86rem; font-weight: 580; line-height: 1.4; }
/* !important: the parent theme repaints loop anchors on Woo templates. */
.hhm-shx-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--shx-text) !important;
	text-decoration: none;
}
.hhm-shx-card__title a::before { content: ""; position: absolute; inset: 0 0 52px; z-index: 1; }
.hhm-shx-card__title a:hover { color: #fff !important; }

.hhm-shx-card__sku { color: var(--shx-text-3); font-size: .68rem; font-variant-numeric: tabular-nums; letter-spacing: .05em; }

.hhm-shx-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.hhm-shx-card__price-now { color: var(--shx-text); font-size: 1rem; font-weight: 720; letter-spacing: -.01em; }
.hhm-shx-card__price-now .woocommerce-Price-amount { color: var(--shx-text); }
.hhm-shx-card__price-now .woocommerce-Price-currencySymbol { font-size: .78em; color: var(--shx-text-2); }
.hhm-shx-card__price del { color: var(--shx-text-3); font-size: .78rem; }
.hhm-shx-card__price del .woocommerce-Price-amount { color: inherit; }
.hhm-shx-card__price-request { color: var(--shx-text-2); font-size: .84rem; font-weight: 570; }

.hhm-shx-card__stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--shx-text-3); font-size: .7rem; letter-spacing: .04em; }
.hhm-shx-card__stock-dot { width: 6px; height: 6px; border-radius: 50%; }
.hhm-shx-card__stock--in .hhm-shx-card__stock-dot { background: var(--shx-ok); box-shadow: 0 0 7px rgba(143, 199, 164, .8); }
.hhm-shx-card__stock--in { color: var(--shx-ok); }
.hhm-shx-card__stock--backorder .hhm-shx-card__stock-dot { background: var(--shx-warn); }
.hhm-shx-card__stock--backorder { color: var(--shx-warn); }
.hhm-shx-card__stock--oos .hhm-shx-card__stock-dot { background: var(--shx-danger); }
.hhm-shx-card__stock--oos { color: var(--shx-danger); }

.hhm-shx-card__actions {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 8px;
	padding: 11px 13px 13px;
	border-top: 1px solid var(--shx-line);
}
.hhm-shx-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 auto;
	min-height: 38px;
	padding: 7px 12px;
	border: 1px solid var(--shx-line-2);
	border-radius: 9px;
	color: var(--shx-text);
	font-size: .78rem;
	font-weight: 640;
	text-decoration: none;
	transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.hhm-shx-card__action .hhm-icon { width: 15px; height: 15px; }
.hhm-shx-card__action:hover { border-color: var(--shx-gold); color: var(--shx-gold); }
.hhm-shx-card__action.ajax_add_to_cart {
	border-color: transparent;
	background: linear-gradient(140deg, #e6c885 0%, var(--shx-gold) 55%, #b98f47 100%);
	color: #141416;
}
.hhm-shx-card__action.ajax_add_to_cart:hover { filter: brightness(1.06); color: #141416; }
.hhm-shx-card__action.loading { opacity: .6; pointer-events: none; }
.hhm-shx-card__action.added .hhm-icon { display: none; }
.hhm-shx-card__action.is-confirmed { background: var(--shx-ok); color: #10241a; border-color: transparent; }

/* Woo injects a "View cart" link after AJAX add — keep the layout clean. */
.hhm-shx-card__actions .added_to_cart { display: none !important; }

/* Official WhatsApp identity: white glyph on the brand green. */
.hhm-shx-card__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	min-height: 38px;
	flex: none;
	border: 0;
	border-radius: 9px;
	background: var(--shx-wa);
	color: #fff;
	transition: background .16s ease, transform .16s ease;
}
.hhm-shx-card__wa .hhm-icon { width: 19px; height: 19px; }
.hhm-shx-card__wa:hover { background: #1fb959; transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   6. Load more + pagination + empty + SEO block
   -------------------------------------------------------------------------- */

.hhm-shx-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 30px 0 4px; }
.hhm-shx-more__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 28px;
	border: 1px solid var(--shx-line-2);
	border-radius: 999px;
	color: var(--shx-text);
	font-size: .86rem;
	font-weight: 640;
	text-decoration: none;
	transition: border-color .16s ease, background .16s ease;
}
.hhm-shx-more__btn:hover { border-color: var(--shx-gold); background: var(--shx-gold-soft); }
.hhm-shx-more__btn.is-loading { opacity: .55; pointer-events: none; }
.hhm-shx-more__meta { margin: 0; color: var(--shx-text-3); font-size: .74rem; }

.hhm-shx-pagination { margin-top: 18px; }
.hhm-shx-pagination .woocommerce-pagination { text-align: center; }
.hhm-shx-pagination ul.page-numbers {
	display: inline-flex !important;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none;
}
.hhm-shx-pagination ul.page-numbers li { border: 0 !important; margin: 0 !important; }
.hhm-shx-pagination .page-numbers a,
.hhm-shx-pagination .page-numbers span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px !important;
	border: 1px solid var(--shx-line) !important;
	border-radius: 9px;
	background: transparent !important;
	color: var(--shx-text-2) !important;
	font-size: .84rem;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}
.hhm-shx-pagination .page-numbers a:hover { border-color: var(--shx-gold) !important; color: var(--shx-text) !important; }
.hhm-shx-pagination .page-numbers span.current { border-color: var(--shx-gold) !important; background: var(--shx-gold-soft) !important; color: var(--shx-gold) !important; }
.js-instant .hhm-shx-pagination { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hhm-shx-empty { padding: 60px 20px; text-align: center; }
.hhm-shx-empty__icon { display: inline-flex; padding: 16px; border: 1px solid var(--shx-line-2); border-radius: 50%; color: var(--shx-gold); margin-bottom: 16px; }
.hhm-shx-empty h2 { margin: 0 0 8px; font-size: 1.3rem; }
.hhm-shx-empty p { margin: 0 auto 18px; max-width: 430px; color: var(--shx-text-2); }
.hhm-shx-empty__cta {
	display: inline-flex;
	padding: 11px 24px;
	border-radius: 999px;
	background: linear-gradient(140deg, #e6c885 0%, var(--shx-gold) 55%, #b98f47 100%);
	color: #141416;
	font-weight: 700;
	font-size: .86rem;
	text-decoration: none;
}
.hhm-shx-empty nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hhm-shx-empty nav a {
	padding: 7px 14px;
	border: 1px solid var(--shx-line-2);
	border-radius: 999px;
	color: var(--shx-text-2);
	font-size: .78rem;
	text-decoration: none;
}
.hhm-shx-empty nav a:hover { border-color: var(--shx-gold); color: var(--shx-text); }

.hhm-shx-seo { margin: 54px 0 0; padding: 26px 28px; border: 1px solid var(--shx-line); border-radius: var(--shx-radius); background: var(--shx-ink-2); }
.hhm-shx-seo h2 { margin: 0 0 10px; font-size: 1.05rem; }
.hhm-shx-seo div { color: var(--shx-text-2); font-size: .88rem; line-height: 1.75; }
.hhm-shx-seo a { color: var(--shx-gold); }

/* Woo notices on ink */
.hhm-shx-page .woocommerce-message,
.hhm-shx-page .woocommerce-info,
.hhm-shx-page .woocommerce-error {
	border: 1px solid var(--shx-line-2) !important;
	border-radius: var(--shx-radius-s);
	background: var(--shx-graphite) !important;
	color: var(--shx-text) !important;
}

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
	.hhm-shx-page { --shx-cols: 3; }
	.hhm-shx-page[data-density="3"] { --shx-cols: 3; }
}

@media (min-width: 1281px) {
	.hhm-shx-page[data-density="3"] { --shx-cols: 3; }
	.hhm-shx-page[data-density="4"] { --shx-cols: 4; }
}

@media (max-width: 1023px) {
	.hhm-shx-page { --shx-cols: 3; }
	.hhm-shx-layout { display: block; }
	.hhm-shx-toolbar { top: 8px; }
	.hhm-shx-toolbar__filters { display: inline-flex; }
	.hhm-shx-density { display: none; }

	/* Filter rail becomes a bottom sheet */
	.hhm-shx-rail { position: fixed; inset: 0; z-index: 1300; visibility: hidden; }
	.hhm-shx-rail.is-open { visibility: visible; }
	.hhm-shx-rail__backdrop {
		display: block;
		position: absolute;
		inset: 0;
		border: 0;
		background: rgba(5, 5, 7, .6);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		opacity: 0;
		transition: opacity .22s ease;
		cursor: pointer;
	}
	.hhm-shx-rail.is-open .hhm-shx-rail__backdrop { opacity: 1; }
	.hhm-shx-rail__panel {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		max-height: 86vh;
		overflow-y: auto;
		transform: translateY(102%);
		transition: transform .26s cubic-bezier(.32, .72, .28, 1);
	}
	.hhm-shx-rail.is-open .hhm-shx-rail__panel { transform: none; }
	.hhm-shx-filters { border-radius: 18px 18px 0 0; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
	.hhm-shx-filters__heading button { display: inline-flex; }
	.js-instant .hhm-shx-filters__foot { justify-content: space-between; }
	.js-instant .hhm-shx-filters__apply { display: inline-flex; justify-content: center; }
	body.hhm-shx-drawer-open { overflow: hidden; }
}

@media (max-width: 760px) {
	.hhm-shx-page { --shx-cols: 2; }
	.hhm-shx-band { padding-top: 16px; }
	.hhm-shx-hero { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
	.hhm-shx-hero__stats { gap: 22px; }
	.hhm-shx-hero__stats div { text-align: left; }
	.hhm-shx-toolbar { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
	.hhm-shx-toolbar__count { font-size: .78rem; }
	.hhm-shx-results ul.products { gap: 10px; }
	.hhm-shx-card__body { padding: 11px 12px 10px; }
	.hhm-shx-card__actions { padding: 9px 10px 11px; }
	.hhm-shx-card__action span { font-size: .72rem; }
	.hhm-shx-seo { padding: 20px 18px; }
}

@media (max-width: 400px) {
	.hhm-shx-card__action span { display: none; }
	.hhm-shx-card__action { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.hhm-shx-page *,
	.hhm-shx-page *::before,
	.hhm-shx-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.hhm-shx-page :where(a, button, select, input, [tabindex]):focus-visible {
	outline: 2px solid var(--shx-gold);
	outline-offset: 2px;
	border-radius: 4px;
}
