/* ==========================================================================
   HiFi Expert theme — single stylesheet.
   Dark, restrained, product-led. Tokens first, then components.
   ========================================================================== */

:root {
	--hx-bg: #121212;
	--hx-bg-deep: #0e0e0e;
	--hx-surface: #191919;
	--hx-surface-2: #1c1c1c;
	--hx-surface-3: #222222;
	--hx-line: rgba(255, 255, 255, .08);
	--hx-line-strong: rgba(255, 255, 255, .18);
	--hx-text: #f3f1ec;
	--hx-text-2: #c9c6bf;
	--hx-muted: #a9a6a0;
	--hx-faint: #8c8984;
	--hx-accent: #c9a96a;
	--hx-accent-soft: rgba(201, 169, 106, .35);
	--hx-ok: #8fd3a4;
	--hx-warn: #e8c16a;
	--hx-danger: #e4867b;
	--hx-font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hx-radius: 20px;
	--hx-radius-sm: 14px;
	--hx-wrap: 1360px;
	--hx-gutter: 40px;
	--hx-header-h: 88px;
	--hx-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 900px) {
	:root { --hx-gutter: 20px; --hx-header-h: 72px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
	margin: 0;
	background: var(--hx-bg);
	color: var(--hx-text);
	font-family: var(--hx-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.hx-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hx-skip { left: -9999px; top: 8px; z-index: 1000; padding: 10px 14px; background: var(--hx-accent); color: #121212; }
.hx-skip:focus { left: 8px; width: auto; height: auto; clip: auto; }

.hx-wrap { width: 100%; max-width: var(--hx-wrap); margin: 0 auto; padding-left: var(--hx-gutter); padding-right: var(--hx-gutter); }
.hx-main { display: flex; flex-direction: column; min-height: 60vh; }

/* Typography helpers */
.hx-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-accent); }
.hx-eyebrow--muted { color: var(--hx-faint); letter-spacing: .1em; font-size: 12px; }
.hx-link { color: var(--hx-muted); font-size: 15px; }
.hx-link:hover { color: var(--hx-text); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.hx-btn, .hx-btn:hover { text-decoration: none; }
.hx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .15s var(--hx-ease), background .15s, border-color .15s, color .15s;
}
.hx-btn--primary { background: var(--hx-text); color: #121212; }
.hx-btn--primary:hover { background: #fff; color: #121212; transform: translateY(-1px); }
.hx-btn--ghost { background: transparent; color: var(--hx-text); border-color: rgba(255, 255, 255, .22); font-weight: 500; }
.hx-btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .04); color: #fff; }
.hx-btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.hx-btn[disabled], .hx-btn.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.hx-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border-radius: 999px; color: var(--hx-text); transition: background .15s;
}
.hx-iconbtn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* --------------------------------------------------------------------------
   Top bar (showroom · hours · e-mail · WhatsApp)
   -------------------------------------------------------------------------- */

.hx-topbar { background: var(--hx-bg-deep); border-bottom: 1px solid var(--hx-line); font-size: 13px; color: var(--hx-muted); }
.hx-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 8px 32px; flex-wrap: wrap; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.hx-topbar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--hx-muted); white-space: nowrap; }
.hx-topbar__item strong { color: var(--hx-text-2); font-weight: 600; }
.hx-topbar__item:hover { color: var(--hx-text); }
.hx-topbar .hx-icon { color: var(--hx-accent); flex: none; }
.hx-topbar__nav { margin-left: 0; }
.hx-topbar__links { display: flex; gap: 18px; list-style: none; }
.hx-topbar__links a { color: var(--hx-text-2); font-weight: 500; white-space: nowrap; }
.hx-topbar__links a:hover { color: var(--hx-text); }
@media (max-width: 900px) {
	/* Before JS: a single scrollable row. With JS (.is-ticker): one centered message at a time. */
	.hx-topbar__inner { justify-content: flex-start; gap: 6px 18px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.hx-topbar__inner::-webkit-scrollbar { display: none; }
	.hx-topbar__nav { display: none; }
	.hx-topbar__inner.is-ticker { position: relative; display: block; overflow: hidden; height: 36px; }
	.hx-topbar__inner.is-ticker .hx-topbar__item {
		position: absolute; left: 0; right: 0; top: 0; height: 36px; justify-content: center; padding: 0 4px;
		opacity: 0; transform: translateY(8px); transition: opacity .35s var(--hx-ease), transform .35s var(--hx-ease); pointer-events: none;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	.hx-topbar__inner.is-ticker .hx-topbar__item > span { overflow: hidden; text-overflow: ellipsis; }
	.hx-topbar__inner.is-ticker .hx-topbar__item.is-shown { opacity: 1; transform: none; pointer-events: auto; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hx-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(18, 18, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hx-line);
	transition: box-shadow .2s;
}
.hx-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hx-header__inner { display: flex; align-items: center; gap: 20px; height: var(--hx-header-h); }
.hx-logo { display: inline-flex; align-items: flex-start; align-self: stretch; flex: none; overflow: hidden; }
/* Round badge: a touch larger than the bar, flush with its top edge, bottom trimmed by the header. */
.hx-logo__img { height: 100px; max-height: 100px; width: auto; max-width: 260px; object-fit: contain; display: block; margin-top: 4px; }
.hx-logo--invert .hx-logo__img { filter: brightness(0) invert(1); }
.hx-footer .hx-logo { overflow: visible; align-self: auto; }
.hx-footer .hx-logo__img { height: 72px; max-height: 72px; margin: 0; }
@media (max-width: 900px) { .hx-logo__img { height: 82px; max-height: 82px; margin-top: 3px; } }
.hx-logo--text { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.hx-logo--text span { color: var(--hx-accent); }
.hx-header__right { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.hx-burger { display: none; }
.hx-actions { display: flex; align-items: center; gap: 2px; }
.hx-cart { position: relative; }
.hx-cart-count {
	position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--hx-accent); color: #121212;
	font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
	transition: transform .2s var(--hx-ease);
}
.hx-cart-count.is-empty { display: none; }
.hx-cart.is-bump .hx-cart-count { transform: scale(1.35); }

/* Search (theme form and FiboSearch) */
.hx-search { position: relative; display: flex; align-items: center; gap: 8px; width: 260px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--hx-surface-2); border: 1px solid var(--hx-line); }
.hx-search .hx-icon { color: var(--hx-muted); flex: none; }
.hx-search input[type="search"] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 14px; color: var(--hx-text); }
.hx-search input::placeholder { color: var(--hx-faint); }
.hx-search--fibo { padding: 0; border: 0; background: transparent; width: auto; }
.hx-search--fibo .dgwt-wcas-search-wrapp { width: 260px; max-width: 100%; }
/* Compact header search (FiboSearch icon layout): a 44px button that expands into a field. */
.hx-search--compact .dgwt-wcas-search-wrapp { width: auto; }
.hx-search--compact .dgwt-wcas-ico-magnifier-handler, .hx-search--compact .dgwt-wcas-search-icon { color: var(--hx-text); }
.hx-search--compact .dgwt-wcas-layout-icon-flexible .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input { height: 44px; border-radius: 999px; }
.hx-search--compact.hx-search:not(.hx-search--fibo) { width: 44px; padding: 0; justify-content: center; background: transparent; border-color: transparent; }
.hx-search--compact.hx-search:not(.hx-search--fibo) input { display: none; }
@media (min-width: 1400px) {
	.hx-search--compact.hx-search:not(.hx-search--fibo) { width: 220px; padding: 0 16px; background: var(--hx-surface-2); border-color: var(--hx-line); justify-content: flex-start; }
	.hx-search--compact.hx-search:not(.hx-search--fibo) input { display: block; }
}
.hx-search--fibo .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	height: 44px; border-radius: 999px; background: var(--hx-surface-2); border: 1px solid var(--hx-line); color: var(--hx-text); font-size: 14px; box-shadow: none;
}
.hx-search--fibo .dgwt-wcas-sf-wrapp input::placeholder { color: var(--hx-faint); }
.hx-search--fibo .dgwt-wcas-ico-magnifier, .hx-search--fibo .dgwt-wcas-search-icon { color: var(--hx-muted); }
.dgwt-wcas-suggestions-wrapp { background: var(--hx-surface) !important; color: var(--hx-text) !important; border: 1px solid var(--hx-line) !important; border-radius: var(--hx-radius-sm) !important; }
.dgwt-wcas-suggestion:hover, .dgwt-wcas-suggestion-selected { background: var(--hx-surface-3) !important; }
.dgwt-wcas-st, .dgwt-wcas-sd, .dgwt-wcas-sp { color: inherit !important; }

@media (max-width: 1100px) {
	.hx-search { width: 200px; }
	.hx-search--fibo .dgwt-wcas-search-wrapp { width: 200px; }
}
@media (max-width: 900px) {
	.hx-header__inner { gap: 10px; }
	.hx-burger { display: inline-flex; margin-left: -8px; }
	.hx-nav { display: none; }
	.hx-header__right > .hx-search, .hx-header__right > .hx-search--fibo { display: none; }
}

/* --------------------------------------------------------------------------
   Primary nav + mega menu
   -------------------------------------------------------------------------- */

.hx-nav { flex: 1; min-width: 0; }
.hx-nav__list { display: flex; gap: 0; list-style: none; flex-wrap: nowrap; }
.hx-nav__item { position: relative; flex: none; }
.hx-nav__link {
	display: inline-flex; align-items: center; min-height: var(--hx-header-h); padding: 0 9px;
	font-size: 14px; font-weight: 500; color: var(--hx-text-2); position: relative; white-space: nowrap; letter-spacing: -.005em;
}
.hx-nav__link::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 16px; height: 1px; background: var(--hx-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--hx-ease); }
/* Overflow ("Mai mult") item, filled by JS when the bar is too narrow */
.hx-nav__more { display: none; }
.hx-nav__more.is-active { display: block; }
.hx-nav__more .hx-mega { min-width: 220px; left: auto; right: 0; }
.hx-nav__more .hx-mega__cols { flex-direction: column; gap: 0; }
.hx-nav__more .hx-mega__link { padding: 8px 0; font-size: 15px; color: var(--hx-text-2); }
.hx-nav__more .hx-mega__link:hover { color: var(--hx-text); }
.hx-nav__item.is-overflowed { position: absolute; visibility: hidden; pointer-events: none; }
.hx-nav__item:hover > .hx-nav__link, .hx-nav__item.is-open > .hx-nav__link, .hx-nav__item.is-current > .hx-nav__link { color: var(--hx-text); }
.hx-nav__item:hover > .hx-nav__link::after, .hx-nav__item.is-open > .hx-nav__link::after, .hx-nav__item.is-current > .hx-nav__link::after { transform: scaleX(1); }
.hx-nav__link.hx-accent, .hx-nav__link.hx-sale { color: var(--hx-accent); }
.hx-hidden { display: none; }

.hx-mega {
	position: absolute; left: 0; top: 100%; z-index: 70; min-width: 560px; max-width: calc(100vw - 2 * var(--hx-gutter));
	padding-top: 0; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--hx-ease), transform .18s var(--hx-ease), visibility 0s linear .18s;
}
.hx-nav__item.is-open > .hx-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hx-nav__item:nth-last-child(-n+2) > .hx-mega { left: auto; right: 0; }
.hx-mega__inner { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 22px 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.hx-mega__cols { display: flex; gap: 36px; list-style: none; }
.hx-mega__col { min-width: 160px; }
.hx-mega__head { display: flex; align-items: center; gap: 10px; padding: 4px 0 10px; font-size: 15px; font-weight: 600; color: var(--hx-text); border-bottom: 1px solid var(--hx-line); margin-bottom: 8px; }
.hx-mega__thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--hx-surface-3); }
.hx-mega__links, .hx-mega__sub { list-style: none; display: flex; flex-direction: column; }
.hx-mega__link { display: block; padding: 6px 0; font-size: 14px; color: var(--hx-muted); }
.hx-mega__link:hover { color: var(--hx-text); }

/* --------------------------------------------------------------------------
   Mobile off-canvas menu + scrim
   -------------------------------------------------------------------------- */

.hx-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.hx-scrim.is-open { opacity: 1; }
.hx-mnav {
	position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(360px, 88vw);
	background: var(--hx-bg); border-right: 1px solid var(--hx-line);
	transform: translateX(-100%); transition: transform .25s var(--hx-ease);
	display: flex; flex-direction: column; overflow-y: auto; padding-bottom: 24px;
}
.hx-mnav.is-open { transform: none; }
.hx-mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--hx-line); }
.hx-mnav__title { font-weight: 600; }
.hx-mnav__search { padding: 14px 16px; }
.hx-mnav__search .hx-search, .hx-mnav__search .dgwt-wcas-search-wrapp { width: 100%; }
.hx-mnav__list, .hx-mnav__list ul { list-style: none; }
.hx-mnav__list > li { border-bottom: 1px solid var(--hx-line); }
.hx-mnav__list li { position: relative; }
.hx-mnav__list a { display: block; padding: 14px 56px 14px 20px; font-size: 16px; font-weight: 500; }
.hx-mnav__list ul a { padding-left: 32px; font-size: 15px; color: var(--hx-muted); font-weight: 400; }
.hx-mnav__list ul ul a { padding-left: 44px; font-size: 14px; }
.hx-mnav__list ul { display: none; }
.hx-mnav__list li.is-open > ul { display: block; padding-bottom: 6px; }
.hx-mnav__toggle { position: absolute; right: 8px; top: 4px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--hx-muted); border-radius: 999px; }
.hx-mnav__toggle svg { transition: transform .2s; }
.hx-mnav__list li.is-open > .hx-mnav__toggle svg { transform: rotate(90deg); }
.hx-mnav__foot { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; font-size: 14px; color: var(--hx-muted); }
.hx-mnav__foot a { display: flex; align-items: center; gap: 10px; }
.hx-mnav__foot .hx-icon { color: var(--hx-accent); }

/* --------------------------------------------------------------------------
   Stage (product photo panel), pills, stock
   -------------------------------------------------------------------------- */

/* Product photos are shot on white, so the stage is light: the product sits on its own
   paper, the page stays dark around it. */
.hx-stage {
	position: relative; margin: 0; overflow: hidden; border-radius: var(--hx-radius-sm);
	background: linear-gradient(180deg, #ffffff 0%, #f1f0ec 100%);
	display: flex; align-items: center; justify-content: center;
}
.hx-stage img { width: 100%; height: 100%; object-fit: contain; padding: 4%; mix-blend-mode: multiply; transition: transform .35s var(--hx-ease); }
.hx-stage--hero { aspect-ratio: 5 / 4; border-radius: 28px; }
.hx-stage--bundle { aspect-ratio: 4 / 3; border-radius: 22px; }
.hx-stage--post, .hx-stage--article { aspect-ratio: 16 / 10; background: var(--hx-surface-2); }
.hx-stage--post img, .hx-stage--article img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.hx-stage--article { border-radius: 28px; margin: 28px 0 36px; }

.hx-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.hx-pill--sale { background: var(--hx-accent); color: #121212; }
.hx-pill--muted { background: var(--hx-surface-3); color: var(--hx-text); font-weight: 600; border: 1px solid var(--hx-line-strong); }
.hx-pill--lg { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 6px 12px; font-size: 13px; }

.hx-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.hx-stock__dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.hx-stock--ok { color: var(--hx-ok); }
.hx-stock--warn { color: var(--hx-warn); }
.hx-stock--muted { color: var(--hx-faint); }

/* --------------------------------------------------------------------------
   Price
   -------------------------------------------------------------------------- */

.hx-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hx-price__now { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.hx-price__from { font-size: 13px; font-weight: 400; color: var(--hx-muted); }
.hx-price__was { font-size: 14px; color: var(--hx-faint); }
.hx-price__save { font-size: 13px; font-weight: 600; color: var(--hx-accent); }
.hx-price--single .hx-price__now { font-size: 34px; letter-spacing: -.02em; }
.hx-price--single .hx-price__was { font-size: 17px; }
.hx-price__now--ask { font-size: 18px; color: var(--hx-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */

.hx-grid { display: grid; gap: 16px; list-style: none; }
.hx-grid--products, .hx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hx-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hx-grid--products, .hx-grid--3, .hx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .hx-grid--3 { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.hx-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px;
	border-radius: var(--hx-radius); background: var(--hx-surface); border: 1px solid var(--hx-line);
	transition: transform .2s var(--hx-ease), border-color .2s, background .2s;
}
.hx-card:hover { transform: translateY(-4px); border-color: var(--hx-accent-soft); background: var(--hx-surface-2); }
.hx-card__media { position: relative; display: block; }
.hx-card__media .hx-stage { aspect-ratio: 1 / 1; }
.hx-card:hover .hx-stage img { transform: scale(1.04); }
.hx-card__media .hx-pill { position: absolute; top: 10px; left: 10px; }
.hx-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hx-card__brand { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-faint); }
.hx-card__title { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.hx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hx-card__lead { font-size: 13px; line-height: 1.45; color: var(--hx-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--hx-muted); flex-wrap: wrap; }
.hx-card__cta { position: relative; z-index: 2; margin-top: auto; }
.hx-card__cta .hx-btn { width: 100%; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s var(--hx-ease), background .15s; }
.hx-card:hover .hx-card__cta .hx-btn, .hx-card:focus-within .hx-card__cta .hx-btn { opacity: 1; transform: none; }
.hx-card__cta .hx-btn.loading { opacity: .6; }
.hx-card__cta .hx-btn.added::after { content: " ✓"; }
.hx-card__cta .added_to_cart { display: none; }
@media (hover: none), (max-width: 900px) {
	.hx-card__cta .hx-btn { opacity: 1; transform: none; }
	.hx-card { padding: 10px; }
	.hx-card__title { font-size: 14px; }
	.hx-price__now { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.hx-section { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.hx-section--tight { padding-top: 0; padding-bottom: 0; }
.hx-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hx-section__titles { display: flex; flex-direction: column; gap: 6px; }
.hx-section__title { font-size: 30px; }
.hx-section__text { font-size: 15px; color: var(--hx-muted); }
.hx-section__more { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.hx-section__more:hover { color: var(--hx-text); }
@media (max-width: 900px) { .hx-section { padding-top: 28px; padding-bottom: 28px; } .hx-section__title { font-size: 24px; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hx-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 48px; }
.hx-hero__copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.hx-hero__title { font-size: clamp(44px, 5.5vw, 76px); line-height: .98; letter-spacing: -.035em; }
.hx-hero__text { font-size: 19px; line-height: 1.5; color: var(--hx-muted); max-width: 480px; }
.hx-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.hx-hero__img { padding: 6%; }
.hx-hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 10px; font-size: 14px; color: var(--hx-muted); }
.hx-hero__proof li { display: flex; align-items: center; gap: 8px; }
.hx-hero__proof .hx-icon { color: var(--hx-accent); }

/* Product spotlight (hero right side) */
.hx-spot { display: flex; flex-direction: column; border-radius: 28px; background: var(--hx-surface); border: 1px solid var(--hx-line); overflow: hidden; }
.hx-spot__media { position: relative; display: block; }
.hx-stage--spot { aspect-ratio: 4 / 3; border-radius: 0; }
.hx-stage--spot img { padding: 5%; }
.hx-spot__media .hx-pill--lg { top: 16px; left: 16px; }
.hx-spot__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.hx-spot__title { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.hx-spot__lead { font-size: 15px; line-height: 1.5; color: var(--hx-muted); }
.hx-spot__price { display: flex; align-items: baseline; gap: 12px; padding-top: 4px; }
.hx-spot__now { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.hx-spot__price s { font-size: 16px; color: var(--hx-faint); }
.hx-spot__rate { font-size: 14px; color: var(--hx-text-2); margin-top: -6px; }
.hx-spot__ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 8px; }
.hx-spot__ctas .hx-btn { min-height: 50px; padding: 0 26px; font-size: 16px; }
.hx-spot .hx-stock { font-size: 13px; }

/* Installment ribbon */
.hx-ribbon {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 22px 28px; border-radius: var(--hx-radius); border: 1px solid rgba(201, 169, 106, .3);
	background: linear-gradient(90deg, rgba(201, 169, 106, .12) 0%, rgba(201, 169, 106, .03) 100%);
}
.hx-ribbon__text { display: flex; flex-direction: column; gap: 4px; }
.hx-ribbon__text strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.hx-ribbon__text span { font-size: 14px; color: var(--hx-muted); }
.hx-hero__chip {
	position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 14px;
	padding: 12px 16px 12px 14px; border-radius: 14px; background: rgba(18, 18, 18, .78);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1);
	transition: border-color .2s;
}
.hx-hero__chip:hover { border-color: var(--hx-accent-soft); }
.hx-hero__chip-name, .hx-hero__chip-price { display: flex; flex-direction: column; gap: 2px; }
.hx-hero__chip-name small { font-size: 12px; color: var(--hx-muted); }
.hx-hero__chip-name strong { font-size: 15px; font-weight: 600; }
.hx-hero__chip-sep { width: 1px; height: 30px; background: rgba(255, 255, 255, .14); }
.hx-hero__chip-price { align-items: flex-end; }
.hx-hero__chip-price strong { font-size: 16px; }
.hx-hero__chip-price small { font-size: 12px; color: var(--hx-accent); }
@media (max-width: 900px) {
	.hx-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
	.hx-hero__text { font-size: 17px; }
	.hx-spot__body { padding: 18px; }
	.hx-spot__title { font-size: 21px; }
	.hx-spot__now { font-size: 26px; }
	.hx-ribbon { padding: 18px 20px; }
	.hx-hero__chip { left: 12px; bottom: 12px; right: 12px; justify-content: space-between; }
	.hx-hero__chip-name strong { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */

.hx-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hx-cat {
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 180px; padding: 20px;
	border-radius: var(--hx-radius); background: var(--hx-surface); border: 1px solid var(--hx-line);
	transition: border-color .2s, transform .2s var(--hx-ease);
}
.hx-cat:hover { border-color: var(--hx-accent-soft); transform: translateY(-3px); }
.hx-cat__sub { font-size: 13px; color: var(--hx-faint); line-height: 1.4; }
.hx-cat__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; }
.hx-cat__arrow { opacity: .5; transition: opacity .2s, transform .2s var(--hx-ease); }
.hx-cat:hover .hx-cat__arrow { opacity: 1; transform: translateX(4px); }
@media (max-width: 1100px) { .hx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hx-cat { min-height: 140px; padding: 16px; } .hx-cat__name { font-size: 17px; } }

/* --------------------------------------------------------------------------
   Bundle block
   -------------------------------------------------------------------------- */

.hx-bundle {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; padding: 48px;
	border-radius: 28px; background: linear-gradient(135deg, #1e1b16 0%, #171717 60%); border: 1px solid rgba(201, 169, 106, .22);
}
.hx-bundle__copy { display: flex; flex-direction: column; gap: 18px; }
.hx-bundle__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.hx-bundle__text { font-size: 17px; line-height: 1.55; color: var(--hx-muted); max-width: 480px; }
.hx-bundle__items { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--hx-text-2); }
.hx-bundle__items li { display: flex; align-items: center; gap: 10px; }
.hx-bundle__items li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--hx-accent); flex: none; }
.hx-bundle__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.hx-bundle__note { font-size: 14px; color: var(--hx-muted); }
@media (max-width: 900px) { .hx-bundle { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.hx-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hx-trust__item { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--hx-radius); border: 1px solid var(--hx-line); }
.hx-trust__item .hx-icon { color: var(--hx-accent); }
.hx-trust__title { font-size: 17px; font-weight: 600; }
.hx-trust__text { font-size: 14px; color: var(--hx-muted); line-height: 1.5; }
@media (max-width: 900px) { .hx-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hx-trust__item { padding: 16px; } }

/* --------------------------------------------------------------------------
   Audiophile band + brands
   -------------------------------------------------------------------------- */

.hx-band { background: var(--hx-bg-deep); border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); margin-top: 16px; }
.hx-band__inner { display: flex; flex-direction: column; gap: 36px; padding-top: 72px; padding-bottom: 72px; }
.hx-band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: end; }
.hx-band__copy { display: flex; flex-direction: column; gap: 16px; }
.hx-band__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.03em; }
.hx-band__side { display: flex; flex-direction: column; gap: 18px; }
.hx-band__text { font-size: 17px; line-height: 1.55; color: var(--hx-muted); }
.hx-band__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hx-brands { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--hx-line); }
.hx-brands__item { font-size: 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6f6c66; transition: color .2s; }
.hx-brands__item:hover { color: var(--hx-text); }
@media (max-width: 900px) {
	.hx-band__inner { padding-top: 44px; padding-bottom: 44px; gap: 28px; }
	.hx-band__grid { grid-template-columns: 1fr; gap: 20px; }
	.hx-brands { justify-content: flex-start; gap: 10px 22px; }
	.hx-brands__item { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Blog cards, article, pages
   -------------------------------------------------------------------------- */

.hx-postcard { display: flex; flex-direction: column; gap: 12px; }
.hx-postcard__title { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hx-postcard:hover .hx-stage img { transform: scale(1.03); }
.hx-blog { padding-top: 36px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }

.hx-article { max-width: 820px; padding-top: 48px; padding-bottom: 48px; }
.hx-article__head { display: flex; flex-direction: column; gap: 14px; }
.hx-article__title { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.05; }
.hx-article__meta { font-size: 14px; color: var(--hx-faint); }
.hx-article__comments { margin-top: 48px; }

.hx-page { max-width: 1120px; padding-top: 40px; padding-bottom: 64px; }
.hx-page__head { margin-bottom: 24px; }
.hx-page__title { font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.03em; }
.hx-page--flow { max-width: var(--hx-wrap); }
.hx-page--flow .hx-page__title { font-size: 30px; }

.hx-prose { font-size: 17px; line-height: 1.65; color: var(--hx-text-2); }
.hx-prose > * + * { margin-top: 1.1em; }
.hx-prose h2 { font-size: 26px; color: var(--hx-text); margin-top: 1.8em; }
.hx-prose h3 { font-size: 21px; color: var(--hx-text); margin-top: 1.5em; }
.hx-prose a { color: var(--hx-accent); }
.hx-prose ul, .hx-prose ol { padding-left: 1.3em; }
.hx-prose li + li { margin-top: .4em; }
.hx-prose img { border-radius: var(--hx-radius-sm); }
.hx-prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--hx-accent); color: var(--hx-text); font-size: 19px; }
.hx-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hx-prose th, .hx-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hx-line); }
.hx-prose iframe { max-width: 100%; }

.hx-404 { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 640px; }
.hx-404__title { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.035em; }
.hx-404__text { font-size: 18px; color: var(--hx-muted); }
.hx-404__search .hx-search { width: min(420px, 100%); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.hx-footer { margin-top: 40px; background: var(--hx-bg-deep); border-top: 1px solid var(--hx-line); }
.hx-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-top: 48px; padding-bottom: 28px; }
.hx-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.hx-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hx-footer__col--brand { max-width: 360px; gap: 14px; }
.hx-footer__text { color: var(--hx-muted); line-height: 1.6; }
.hx-footer__heading { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-faint); margin-bottom: 6px; }
.hx-footer__links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hx-footer__links a, .hx-footer__links span { color: var(--hx-text-2); }
.hx-footer__links a:hover { color: #fff; }
.hx-footer__links--anpc { margin-top: 10px; }
.hx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hx-line); font-size: 13px; color: var(--hx-faint); }
.hx-newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-newsletter input[type="email"], .hx-newsletter input[type="text"] { flex: 1; min-width: 180px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--hx-surface-2); border: 1px solid var(--hx-line-strong); color: var(--hx-text); }
.hx-newsletter input[type="submit"], .hx-newsletter button { min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--hx-text); color: #121212; font-weight: 600; border: 0; cursor: pointer; }
.hx-newsletter .wpcf7-form p { margin: 0; }
.hx-newsletter .wpcf7-spinner { display: none; }
@media (max-width: 900px) { .hx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .hx-footer__col--brand { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Shop archive
   -------------------------------------------------------------------------- */

.hx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--hx-faint); margin-bottom: 22px; }
.hx-crumbs a { color: var(--hx-faint); }
.hx-crumbs a:hover { color: var(--hx-text); }
.hx-shop { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 26px; }
.hx-shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hx-shop__titles { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.hx-shop__title { font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -.035em; line-height: 1; }
.hx-shop__text { font-size: 17px; line-height: 1.5; color: var(--hx-muted); }
.hx-shop__count { font-size: 14px; color: var(--hx-faint); white-space: nowrap; }
.hx-shop__empty { font-size: 16px; color: var(--hx-muted); padding: 40px 0; }
.hx-shop__empty a { color: var(--hx-accent); }

.hx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14); color: var(--hx-text-2); font-size: 14px; font-weight: 500; white-space: nowrap;
	transition: border-color .15s, color .15s, background .15s;
}
.hx-chip:hover { border-color: rgba(255, 255, 255, .5); color: var(--hx-text); }
.hx-chip.is-on { background: var(--hx-text); color: #121212; border-color: var(--hx-text); }
.hx-chip--filter { display: none; }

.hx-shop__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.hx-shop__results { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.hx-rail { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--hx-header-h) + 20px); }
.hx-rail__head { display: none; }
.hx-filter { display: flex; flex-direction: column; gap: 6px; }
.hx-filter__title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-faint); padding-bottom: 8px; }
.hx-filter__list { list-style: none; display: flex; flex-direction: column; }
.hx-filter__opt { display: flex; align-items: center; gap: 12px; min-height: 38px; font-size: 15px; color: var(--hx-text-2); }
.hx-filter__opt:hover { color: var(--hx-text); }
.hx-filter__opt small { color: #6f6c66; font-size: 13px; }
.hx-filter__box { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--hx-line-strong); flex: none; position: relative; transition: background .15s, border-color .15s; }
.hx-filter__opt.is-on .hx-filter__box { background: var(--hx-accent); border-color: var(--hx-accent); }
.hx-filter__opt.is-on .hx-filter__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #121212; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hx-filter__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-filter__opt small { margin-left: auto; }
.hx-filter__search { height: 38px; padding: 0 12px; margin-bottom: 6px; border-radius: 10px; background: var(--hx-surface-2); border: 1px solid var(--hx-line); color: var(--hx-text); font-size: 14px; width: 100%; }
.hx-filter__more { align-self: flex-start; margin-top: 4px; font-size: 13px; color: var(--hx-muted); padding: 6px 0; }
.hx-filter__more:hover { color: var(--hx-text); }
.hx-filter--price { gap: 10px; }
.hx-filter__range { display: flex; align-items: center; gap: 8px; }
.hx-filter__range label { flex: 1; min-width: 0; }
.hx-filter__range input { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border-radius: 10px; background: var(--hx-surface-2); border: 1px solid var(--hx-line-strong); color: var(--hx-text); font-size: 14px; -moz-appearance: textfield; }
.hx-filter__range input::-webkit-outer-spin-button, .hx-filter__range input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hx-filter__range span { color: var(--hx-faint); }
.hx-filter__go { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--hx-text); color: #121212; display: inline-flex; align-items: center; justify-content: center; }
.hx-filter__hint { font-size: 12px; color: var(--hx-faint); }
.hx-filter__reset { align-self: flex-start; }
.hx-rail__apply { display: none; }
.hx-chip small { color: var(--hx-faint); font-size: 12px; }
.hx-chip.is-on small { color: #121212; opacity: .7; }
/* WooCommerce filter widgets dropped into the rail */
.hx-filter .woocommerce-widget-layered-nav-list, .hx-filter ul { list-style: none; }
.hx-filter .woocommerce-widget-layered-nav-list li { min-height: 36px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--hx-text-2); }
.hx-filter .woocommerce-widget-layered-nav-list li a:hover { color: var(--hx-text); }
.hx-filter .woocommerce-widget-layered-nav-list li .count { color: #6f6c66; font-size: 13px; }
.hx-filter .chosen a { color: var(--hx-accent); }
.hx-filter .price_slider_wrapper { padding-top: 10px; }
.hx-filter .price_slider { height: 4px; border-radius: 999px; background: var(--hx-surface-3); position: relative; margin-bottom: 16px; }
.hx-filter .ui-slider-range { position: absolute; height: 100%; background: var(--hx-accent); border-radius: 999px; }
.hx-filter .ui-slider-handle { position: absolute; top: -7px; width: 18px; height: 18px; margin-left: -9px; border-radius: 999px; background: var(--hx-text); cursor: grab; }
.hx-filter .price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--hx-muted); flex-wrap: wrap; }
.hx-filter .price_slider_amount .button { order: 2; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hx-line-strong); background: transparent; color: var(--hx-text); font-size: 13px; cursor: pointer; }

.hx-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.hx-toolbar__left { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hx-toolbar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hx-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--hx-surface-2); font-size: 13px; color: var(--hx-text-2); }
.hx-tag span { color: var(--hx-faint); font-size: 16px; line-height: 1; }
.hx-tag:hover span { color: var(--hx-text); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .hx-select, select {
	height: 42px; padding: 0 36px 0 14px; border-radius: 999px; background: var(--hx-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a6a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	border: 1px solid var(--hx-line); color: var(--hx-text); font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.woocommerce-result-count { display: none; }

.hx-helpcard {
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px;
	border-radius: var(--hx-radius); background: linear-gradient(160deg, #1e1b16 0%, #171717 70%); border: 1px solid rgba(201, 169, 106, .25);
}
.hx-helpcard > div { display: flex; flex-direction: column; gap: 10px; }
.hx-helpcard__title { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.hx-helpcard__note { font-size: 13px; color: var(--hx-muted); text-align: center; }

.woocommerce-pagination, .hx-pagination { display: flex; justify-content: center; padding-top: 12px; }
.woocommerce-pagination ul, .hx-pagination .nav-links { display: flex; gap: 6px; list-style: none; }
.woocommerce-pagination li a, .woocommerce-pagination li span, .hx-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 999px; border: 1px solid var(--hx-line-strong); color: var(--hx-text-2); font-size: 14px;
}
.woocommerce-pagination li a:hover, .hx-pagination a.page-numbers:hover { border-color: rgba(255, 255, 255, .5); color: var(--hx-text); }
.woocommerce-pagination li span.current, .hx-pagination .page-numbers.current { background: var(--hx-text); color: #121212; border-color: var(--hx-text); }

@media (max-width: 900px) {
	.hx-shop { padding-top: 20px; gap: 18px; }
	.hx-shop__layout { grid-template-columns: 1fr; gap: 16px; }
	.hx-chip--filter { display: inline-flex; }
	.hx-rail {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(360px, 88vw); padding: 0 20px 24px; gap: 22px;
		background: var(--hx-bg); border-right: 1px solid var(--hx-line); overflow-y: auto;
		transform: translateX(-100%); transition: transform .25s var(--hx-ease);
	}
	.hx-rail[hidden] { display: flex; }
	.hx-rail:not(.is-open) { visibility: hidden; }
	.hx-rail.is-open { transform: none; visibility: visible; }
	.hx-rail__head { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--hx-line); }
	.hx-rail__apply { display: block; position: sticky; bottom: 0; margin: auto -20px 0; padding: 12px 20px 0; background: var(--hx-bg); border-top: 1px solid var(--hx-line); }
	.hx-rail__apply .hx-btn { width: 100%; }
	.hx-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
	.hx-chips::-webkit-scrollbar { display: none; }
}
@media (min-width: 901px) { .hx-rail { visibility: visible; } .hx-rail[hidden] { display: flex; } }

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */

.hx-single { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 56px; }
.hx-single__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hx-single__gallery { position: relative; }
.hx-single__summary { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--hx-header-h) + 20px); }
.hx-single__brand { font-size: 13px; }
.product_title { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.woocommerce-product-details__short-description { font-size: 16px; line-height: 1.55; color: var(--hx-muted); }
.woocommerce-product-details__short-description ul { padding-left: 1.2em; margin-top: .6em; }
.hx-single__pricing { display: flex; flex-direction: column; gap: 6px; }
.hx-single__rate { font-size: 15px; color: var(--hx-text-2); }
.hx-single__rate strong { color: var(--hx-text); font-weight: 600; }

.hx-promise { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--hx-surface); border: 1px solid var(--hx-line); font-size: 14px; }
.hx-promise__stock { font-weight: 600; font-size: 14px; }
.hx-promise__line { color: var(--hx-text-2); }
.hx-promise__line--muted { color: var(--hx-muted); }

.hx-single__secondary { display: flex; gap: 10px; flex-wrap: wrap; }
.hx-single__secondary .hx-btn { flex: 1; min-height: 48px; font-size: 15px; }
.hx-single__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--hx-muted); }
.hx-single__trust li { display: flex; align-items: center; gap: 6px; }
.hx-single__trust li::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--hx-accent); }

/* Add to cart form */
form.cart { display: flex; flex-direction: column; gap: 14px; }
form.cart .quantity { display: inline-flex; align-items: center; }
form.cart .quantity .screen-reader-text { position: absolute; }
form.cart .quantity .qty, .quantity .qty {
	width: 72px; height: 56px; padding: 0 8px; text-align: center; border-radius: 999px;
	background: var(--hx-surface-2); border: 1px solid var(--hx-line-strong); color: var(--hx-text); font-size: 16px; -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.single_add_to_cart_button {
	flex: 1; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--hx-text); color: #121212;
	font-size: 17px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s var(--hx-ease);
}
.single_add_to_cart_button:hover { background: #fff; transform: translateY(-1px); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
form.cart.variations_form { flex-direction: column; }
.woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled { opacity: .5; }
table.variations { width: 100%; border-collapse: collapse; }
table.variations th, table.variations td { text-align: left; padding: 0 0 10px; font-size: 14px; }
table.variations th { color: var(--hx-muted); font-weight: 500; width: 110px; vertical-align: middle; }
table.variations select { width: 100%; height: 46px; }
table.variations .reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--hx-faint); }
.woocommerce-variation { padding-bottom: 6px; }
.woocommerce-variation-price .price { font-size: 22px; font-weight: 600; }
.woocommerce-variation-price .price del { color: var(--hx-faint); font-size: 15px; font-weight: 400; margin-right: 8px; }
.woocommerce-variation-price .price ins { text-decoration: none; }
.woocommerce-variation-availability .stock { font-size: 14px; }
.stock.in-stock { color: var(--hx-ok); }
.stock.out-of-stock { color: var(--hx-danger); }
.hx-single__wishlist { margin-top: -6px; }
/* Honeypot plugin's admin-only notice inside the cart form */
form.cart .wpa_hidden_field, form.cart .wpa-admin-notice, form.cart [class*="wp-armour"], form.cart [id*="wpa_"] { display: none !important; }
.hx-single__wishlist .yith-wcwl-add-to-wishlist { margin: 0; }
.hx-single__wishlist a { color: var(--hx-muted); font-size: 14px; }
.hx-single__wishlist a:hover { color: var(--hx-text); }

/* Gallery (flexslider essentials, since WooCommerce CSS is off) */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport { overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, #ffffff 0%, #f1f0ec 100%); }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 14px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 84px; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; border: 2px solid transparent; background: #fff; opacity: .7; transition: opacity .15s, border-color .15s; aspect-ratio: 1; object-fit: contain; padding: 4px; }
.woocommerce-product-gallery .flex-control-thumbs img:hover, .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--hx-accent); }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4%; background: #fff; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper { display: grid; gap: 10px; }
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image { border-radius: 28px; overflow: hidden; background: #fff; }
.woocommerce-product-gallery__trigger {
	position: absolute; right: 18px; bottom: 18px; z-index: 5; width: 44px; height: 44px; border-radius: 999px;
	background: rgba(18, 18, 18, .7); border: 1px solid rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; color: var(--hx-text); font-size: 0;
}
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f1ec' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") no-repeat center / contain; }
.woocommerce-product-gallery__trigger img { display: none; }
.pswp { z-index: 1000; }

/* Sections below the fold */
.hx-single__sections { display: flex; flex-direction: column; gap: 48px; }
.hx-single__desc { max-width: 860px; }
.hx-single__desc .hx-section__title { margin-bottom: 18px; }
.hx-single__desc table { width: 100%; }
.hx-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hx-why__item { padding: 24px; border-radius: var(--hx-radius); background: var(--hx-surface); border: 1px solid var(--hx-line); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.hx-specs { margin: 0; display: flex; flex-direction: column; }
.hx-specs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hx-line); font-size: 15px; }
.hx-specs dt { color: var(--hx-faint); }
.hx-specs dd { margin: 0; color: var(--hx-text); }

/* Related / upsells (WooCommerce wrappers) */
.related, .up-sells, .cross-sells { display: flex; flex-direction: column; gap: 22px; }
.related > h2, .up-sells > h2, .cross-sells > h2 { font-size: 30px; }

/* Reviews */
.hx-reviews #reviews { display: flex; flex-direction: column; gap: 18px; }
.hx-reviews .commentlist { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hx-reviews .comment_container { display: flex; gap: 14px; padding: 18px; border-radius: var(--hx-radius-sm); background: var(--hx-surface); border: 1px solid var(--hx-line); }
.hx-reviews .avatar { width: 40px; height: 40px; border-radius: 999px; }
.hx-reviews .meta { font-size: 13px; color: var(--hx-faint); }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; line-height: 1; font-size: 1em; overflow: hidden; color: var(--hx-accent); }
.star-rating::before { content: "\2605\2605\2605\2605\2605"; opacity: .25; position: absolute; left: 0; top: 0; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }
.star-rating span::before { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; }

/* Sticky buy bar */
.hx-buybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 10px var(--hx-gutter); background: rgba(18, 18, 18, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-top: 1px solid var(--hx-line); transform: translateY(100%); transition: transform .25s var(--hx-ease);
}
.hx-buybar.is-visible { transform: none; }
.hx-buybar__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hx-buybar__brand { font-size: 12px; color: var(--hx-faint); }
.hx-buybar__title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-buybar__right { display: flex; align-items: center; gap: 16px; flex: none; }
.hx-buybar__price { display: flex; flex-direction: column; align-items: flex-end; }
.hx-buybar__price span { font-size: 18px; font-weight: 600; }
.hx-buybar__price small { font-size: 12px; color: var(--hx-accent); }

@media (max-width: 900px) {
	.hx-single { gap: 36px; }
	.hx-single__top, .hx-single__cols { grid-template-columns: 1fr; gap: 24px; }
	.hx-single__summary { position: static; }
	.hx-why { grid-template-columns: 1fr; }
	.hx-buybar__name { display: none; }
	.hx-buybar__right { width: 100%; justify-content: space-between; }
	.woocommerce-product-gallery .flex-control-thumbs li { width: 64px; }
}

/* --------------------------------------------------------------------------
   Notices, forms, account, cart/checkout (block) overrides
   -------------------------------------------------------------------------- */

.hx-notices { padding-top: 12px; }
.hx-notices:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--hx-radius-sm);
	background: var(--hx-surface); border: 1px solid var(--hx-line); color: var(--hx-text); font-size: 15px; list-style: none; margin: 0 0 12px;
}
.woocommerce-message { border-color: rgba(143, 211, 164, .4); }
.woocommerce-error { border-color: rgba(228, 134, 123, .5); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hx-line-strong); color: var(--hx-text); font-size: 14px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea {
	background: var(--hx-surface-2); border: 1px solid var(--hx-line-strong); color: var(--hx-text); border-radius: 12px; padding: 12px 14px; width: 100%; max-width: 100%;
}
textarea { min-height: 120px; }
input::placeholder, textarea::placeholder { color: var(--hx-faint); }
label { font-size: 14px; color: var(--hx-text-2); }
.button, button.button, input[type="submit"].button, .woocommerce-button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
	background: var(--hx-text); color: #121212; font-weight: 600; border: 0; cursor: pointer; text-decoration: none;
}
.button:hover, .wc-block-components-button:hover { background: #fff; color: #121212; }

/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.woocommerce-MyAccount-navigation li a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hx-line-strong); font-size: 14px; color: var(--hx-text-2); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--hx-text); color: #121212; border-color: var(--hx-text); }
.woocommerce-MyAccount-content { font-size: 15px; }
.woocommerce-MyAccount-content table, .shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-MyAccount-content th, .woocommerce-MyAccount-content td, .shop_table th, .shop_table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--hx-line); }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.woocommerce-form-row, .form-row { display: flex; flex-direction: column; gap: 6px; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--hx-muted); }

/* Cart / checkout blocks: keep them on our palette */
.hx-checkout-flow .wc-block-components-sidebar-layout { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-text-input input,
.hx-checkout-flow .wc-block-components-select select,
.hx-checkout-flow .wc-block-components-textarea textarea,
.hx-checkout-flow .wc-block-components-combobox input,
.hx-checkout-flow .wc-block-components-totals-coupon input {
	background: var(--hx-surface-2) !important; color: var(--hx-text) !important; border-color: var(--hx-line-strong) !important;
}
.hx-checkout-flow .wc-block-components-text-input label, .hx-checkout-flow .wc-block-components-select label, .hx-checkout-flow .wc-block-components-combobox label { color: var(--hx-faint) !important; }
.hx-checkout-flow .wc-block-components-checkbox .wc-block-components-checkbox__input { background: var(--hx-surface-2); border-color: var(--hx-line-strong); }
.hx-checkout-flow .wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--hx-accent); border-color: var(--hx-accent); }
.hx-checkout-flow .wc-block-components-radio-control__input { border-color: var(--hx-line-strong) !important; background: var(--hx-surface-2); }
.hx-checkout-flow .wc-block-components-radio-control__input:checked { border-color: var(--hx-accent) !important; }
.hx-checkout-flow .wc-block-components-radio-control__input:checked::before { background: var(--hx-accent); }
.hx-checkout-flow .wc-block-components-panel__button, .hx-checkout-flow .wc-block-components-totals-item, .hx-checkout-flow .wc-block-components-order-summary-item__description { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-sidebar { background: var(--hx-surface); border-radius: var(--hx-radius); border: 1px solid var(--hx-line); padding: 8px 20px !important; }
.hx-checkout-flow .wc-block-components-main { background: transparent; }
.hx-checkout-flow .wc-block-components-checkout-step, .hx-checkout-flow .wc-block-cart-items { border-color: var(--hx-line) !important; }
.hx-checkout-flow .wc-block-components-product-name, .hx-checkout-flow .wc-block-cart-item__total-price-and-sale-badge-wrapper, .hx-checkout-flow .wc-block-components-product-price { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-quantity-selector { background: var(--hx-surface-2); border-radius: 999px; }
.hx-checkout-flow .wc-block-components-quantity-selector input { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-quantity-selector::after { border-color: var(--hx-line-strong) !important; }
.hx-checkout-flow .wc-block-components-quantity-selector__button { color: var(--hx-muted); }
.hx-checkout-flow .wc-block-components-button { background: var(--hx-text) !important; color: #121212 !important; border-radius: 999px !important; }
.hx-checkout-flow .wc-block-components-payment-method-label, .hx-checkout-flow .wc-block-components-shipping-rates-control__package, .hx-checkout-flow .wc-block-components-address-card { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-notice-banner { background: var(--hx-surface) !important; color: var(--hx-text) !important; }
.hx-checkout-flow .wc-block-components-formatted-money-amount, .hx-checkout-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--hx-text); }
.hx-checkout-flow .wc-block-cart__empty-cart__title, .hx-checkout-flow .wp-block-woocommerce-empty-cart-block h2 { color: var(--hx-text); }
.hx-checkout-flow .wc-block-components-express-payment__title-container { color: var(--hx-muted); }
