/* Genereeritud failist assets/src/header.css — ära muuda siin, muuda src-faili ja käivita tools/build-css.py */
/* =====================================================================
   HELIX — päis
   ===================================================================== */

.hx-hd:not(#hx_),
.hx-drawer:not(#hx_),
.hx-tabbar:not(#hx_),
.hx-sheet:not(#hx_) {
	--hd-accent:   var( --hx-accent, var( --hd-accent-kodu, #764452 ) );
	--hd-tint:     var( --hx-tint, var( --hd-tint-kodu, #F6F1EA ) );
	--hd-ink:      var( --helix-ink, #1C1C1C );
	--hd-muted:    #6B6762;
	--hd-line:     #ECE5DA;
	--hd-h:        76px;
	--hd-h-small:  62px;
	--hd-gap:      12px;
	--hd-radius:   20px;
	--hd-ease:     cubic-bezier( .2, .8, .2, 1 );
}

/* Vaate järgi peidetav sisu — reeglid on modules/vaade.php päises */

.hx-hd:not(#hx_) *,
.hx-drawer:not(#hx_) *,
.hx-tabbar:not(#hx_) *,
.hx-sheet:not(#hx_) * { box-sizing: border-box; }

.hx-hd:not(#hx_) ul,
.hx-drawer:not(#hx_) ul { margin: 0; padding: 0; list-style: none; }

.hx-hd:not(#hx_) a,
.hx-drawer:not(#hx_) a,
.hx-tabbar:not(#hx_) a,
.hx-sheet:not(#hx_) a { text-decoration: none; }

.hx-tabbar:not(#hx_) button,
.hx-sheet:not(#hx_) button,
.hx-drawer:not(#hx_) button {
	margin: 0;
	min-width: 0;
	min-height: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
}

.hx-ico:not(#hx_) { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------------------------------------------------------------------
   Raam
   --------------------------------------------------------------------- */

.hx-hd-spacer:not(#hx_) { height: calc( var( --hd-h, 76px ) + var( --hd-gap, 12px ) * 2 ); }

.hx-hd:not(#hx_) {
	position: fixed;
	top: var( --wp-admin--admin-bar--height, 0px );
	left: 0;
	right: 0;
	z-index: 9990;
	padding: 0 16px;
	font-family: inherit;
	color: var( --hd-ink );
	pointer-events: none;
}

.hx-hd:not(#hx_) > * { pointer-events: auto; }

.hx-hd__bar:not(#hx_) {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax( 0, 1fr ) auto;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	height: var( --hd-h );
	margin: var( --hd-gap ) auto 0;
	padding: 0 12px 0 22px;
	border-radius: var( --hd-radius );
	animation: hx-hd-in .7s var( --hd-ease ) both;
	transition: height .35s var( --hd-ease ), margin .35s var( --hd-ease );
}

/* Taust eraldi kihil — backdrop-filter otse ribal lõhuks fixed-elemendid (mobiili minikorv) */
.hx-hd__bar:not(#hx_)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: rgba( 255, 255, 255, .97 );
	box-shadow: 0 1px 0 rgba( 0, 0, 0, .03 ), 0 10px 30px rgba( 0, 0, 0, .06 );
	transition: background-color .35s, box-shadow .35s;
}

@keyframes hx-hd-in {
	from { opacity: 0; transform: translateY( -24px ); }
	to   { opacity: 1; transform: none; }
}

/* Kerimisel */
.hx-hd.is-scrolled:not(#hx_) .hx-hd__bar {
	height: var( --hd-h-small );
	margin-top: 8px;
}

.hx-hd.is-scrolled:not(#hx_) .hx-hd__bar::before {
	background: rgba( 255, 255, 255, .86 );
	backdrop-filter: saturate( 1.4 ) blur( 14px );
	-webkit-backdrop-filter: saturate( 1.4 ) blur( 14px );
	box-shadow: 0 1px 0 rgba( 0, 0, 0, .04 ), 0 14px 40px rgba( 0, 0, 0, .1 );
}

/* ---------------------------------------------------------------------
   Logo
   --------------------------------------------------------------------- */

.hx-hd__logo:not(#hx_),
.hx-drawer__logo:not(#hx_) {
	display: flex;
	align-items: center;
	color: var( --hd-ink );
}

.hx-hd__logo:not(#hx_) img,
.hx-drawer__logo:not(#hx_) img {
	display: block;
	width: auto;
	max-width: none;
	height: var( --hd-logo-h, 44px );
	transition: height .35s var( --hd-ease ), transform .35s var( --hd-ease );
}

.hx-hd.is-scrolled:not(#hx_) .hx-hd__logo img { height: calc( var( --hd-logo-h, 44px ) * .82 ); }

.hx-hd__logo:hover:not(#hx_) img { transform: scale( 1.03 ); }

.hx-hd__logo-text:not(#hx_) { font-size: 24px; font-weight: 700; }

/* ---------------------------------------------------------------------
   Menüü
   --------------------------------------------------------------------- */

.hx-hd__nav:not(#hx_) { display: flex; justify-content: center; min-width: 0; }

.hx-hd__menu:not(#hx_) { display: flex; align-items: center; gap: 2px; }

.hx-hd__item:not(#hx_) {
	animation: hx-hd-item .6s var( --hd-ease ) both;
	animation-delay: calc( .15s + var( --i, 0 ) * .05s );
}

@keyframes hx-hd-item {
	from { opacity: 0; transform: translateY( -8px ); }
	to   { opacity: 1; transform: none; }
}

.hx-hd:not(#hx_) .hx-hd__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	border-radius: 12px;
	color: var( --hd-ink );
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	transition: color .25s, background-color .25s;
}

.hx-hd:not(#hx_) .hx-hd__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 5px;
	height: 2px;
	border-radius: 2px;
	background: var( --hd-accent );
	transform: scaleX( 0 );
	transition: transform .35s var( --hd-ease );
}

.hx-hd:not(#hx_) .hx-hd__link:hover,
.hx-hd:not(#hx_) .hx-hd__item.is-open .hx-hd__link,
.hx-hd:not(#hx_) .hx-hd__link[aria-current="page"] { color: var( --hd-accent ); }

.hx-hd:not(#hx_) .hx-hd__link:hover::after,
.hx-hd:not(#hx_) .hx-hd__item.is-open .hx-hd__link::after,
.hx-hd:not(#hx_) .hx-hd__link[aria-current="page"]::after { transform: scaleX( 1 ); }

.hx-hd__link:not(#hx_) .hx-ico {
	width: 15px;
	height: 15px;
	transition: transform .3s var( --hd-ease );
}

.hx-hd__item.is-open:not(#hx_) .hx-hd__link .hx-ico { transform: rotate( 180deg ); }

.hx-hd:not(#hx_) .hx-hd__link:focus-visible {
	outline: 2px solid var( --hd-accent );
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Tegevused
   --------------------------------------------------------------------- */

.hx-hd__actions:not(#hx_) {
	display: flex;
	align-items: center;
	gap: 8px;
	animation: hx-hd-item .6s var( --hd-ease ) .35s both;
}

.hx-hd__cart:not(#hx_) { position: relative; }

.hx-hd__burger:not(#hx_) {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	cursor: pointer;
	transition: background-color .25s, transform .25s;
}

.hx-hd__burger:hover:not(#hx_) { transform: translateY( -1px ); }
.hx-hd__burger:not(#hx_) .hx-ico { width: 22px; height: 22px; }

/* ---------------------------------------------------------------------
   Nupud ja üldised elemendid
   --------------------------------------------------------------------- */

.hx-hd:not(#hx_) .hx-btn,
.hx-drawer:not(#hx_) .hx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .25s, transform .25s, box-shadow .25s;
}

.hx-hd:not(#hx_) .hx-btn--accent,
.hx-drawer:not(#hx_) .hx-btn--accent {
	background: var( --hd-accent );
	color: #fff;
}

.hx-hd:not(#hx_) .hx-btn--accent:hover,
.hx-drawer:not(#hx_) .hx-btn--accent:hover {
	color: #fff;
	transform: translateY( -1px );
	box-shadow: 0 8px 20px rgba( 0, 0, 0, .15 );
}

.hx-hd:not(#hx_) .hx-btn .hx-ico { transition: transform .3s var( --hd-ease ); }
.hx-hd:not(#hx_) .hx-btn:hover .hx-ico { transform: translateX( 3px ); }

.hx-hd:not(#hx_) .hx-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

.hx-mega__label:not(#hx_) {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	color: var( --hd-muted );
}

/* ---------------------------------------------------------------------
   Mega menüüd
   --------------------------------------------------------------------- */

.hx-mega:not(#hx_) {
	position: absolute;
	top: calc( var( --hd-gap ) + var( --hd-h ) + 10px );
	left: 16px;
	right: 16px;
	max-width: 1440px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY( -10px );
	transition: opacity .25s, transform .35s var( --hd-ease ), top .35s var( --hd-ease );
}

.hx-hd.is-scrolled:not(#hx_) .hx-mega { top: calc( 8px + var( --hd-h-small ) + 10px ); }

.hx-mega[hidden]:not(#hx_) { display: none; }

.hx-mega.is-open:not(#hx_) { opacity: 1; transform: none; }

.hx-mega__inner:not(#hx_) {
	max-height: calc( 100vh - var( --hd-h ) - var( --hd-gap ) - 40px - var( --wp-admin--admin-bar--height, 0px ) );
	overflow: hidden auto;
	overscroll-behavior: contain;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 80px rgba( 0, 0, 0, .18 );
}

/* Väikesed mega menüüd joonduvad oma menüüpunkti alla */
.hx-mega--small:not(#hx_) {
	right: auto;
	left: max( 16px, var( --mega-left, 16px ) );
	width: min( 800px, calc( 100% - 32px ) );
	margin: 0;
}

/* --- Kataloog --- */
.hx-cat:not(#hx_) {
	display: grid;
	grid-template-columns: 410px minmax( 0, 1fr ) 270px;
}

.hx-cat__list:not(#hx_) {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
	background: var( --hd-tint );
	transition: background-color .4s;
}

.hx-cat__view:not(#hx_) { display: flex; flex: 1 1 auto; flex-direction: column; }

.hx-cat__items:not(#hx_) { display: grid; gap: 8px; }

.hx-hd:not(#hx_) .hx-cat__item,
.hx-drawer:not(#hx_) .hx-drawer__cat {
	display: grid;
	grid-template-columns: 58px minmax( 0, 1fr ) auto;
	gap: 14px;
	align-items: center;
	padding: 10px 14px 10px 10px;
	border-radius: 16px;
	color: var( --hd-ink );
	transition: background-color .25s, box-shadow .25s, transform .25s;
}

.hx-hd:not(#hx_) .hx-cat__item .hx-ico {
	opacity: 0;
	color: var( --hd-accent );
	transform: translateX( -6px );
	transition: opacity .25s, transform .3s var( --hd-ease );
}

.hx-hd:not(#hx_) .hx-cat__item.is-active {
	background: #fff;
	box-shadow: 0 6px 18px rgba( 0, 0, 0, .07 ), inset 0 0 0 1px rgba( 0, 0, 0, .03 );
}

.hx-hd:not(#hx_) .hx-cat__item.is-active .hx-ico { opacity: 1; transform: none; }

.hx-cat__thumb:not(#hx_) {
	display: block;
	width: 58px;
	height: 58px;
	padding: 6px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, .04 );
}

.hx-hd:not(#hx_) .hx-cat__thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
}

.hx-cat__text:not(#hx_) { min-width: 0; }

.hx-cat__text:not(#hx_) .hx-t,
.hx-cat__text:not(#hx_) small {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hx-cat__text:not(#hx_) .hx-t {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.hx-cat__text:not(#hx_) small {
	margin-top: 3px;
	font-size: 13px;
	color: var( --hd-muted );
}

.hx-hd:not(#hx_) .hx-cat__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
	color: var( --hd-accent );
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hx-hd:not(#hx_) .hx-cat__all:hover .hx-ico { transform: translateX( 3px ); }
.hx-cat__all:not(#hx_) .hx-ico { transition: transform .3s var( --hd-ease ); }

/* Eelvaade */
.hx-cat__preview:not(#hx_) {
	display: grid;
	padding: 24px;
}

.hx-cat__card:not(#hx_) {
	display: flex;
	flex-direction: column;
	gap: 20px;
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY( 6px );
	transition: opacity .3s, transform .4s var( --hd-ease ), visibility 0s .3s;
}

.hx-cat__card.is-active:not(#hx_) {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .3s, transform .4s var( --hd-ease ), visibility 0s;
}

.hx-cat__image:not(#hx_) {
	flex: 0 0 auto;
	height: clamp( 200px, 34vh, 340px );
	overflow: hidden;
	border-radius: 18px;
	background: var( --hd-tint );
}

.hx-cat__image:not(#hx_) img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform: scale( 1.04 );
	transition: transform 1.2s var( --hd-ease );
}

.hx-cat__card.is-active:not(#hx_) .hx-cat__image img { transform: none; }

.hx-cat__body:not(#hx_) {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.hx-hd:not(#hx_) .hx-cat__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var( --hd-ink );
}

.hx-hd:not(#hx_) .hx-cat__desc {
	max-width: 520px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: var( --hd-muted );
}

.hx-hd:not(#hx_) .hx-cat__meta {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var( --hd-ink );
}

/* Parem veerg */
.hx-cat__aside:not(#hx_) {
	padding: 24px;
	border-left: 1px solid var( --hd-line );
}

.hx-cat__sizes:not(#hx_) { display: none; margin-bottom: 24px; }
.hx-cat__sizes.is-active:not(#hx_) { display: block; animation: hx-fade .3s ease both; }

@keyframes hx-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.hx-chips:not(#hx_) { display: flex; flex-wrap: wrap; gap: 8px; }

.hx-hd:not(#hx_) .hx-chip {
	padding: 9px 15px;
	border: 1px solid var( --hd-line );
	border-radius: 999px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}

.hx-hd:not(#hx_) .hx-chip:hover {
	border-color: var( --hd-accent );
	background: var( --hd-accent );
	color: #fff;
	transform: translateY( -1px );
}

.hx-shortcuts:not(#hx_) { display: grid; gap: 6px; }

.hx-hd:not(#hx_) .hx-shortcuts a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px;
	border-radius: 12px;
	color: var( --hd-ink );
	font-size: 15px;
	font-weight: 600;
	transition: background-color .25s, transform .3s var( --hd-ease );
}

.hx-hd:not(#hx_) .hx-shortcuts a:hover { background: var( --hd-tint ); transform: translateX( 3px ); }

.hx-shortcuts__icon:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var( --hd-tint );
	color: var( --hd-accent );
}

.hx-shortcuts__icon:not(#hx_) .hx-ico { width: 20px; height: 20px; }
.hx-shortcuts__icon:not(#hx_) img { width: 24px; height: 24px; object-fit: contain; }

/* --- Väikesed mega menüüd --- */
.hx-small:not(#hx_) {
	display: grid;
	grid-template-columns: minmax( 0, 1.35fr ) minmax( 0, 1fr );
	gap: 8px;
	align-items: start;
	padding: 12px;
}

.hx-small__links:not(#hx_) { display: grid; gap: 4px; align-content: start; }

.hx-hd:not(#hx_) .hx-small__link {
	display: grid;
	grid-template-columns: 56px minmax( 0, 1fr ) auto;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border-radius: 16px;
	color: var( --hd-ink );
	transition: background-color .25s;
}

.hx-hd:not(#hx_) .hx-small__link:hover { background: var( --hd-tint ); }

.hx-small__link:not(#hx_) > .hx-ico {
	color: var( --hd-accent );
	opacity: 0;
	transform: translateX( -6px );
	transition: opacity .25s, transform .3s var( --hd-ease );
}

.hx-small__link:hover:not(#hx_) > .hx-ico { opacity: 1; transform: none; }

.hx-small__thumb:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 9px;
	overflow: hidden;
	border-radius: 14px;
	background: var( --hd-tint );
	color: var( --hd-accent );
}

.hx-hd:not(#hx_) .hx-small__thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
}

.hx-small__text:not(#hx_) .hx-t,
.hx-small__plain:not(#hx_) .hx-t {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.hx-small__text:not(#hx_) small,
.hx-small__plain:not(#hx_) small {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.4;
	color: var( --hd-muted );
}

.hx-small__grid:not(#hx_) {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 4px;
	align-content: start;
}

.hx-hd:not(#hx_) .hx-small__plain {
	display: block;
	height: 100%;
	padding: 14px 16px;
	border-radius: 14px;
	color: var( --hd-ink );
	transition: background-color .25s;
}

.hx-hd:not(#hx_) .hx-small__plain:hover { background: var( --hd-tint ); }
.hx-hd:not(#hx_) .hx-small__plain:hover .hx-t { color: var( --hd-accent ); }

.hx-hd:not(#hx_) .hx-feature {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
	background: var( --hd-tint );
	color: var( --hd-ink );
}

.hx-feature__image:not(#hx_) {
	display: block;
	flex: 0 0 auto;
	height: 190px;
	overflow: hidden;
}

.hx-hd:not(#hx_) .hx-feature__image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transition: transform 1s var( --hd-ease );
}

.hx-feature:hover:not(#hx_) .hx-feature__image img { transform: scale( 1.05 ); }

.hx-feature__body:not(#hx_) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 18px;
}

.hx-feature__body:not(#hx_) .hx-t { font-size: 18px; font-weight: 700; line-height: 1.25; }
.hx-feature__body:not(#hx_) small { font-size: 13px; line-height: 1.45; color: var( --hd-muted ); }
.hx-feature__body:not(#hx_) .hx-btn { margin-top: 8px; }

.hx-feature--note:not(#hx_) .hx-feature__body { height: 100%; justify-content: center; padding: 24px; }

.hx-feature__icon:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 6px;
	border-radius: 14px;
	background: #fff;
	color: var( --hd-accent );
}

.hx-feature__icon:not(#hx_) .hx-ico { width: 24px; height: 24px; }

.hx-feature__contact:not(#hx_) {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
}

.hx-hd:not(#hx_) .hx-feature__contact a { color: var( --hd-ink ); }
.hx-hd:not(#hx_) .hx-feature__contact a:hover { color: var( --hd-accent ); }

/* ---------------------------------------------------------------------
   Taust mega menüü / mobiilimenüü all
   --------------------------------------------------------------------- */

.hx-hd-overlay:not(#hx_) {
	position: fixed;
	inset: 0;
	z-index: 9980;
	background: rgba( 24, 18, 16, .38 );
	backdrop-filter: blur( 2px );
	-webkit-backdrop-filter: blur( 2px );
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility 0s .3s;
}

html.hx-mega-open:not(#hx_) .hx-hd-overlay,
html.hx-drawer-open:not(#hx_) .hx-hd-overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s, visibility 0s;
}

html.hx-drawer-open:not(#hx_),
html.hx-drawer-open:not(#hx_) body { overflow: hidden; }

/* ---------------------------------------------------------------------
   Mobiilimenüü
   --------------------------------------------------------------------- */

.hx-drawer:not(#hx_) {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	width: min( 440px, 100% );
	background: #fff;
	color: var( --hd-ink );
	font-family: inherit;
	box-shadow: -20px 0 60px rgba( 0, 0, 0, .15 );
	transform: translateX( 100% );
	transition: transform .45s var( --hd-ease );
}

.hx-drawer[hidden]:not(#hx_) { display: none; }

.hx-drawer.is-open:not(#hx_) { transform: none; }

.hx-drawer__head:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 16px 20px;
	padding-top: calc( 16px + var( --wp-admin--admin-bar--height, 0px ) );
}

.hx-drawer__logo:not(#hx_) img { height: calc( var( --hd-logo-h, 44px ) * .85 ); }

.hx-drawer__close:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	cursor: pointer;
	transition: transform .3s var( --hd-ease );
}

.hx-drawer__close:hover:not(#hx_) { transform: rotate( 90deg ); }
.hx-drawer__close:not(#hx_) .hx-ico { width: 22px; height: 22px; }

.hx-drawer__body:not(#hx_) {
	flex: 1 1 auto;
	min-height: 0;
	padding: 4px 20px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.hx-drawer:not(#hx_) .hx-switch { margin-bottom: 14px; }

.hx-drawer__item:not(#hx_) {
	border-bottom: 1px solid var( --hd-line );
	opacity: 0;
	transform: translateX( 16px );
	transition: opacity .4s, transform .5s var( --hd-ease );
	transition-delay: calc( .12s + var( --i, 0 ) * .04s );
}

.hx-drawer.is-open:not(#hx_) .hx-drawer__item { opacity: 1; transform: none; }

.hx-drawer:not(#hx_) .hx-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	border: 0;
	background: none;
	color: var( --hd-ink );
	font: inherit;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}

.hx-drawer__link:not(#hx_) .hx-ico { transition: transform .3s var( --hd-ease ); }
.hx-drawer__link[aria-expanded="true"]:not(#hx_) { color: var( --hd-accent ); }
.hx-drawer__link[aria-expanded="true"]:not(#hx_) .hx-ico { transform: rotate( 180deg ); }

.hx-drawer__sub:not(#hx_) {
	display: grid;
	gap: 6px;
	padding: 0 0 16px;
	animation: hx-sub .35s var( --hd-ease ) both;
}

.hx-drawer__sub[hidden]:not(#hx_) { display: none; }

@keyframes hx-sub {
	from { opacity: 0; transform: translateY( -6px ); }
	to   { opacity: 1; transform: none; }
}

.hx-drawer__sub:not(#hx_) > div { display: grid; gap: 6px; }

.hx-drawer:not(#hx_) .hx-drawer__sublink {
	display: block;
	padding: 12px 14px;
	border-radius: 14px;
	background: var( --hd-tint );
	color: var( --hd-ink );
}

.hx-drawer__sublink:not(#hx_) .hx-t { display: block; font-size: 15px; }
.hx-drawer__sublink:not(#hx_) small { display: block; margin-top: 2px; font-size: 13px; color: var( --hd-muted ); }

.hx-drawer:not(#hx_) .hx-drawer__more {
	display: inline-block;
	padding: 8px 2px;
	color: var( --hd-accent );
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hx-drawer__foot:not(#hx_) {
	display: grid;
	gap: 14px;
	padding: 16px 20px;
	padding-bottom: calc( 16px + env( safe-area-inset-bottom, 0px ) );
	border-top: 1px solid var( --hd-line );
}

.hx-drawer__foot:not(#hx_) .hx-btn { width: 100%; }

.hx-drawer__contact:not(#hx_) {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	font-size: 14px;
	font-weight: 600;
}

.hx-drawer:not(#hx_) .hx-drawer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var( --hd-ink );
}

.hx-drawer__contact:not(#hx_) .hx-ico { color: var( --hd-accent ); }

/* ---------------------------------------------------------------------
   Ekraanisuurused
   --------------------------------------------------------------------- */

@media ( max-width: 1320px ) {

	.hx-hd__bar:not(#hx_) { gap: 14px; }

	.hx-hd:not(#hx_) .hx-hd__link { padding: 12px 10px; font-size: 14px; }
	.hx-hd:not(#hx_) .hx-hd__link::after { left: 10px; right: 10px; }

	.hx-cat:not(#hx_) { grid-template-columns: 370px minmax( 0, 1fr ) 230px; }

	.hx-hd:not(#hx_) .hx-cat__title { font-size: 24px; }

	.hx-cat__body:not(#hx_) { flex-direction: column; align-items: flex-start; }
}

/* Tahvel ja mobiil: hamburger */
@media ( max-width: 1024px ) {

	.hx-hd:not(#hx_),
	.hx-drawer:not(#hx_) { --hd-h: 66px; --hd-h-small: 58px; --hd-gap: 10px; }

	.hx-hd:not(#hx_) { padding: 0 10px; }

	.hx-hd__bar:not(#hx_) {
		grid-template-columns: auto minmax( 0, 1fr );
		padding: 0 8px 0 16px;
	}

	.hx-hd__nav:not(#hx_),
	.hx-mega:not(#hx_) { display: none !important; }

	.hx-hd__actions:not(#hx_) { justify-self: end; }

	.hx-hd__burger:not(#hx_) { display: inline-flex; }

	.hx-hd__logo:not(#hx_) img { height: calc( var( --hd-logo-h, 44px ) * .85 ); }
}

@media ( max-width: 600px ) {

	.hx-hd:not(#hx_),
	.hx-drawer:not(#hx_) { --hd-h: 60px; --hd-h-small: 56px; --hd-gap: 10px; --hd-radius: 16px; }

	/* WordPressi admin-riba kerib telefonis lehega kaasa — päis jääb alati 10px ülaservast */
	.hx-hd:not(#hx_) { top: 0; padding: 0 8px; }
	.hx-hd__bar:not(#hx_),
	.hx-hd.is-scrolled:not(#hx_) .hx-hd__bar { margin-top: 10px; }

	.hx-hd__bar:not(#hx_) { padding: 0 6px 0 14px; }

	.hx-hd__logo:not(#hx_) img { height: calc( var( --hd-logo-h, 44px ) * .75 ); }

	.hx-hd__burger:not(#hx_) { width: 42px; height: 42px; border-radius: 12px; }
}

@media ( prefers-reduced-motion: reduce ) {

	.hx-hd__bar:not(#hx_),
	.hx-hd__item:not(#hx_),
	.hx-hd__actions:not(#hx_),
	.hx-drawer__sub:not(#hx_),
	.hx-cat__sizes.is-active:not(#hx_) { animation: none; }

	.hx-hd:not(#hx_) *,
	.hx-drawer:not(#hx_),
	.hx-drawer:not(#hx_) * { transition-duration: .01ms !important; }
}


/* =====================================================================
   v1.5 — MOBIILIMENÜÜ LISAD
   ===================================================================== */

/* --- Kiirtegevused --- */
.hx-quick:not(#hx_) {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 8px;
	margin-bottom: 12px;
}

.hx-drawer:not(#hx_) .hx-quick__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px 12px;
	border-radius: 18px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	transition: transform .25s var( --hd-ease ), background-color .25s;
}

.hx-drawer:not(#hx_) .hx-quick__item:active { transform: scale( .95 ); }

.hx-quick__icon:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: #fff;
	color: var( --hd-accent );
	box-shadow: 0 3px 10px rgba( 0, 0, 0, .06 );
}

.hx-quick__icon:not(#hx_) .hx-ico { width: 20px; height: 20px; }

/* --- Korvi kokkuvõte --- */
.hx-cartmini.is-empty:not(#hx_) { display: none; }

.hx-drawer:not(#hx_) .hx-cartmini {
	display: block;
	width: 100%;
	margin: 0 0 6px;
	padding: 14px 16px 12px;
	border: 0;
	border-radius: 18px;
	background: var( --hd-ink );
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.hx-cartmini__row:not(#hx_) {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hx-cartmini__icon:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba( 255, 255, 255, .12 );
}

.hx-cartmini.is-complete:not(#hx_) .hx-cartmini__icon { background: var( --hd-accent ); }

.hx-cartmini__text:not(#hx_) { flex: 1 1 auto; min-width: 0; }

.hx-cartmini__text:not(#hx_) strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.hx-cartmini__text:not(#hx_) strong .woocommerce-Price-amount { color: #fff; }

.hx-cartmini__text:not(#hx_) small {
	display: block;
	margin-top: 2px;
	overflow: hidden;
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: rgba( 255, 255, 255, .7 );
}

.hx-cartmini:not(#hx_) .hx-cico { width: 18px; height: 18px; flex: 0 0 auto; }

.hx-cartmini__bar:not(#hx_) {
	display: block;
	height: 4px;
	margin-top: 12px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, .15 );
	overflow: hidden;
}

.hx-cartmini__bar:not(#hx_) span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #fff;
	transition: width .6s var( --hd-ease );
}

/* --- Kategooriate kaardid --- */
.hx-tiles:not(#hx_) {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 10px;
}

.hx-drawer:not(#hx_) .hx-tile,
.hx-sheet:not(#hx_) .hx-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 8px 8px 12px;
	border-radius: 18px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	animation: hx-tile-in .45s var( --hd-ease ) both;
	animation-delay: calc( var( --i, 0 ) * .05s );
	transition: transform .2s;
}

.hx-tile:active:not(#hx_) { transform: scale( .97 ); }

@keyframes hx-tile-in {
	from { opacity: 0; transform: translateY( 10px ); }
	to   { opacity: 1; transform: none; }
}

.hx-tile__img:not(#hx_) {
	display: block;
	aspect-ratio: 4 / 3;
	padding: 8px;
	overflow: hidden;
	border-radius: 13px;
	background: #fff;
}

.hx-drawer:not(#hx_) .hx-tile__img img,
.hx-sheet:not(#hx_) .hx-tile__img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
}

.hx-tile__text:not(#hx_) { display: block; min-width: 0; padding: 0 4px; }

.hx-tile__text:not(#hx_) .hx-t {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.hx-tile__text:not(#hx_) small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 700;
	color: var( --hd-accent );
}

.hx-drawer:not(#hx_) .hx-tiles__all,
.hx-sheet:not(#hx_) .hx-tiles__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	padding: 14px 16px;
	border-radius: 16px;
	background: var( --hd-accent );
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

/* --- Alamlingid --- */
.hx-drawer:not(#hx_) .hx-drawer__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hx-drawer__sublink:not(#hx_) .hx-ico { color: var( --hd-accent ); }

/* --- Kontaktisik --- */
.hx-person:not(#hx_) {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hx-person__photo:not(#hx_) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 50%;
	background: var( --hd-tint );
	color: var( --hd-accent );
	font-size: 18px;
	font-weight: 700;
}

.hx-drawer:not(#hx_) .hx-person__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

.hx-person__text:not(#hx_) { flex: 1 1 auto; min-width: 0; }
.hx-person__text:not(#hx_) .hx-t { display: block; font-size: 15px; }
.hx-person__text:not(#hx_) small { display: block; font-size: 12px; color: var( --hd-muted ); }

.hx-drawer:not(#hx_) .hx-person__call {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var( --hd-accent );
	color: #fff;
	box-shadow: 0 6px 16px rgba( 0, 0, 0, .15 );
}

/* =====================================================================
   v1.5 — ALUMINE RIBA (telefon)
   ===================================================================== */

.hx-tabbar:not(#hx_),
.hx-sheet:not(#hx_) { display: none; }

@media ( max-width: 767px ) {

	body.hx-has-tabbar:not(#hx_) { padding-bottom: calc( 96px + env( safe-area-inset-bottom, 0px ) ) !important; }

	/* Päises jääb ainult logo — korv ja menüü on all */
	.hx-hd-root.has-tabbar:not(#hx_) .hx-hd__actions { display: none; }
	.hx-hd-root.has-tabbar:not(#hx_) .hx-hd__bar { grid-template-columns: 1fr; justify-items: center; }

	.hx-tabbar:not(#hx_) {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc( 10px + env( safe-area-inset-bottom, 0px ) );
		z-index: 9995;
		display: block;
		font-family: inherit;
		transition: transform .45s var( --hd-ease ), opacity .3s;
		animation: hx-tabbar-in .7s var( --hd-ease ) .2s both;
	}

	@keyframes hx-tabbar-in {
		from { opacity: 0; transform: translateY( 40px ); }
		to   { opacity: 1; transform: none; }
	}

	.hx-tabbar.is-hidden:not(#hx_) { transform: translateY( calc( 100% + 30px ) ); }

	.hx-tabbar__inner:not(#hx_) {
		position: relative;
		display: grid;
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
		align-items: end;
		height: 68px;
		padding: 6px;
		border-radius: 26px;
		background: rgba( 255, 255, 255, .9 );
		backdrop-filter: blur( 18px ) saturate( 1.6 );
		-webkit-backdrop-filter: blur( 18px ) saturate( 1.6 );
		box-shadow: 0 12px 40px rgba( 0, 0, 0, .16 ), inset 0 0 0 1px rgba( 255, 255, 255, .7 );
	}

	.hx-tabbar__blob:not(#hx_) {
		position: absolute;
		top: 6px;
		bottom: 6px;
		left: 0;
		width: 0;
		border-radius: 20px;
		background: var( --hd-tint );
		opacity: 0;
		transition: transform .55s cubic-bezier( .3, 1.3, .5, 1 ), width .4s var( --hd-ease ), opacity .3s;
	}

	.hx-tabbar:not(#hx_) .hx-tab {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		height: 56px;
		padding: 0;
		border: 0;
		border-radius: 20px;
		background: none;
		color: var( --hd-muted );
		font-size: 11px;
		font-weight: 600;
		line-height: 1;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: color .3s, transform .2s;
	}

	.hx-tabbar:not(#hx_) .hx-tab:active { transform: scale( .9 ); }

	.hx-tabbar:not(#hx_) .hx-tab.is-active { color: var( --hd-accent ); }

	.hx-tab__icon:not(#hx_) { position: relative; display: flex; }

	.hx-tab__icon:not(#hx_) .hx-ico {
		width: 24px;
		height: 24px;
		transition: transform .45s cubic-bezier( .3, 1.6, .5, 1 );
	}

	.hx-tab.is-active:not(#hx_) .hx-tab__icon .hx-ico { transform: translateY( -1px ) scale( 1.1 ); }

	.hx-tab__badge:not(#hx_) {
		position: absolute;
		top: -6px;
		right: -11px;
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 19px;
		height: 19px;
		padding: 0 5px;
		border-radius: 999px;
		background: var( --hd-accent );
		color: #fff;
		font-size: 10px;
		font-weight: 700;
		box-shadow: 0 0 0 2px #fff;
	}

	.hx-tab__badge[data-count="0"]:not(#hx_) { display: none; }

	.hx-tab__badge.is-bump:not(#hx_) { animation: hx-bump .55s cubic-bezier( .3, 1.6, .5, 1 ); }

	/* Keskmine nupp */
	.hx-tabbar:not(#hx_) .hx-tab--center { color: var( --hd-ink ); }

	.hx-tab__fab:not(#hx_) {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		margin-top: -30px;
		border-radius: 20px;
		background: var( --hd-accent );
		color: #fff;
		box-shadow: 0 10px 24px rgba( 0, 0, 0, .22 ), 0 0 0 5px rgba( 255, 255, 255, .95 );
		transform: rotate( -6deg );
		transition: transform .45s cubic-bezier( .3, 1.6, .5, 1 ), background-color .4s;
	}

	.hx-tab__fab:not(#hx_) .hx-ico { width: 26px; height: 26px; }

	.hx-tab--center:active:not(#hx_) .hx-tab__fab { transform: rotate( 0 ) scale( .92 ); }

	/* Õrn pulss, mis tõmbab tähelepanu */
	.hx-tab__fab:not(#hx_)::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		box-shadow: 0 0 0 0 var( --hd-accent );
		opacity: .5;
		animation: hx-pulse 3.2s ease-out 2s infinite;
	}

	@keyframes hx-pulse {
		0%   { box-shadow: 0 0 0 0 var( --hd-accent ); opacity: .45; }
		60%  { box-shadow: 0 0 0 14px var( --hd-accent ); opacity: 0; }
		100% { opacity: 0; }
	}

	/* --- Poe paneel --- */
	.hx-sheet:not(#hx_) {
		position: fixed;
		inset: 0;
		z-index: 10005;
		display: block;
		font-family: inherit;
		color: var( --hd-ink );
	}

	.hx-sheet[hidden]:not(#hx_) { display: none; }

	.hx-sheet__overlay:not(#hx_) {
		position: absolute;
		inset: 0;
		background: rgba( 20, 16, 14, .42 );
		opacity: 0;
		transition: opacity .35s;
	}

	.hx-sheet__panel:not(#hx_) {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		flex-direction: column;
		max-height: 88vh;
		max-height: 88dvh;
		border-radius: 28px 28px 0 0;
		background: #fff;
		box-shadow: 0 -20px 60px rgba( 0, 0, 0, .18 );
		transform: translateY( 100% );
		transition: transform .5s cubic-bezier( .2, .9, .2, 1 );
	}

	.hx-sheet.is-open:not(#hx_) .hx-sheet__overlay { opacity: 1; }
	.hx-sheet.is-open:not(#hx_) .hx-sheet__panel { transform: none; }
	.hx-sheet.is-dragging:not(#hx_) .hx-sheet__panel { transition: none; }

	.hx-sheet__grab:not(#hx_) {
		display: flex;
		justify-content: center;
		padding: 10px 0 4px;
		touch-action: none;
	}

	.hx-sheet__grab:not(#hx_) span {
		width: 42px;
		height: 5px;
		border-radius: 999px;
		background: #DDD5CA;
	}

	.hx-sheet__head:not(#hx_) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 4px 18px 12px;
		touch-action: none;
	}

	.hx-sheet:not(#hx_) .hx-sheet__title {
		margin: 0;
		font-size: 22px;
		font-weight: 700;
		line-height: 1.2;
		color: var( --hd-ink );
	}

	.hx-sheet:not(#hx_) .hx-sheet__close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var( --hd-tint );
		color: var( --hd-ink );
	}

	.hx-sheet__body:not(#hx_) {
		flex: 1 1 auto;
		min-height: 0;
		padding: 0 18px calc( 24px + env( safe-area-inset-bottom, 0px ) );
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.hx-sheet:not(#hx_) .hx-switch { margin-bottom: 14px; }

	.hx-sheet__links:not(#hx_) {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 16px;
	}

	.hx-sheet:not(#hx_) .hx-sheet__chip {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 14px;
		border-radius: 999px;
		background: var( --hd-tint );
		color: var( --hd-ink );
		font-size: 13px;
		font-weight: 600;
	}

	.hx-sheet__chip:not(#hx_) .hx-ico { width: 16px; height: 16px; color: var( --hd-accent ); }
	.hx-sheet__chip:not(#hx_) img { width: 16px; height: 16px; object-fit: contain; }

	html.hx-sheet-open:not(#hx_),
	html.hx-sheet-open:not(#hx_) body { overflow: hidden; }
}

@media ( prefers-reduced-motion: reduce ) {
	.hx-tabbar:not(#hx_),
	.hx-tab__fab:not(#hx_)::after,
	.hx-tile:not(#hx_) { animation: none !important; }
}


/* =====================================================================
   v2.20 — mega menüüd
   ===================================================================== */

.hx-mega--ordering:not(#hx_) { width: min( 880px, calc( 100% - 32px ) ); }

/* --- Kataloog: pilt + värvid kõrvuti, rohkem õhku teksti all --- */
.hx-cat__preview:not(#hx_) { padding: 22px 24px 24px; }
.hx-cat__card:not(#hx_) { gap: 18px; }

.hx-cat__media:not(#hx_) {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 12px;
	height: clamp( 210px, 32vh, 320px );
}

.hx-cat__card.has-colors:not(#hx_) .hx-cat__media { grid-template-columns: minmax( 0, 1.35fr ) minmax( 210px, 1fr ); }

.hx-cat__media:not(#hx_) .hx-cat__image { height: 100%; }

.hx-cat__colors:not(#hx_) {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 16px 16px 14px;
	border-radius: 18px;
	background: var( --hd-tint );
}

.hx-cat__colors:not(#hx_) .hx-mega__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var( --hd-ink ); font-weight: 700; }
.hx-cat__colors:not(#hx_) .hx-mega__label span { padding: 2px 8px; border-radius: 999px; background: #fff; color: var( --hd-muted ); font-size: 11px; font-weight: 700; }

.hx-cat__swatches:not(#hx_) {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 2px 8px;
	align-content: start;
	min-height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hx-hd:not(#hx_) .hx-cat__swatches a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 6px 5px 4px;
	border-radius: 10px;
	color: var( --hd-ink );
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	transition: background-color .2s;
}

.hx-hd:not(#hx_) .hx-cat__swatches a:hover { background: #fff; }

.hx-cat__dot:not(#hx_) {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ddd center / cover no-repeat;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, .1 ), 0 1px 2px rgba( 0, 0, 0, .08 );
}

.hx-cat__cname:not(#hx_) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.hx-hd:not(#hx_) .hx-cat__colors-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 10px;
	color: var( --hd-accent );
	font-size: 13px;
	font-weight: 700;
}

.hx-cat__colors-all:not(#hx_) .hx-ico { width: 15px; height: 15px; transition: transform .3s var( --hd-ease ); }
.hx-hd:not(#hx_) .hx-cat__colors-all:hover .hx-ico { transform: translateX( 3px ); }

.hx-cat__body:not(#hx_) { align-items: center; gap: 24px; padding: 4px 4px 0; }
.hx-cat__info:not(#hx_) { min-width: 0; }
.hx-hd:not(#hx_) .hx-cat__title { margin-bottom: 6px; font-size: 26px; }
.hx-hd:not(#hx_) .hx-cat__desc { margin-bottom: 12px; }

.hx-cat__facts:not(#hx_) { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.hx-cat__facts:not(#hx_) li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px 7px 10px;
	border-radius: 999px;
	background: var( --hd-tint );
	color: var( --hd-ink );
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.hx-cat__facts:not(#hx_) .hx-ico { width: 15px; height: 15px; color: var( --hd-accent ); }

.hx-cat__body:not(#hx_) .hx-btn { flex: 0 0 auto; }

/* --- Väikesed menüüd: kaks veergu, vasak täidab kõrguse --- */
.hx-small:not(#hx_) { grid-template-columns: minmax( 0, 1.45fr ) minmax( 0, 1fr ); align-items: stretch; }
.hx-small__main:not(#hx_) { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 4px; }

.hx-small__links--big:not(#hx_) { gap: 6px; }
.hx-hd:not(#hx_) .hx-small__links--big .hx-small__link { grid-template-columns: 64px minmax( 0, 1fr ) auto; padding: 10px 12px 10px 10px; border: 1px solid var( --hd-line ); }
.hx-small__links--big:not(#hx_) .hx-small__thumb { width: 64px; height: 64px; }
.hx-small__links--big:not(#hx_) .hx-small__thumb .hx-ico { width: 26px; height: 26px; }

.hx-peek:not(#hx_) { margin-top: auto; padding: 6px 4px 2px; }
.hx-peek:not(#hx_) .hx-mega__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hx-hd:not(#hx_) .hx-peek .hx-mega__label a { display: inline-flex; align-items: center; gap: 6px; color: var( --hd-accent ); font-weight: 700; }
.hx-peek:not(#hx_) .hx-mega__label .hx-ico { width: 14px; height: 14px; }

.hx-peek__row:not(#hx_) { display: grid; grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); gap: 8px; }

.hx-hd:not(#hx_) .hx-peek__item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: var( --hd-tint );
}

.hx-hd:not(#hx_) .hx-peek__item img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s var( --hd-ease ); }
.hx-hd:not(#hx_) .hx-peek__item:hover img { transform: scale( 1.06 ); }

.hx-peek__item:not(#hx_) span {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, .92 );
	color: var( --hd-ink );
	font-size: 11px;
	font-weight: 700;
}

.hx-mega--small:not(#hx_) .hx-feature { height: 100%; }
.hx-mega--insp:not(#hx_) .hx-feature__image { flex: 1 1 auto; height: auto; min-height: 190px; }

/* --- Tellimine ja tarne: ikoonidega ruudustik + dokumendid --- */
.hx-small__grid:not(#hx_) { gap: 4px; }

.hx-hd:not(#hx_) .hx-small__plain {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
}

.hx-small__ico:not(#hx_) {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var( --hd-tint );
	color: var( --hd-accent );
	transition: background-color .25s, color .25s;
}

.hx-small__ico:not(#hx_) .hx-ico { width: 20px; height: 20px; }
.hx-hd:not(#hx_) .hx-small__plain:hover .hx-small__ico { background: var( --hd-accent ); color: #fff; }
.hx-hd:not(#hx_) .hx-small__plain:hover { background: #FAF7F3; background: color-mix( in srgb, var( --hd-tint ) 55%, #fff ); }

.hx-small__docs:not(#hx_) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: auto;
	padding: 12px 12px 6px;
	border-top: 1px solid var( --hd-line );
}

.hx-small__docs:not(#hx_) .hx-mega__label { margin: 0 6px 0 0; }

.hx-hd:not(#hx_) .hx-small__docs a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border: 1px solid var( --hd-line );
	border-radius: 999px;
	color: var( --hd-ink );
	font-size: 13px;
	font-weight: 600;
	transition: border-color .2s, color .2s;
}

.hx-small__docs:not(#hx_) .hx-ico { width: 15px; height: 15px; color: var( --hd-accent ); }
.hx-hd:not(#hx_) .hx-small__docs a:hover { border-color: var( --hd-accent ); color: var( --hd-accent ); }

.hx-hd:not(#hx_) .hx-feature__esto {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #fff;
	color: var( --hd-muted );
	font-size: 12px;
	line-height: 1.35;
}

.hx-feature__esto:not(#hx_) img.hx-esto { flex: 0 0 auto; width: auto; height: 22px; }
.hx-hd:not(#hx_) .hx-feature__esto:hover { color: var( --hd-ink ); }

.hx-hd:not(#hx_) .hx-feature__contact a { display: inline-flex; align-items: center; gap: 8px; }
.hx-feature__contact:not(#hx_) .hx-ico { width: 16px; height: 16px; color: var( --hd-accent ); }

@media ( max-width: 1320px ) {
	.hx-cat__card.has-colors:not(#hx_) .hx-cat__media { grid-template-columns: minmax( 0, 1.2fr ) minmax( 190px, 1fr ); }
	.hx-hd:not(#hx_) .hx-cat__title { font-size: 22px; }
}

/* v2.21: nupp faktide reaga ühel joonel */
.hx-cat__body:not(#hx_) { align-items: flex-end; }
@media ( max-width: 1320px ) { .hx-cat__body:not(#hx_) { align-items: flex-start; } }

/* v2.22: tume režiimi lüliti päises (sama mõõt kui otsing) */
.hx-hd:not(#hx_) .hx-hd__theme { width: 46px; height: 46px; border-radius: 14px; color: var( --hd-ink ); }
.hx-hd:not(#hx_) .hx-hd__theme:hover { background: var( --hd-tint ); color: var( --hd-accent ); }
@media ( max-width: 380px ) { .hx-hd:not(#hx_) .hx-hd__theme { width: 40px; } }


/* =====================================================================
   v2.27 — tooteleht telefonis: alumist menüüd pole, päises nool tagasi kataloogi
   ===================================================================== */

.hx-hd__back:not(#hx_) { display: none; }

@media ( max-width: 767px ) {

	body.single-product:not(#hx_) .hx-tabbar,
	body.single-product:not(#hx_) .hx-sheet { display: none !important; }
	body.single-product.hx-has-tabbar:not(#hx_) { padding-bottom: 0 !important; }
	body.single-product.hx-has-tabbar:not(#hx_) .hx-lm-bar { bottom: calc( 10px + env( safe-area-inset-bottom, 0px ) ); }

	.hx-hd:not(#hx_) .hx-hd__back {
		position: absolute;
		top: 50%;
		left: 8px;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border-radius: 12px;
		color: var( --hd-ink );
		transform: translateY( -50% );
		transition: background-color .2s, color .2s;
	}

	.hx-hd:not(#hx_) .hx-hd__back:hover,
	.hx-hd:not(#hx_) .hx-hd__back:active { background: var( --hd-tint ); color: var( --hd-accent ); }
	.hx-hd__back:not(#hx_) svg { width: 22px; height: 22px; }
}


/* v2.31 — tooteleht telefonis (Lameo ja Woven): päis ei liigu kaasa; otsingu kõrval ostukorv ja menüü */
@media ( max-width: 767px ) {
	body.single-product:not(#hx_) .hx-hd { position: absolute !important; transform: none !important; }
	body.single-product:not(#hx_) .hx-hd__bar { justify-items: start !important; padding-left: 56px !important; }
	body.single-product:not(#hx_) .hx-hd-root.has-tabbar .hx-hd__bar .hx-hd__actions { gap: 2px; }
	body.single-product:not(#hx_) .hx-hd-root.has-tabbar .hx-hd__bar .hx-hd__actions > .hx-hd__cart,
	body.single-product:not(#hx_) .hx-hd-root.has-tabbar .hx-hd__bar .hx-hd__actions > .hx-hd__burger { display: inline-flex; }
	body.single-product:not(#hx_) .hx-hd__cart .hx-cart-btn { height: 42px; padding: 0 8px; gap: 4px; border: 0; background: transparent; box-shadow: none; }
	body.single-product:not(#hx_) .hx-hd__cart .hx-cart-btn__total { display: none; }
	body.single-product:not(#hx_) .hx-hd__cart .hx-cart-btn__count { min-width: 20px; height: 20px; font-size: 11px; }
	body.single-product:not(#hx_) .hx-hd .hx-hd__burger { width: 42px; height: 42px; }

}


/* =====================================================================
   v2.33 — avaleht telefonis: päis bänneri peal (läbipaistev, valged ikoonid).
   Pärast bännerit peidus; üles kerides tuleb ülevalt alla (header.js).
   ===================================================================== */

@media ( max-width: 767px ) {

	body.hx-home-hero:not(#hx_) .hx-hd-spacer { display: none; }

	body.hx-home-hero:not(#hx_) .hx-hd { position: absolute; top: 0; }

	/* Keel ja tume režiim jäävad menüüsse */
	body.hx-home-hero:not(#hx_) .hx-hd__actions > .hx-lang,
	body.hx-home-hero:not(#hx_) .hx-hd__actions > [class*="hx-lang"],
	body.hx-home-hero:not(#hx_) .hx-hd__actions > .hx-hd__theme { display: none !important; }

	body.hx-home-hero:not(#hx_) .hx-hd__actions { gap: 2px; }

	body.hx-home-hero:not(#hx_) .hx-hd .hx-hd__search,
	body.hx-home-hero:not(#hx_) .hx-hd .hx-hd__burger { width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; }

	body.hx-home-hero:not(#hx_) .hx-hd__cart .hx-cart-btn { height: 42px; padding: 0 8px; gap: 4px; border: 0; background: transparent; box-shadow: none; }
	body.hx-home-hero:not(#hx_) .hx-hd__cart .hx-cart-btn__total { display: none; }
	body.hx-home-hero:not(#hx_) .hx-hd__cart .hx-cart-btn__count { min-width: 20px; height: 20px; font-size: 11px; }

	/* Bänneri peal: kaarti pole, kõik valge */
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd__bar::before { opacity: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd__bar { height: var( --hd-h ); margin-top: 6px; }
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd__logo img { height: calc( var( --hd-logo-h, 44px ) * .75 ); filter: brightness( 0 ) invert( 1 ); }
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd__logo-text,
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd .hx-hd__search,
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd .hx-hd__burger,
	body.hx-home-hero:not(#hx_) .hx-hd-root:not( .is-pinned ) .hx-hd__cart .hx-cart-btn { color: #fff !important; }

	/* Pärast bännerit: kinni üleval, peidus kuni kasutaja kerib üles.
	   top (mitte transform) — transform lõhuks päise sees olevad fixed-paneelid (minikorv) */
	body.hx-home-hero:not(#hx_) .hx-hd-root.is-pinned .hx-hd { position: fixed; top: -110px; }
	body.hx-home-hero:not(#hx_) .hx-hd-root.is-pinned.is-armed .hx-hd { transition: top .38s var( --hd-ease, ease ); }
	body.hx-home-hero:not(#hx_) .hx-hd-root.is-pinned.is-shown .hx-hd,
	html.hx-cart-open:not(#hx_) body.hx-home-hero .hx-hd-root.is-pinned .hx-hd,
	html.hx-drawer-open:not(#hx_) body.hx-home-hero .hx-hd-root.is-pinned .hx-hd { top: 0; }
	body.hx-home-hero:not(#hx_) .hx-hd-root.is-pinned .hx-hd__bar { animation: none; }
}

/* v2.41 — päises <strong> -> <span class="hx-t"> (SEO: liiga palju rõhutatud sõnu igal lehel); välimus sama */
.hx-t:not(#hx_), .hx-b:not(#hx_) { font-weight: 700; }
.hx-hd:not(#hx_) p.hx-cat__title { margin-top: 0; }



/* v2.49 — menüü all: üldine „Küsi nõu“ (müüja nime ja fotot pole) */
.hx-drawer:not(#hx_) .hx-person--generic .hx-person__photo .hx-ico { width: 22px; height: 22px; }

/* v2.53.2 — ainult ekraanilugejale ja otsingurobotile nähtav lingi täpsustus (nt „Vaata kategooriat: MDF …“) */
.hx-sr:not(#hx_) { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect( 0 0 0 0 ); clip-path: inset( 50% ); white-space: nowrap; border: 0; }
