/* Genereeritud failist assets/src/cart.css — ära muuda siin, muuda src-faili ja käivita tools/build-css.py */
/* =====================================================================
   HELIX — ostukorv (lihtne külgpaneel)
   Kõik reeglid algavad .hx-minicart / .hx-cart-btn / .hx-ship eesliitega
   ja nuppudel on lähtestus, et teema stiilid ei segaks.
   ===================================================================== */

.hx-cart-btn:not(#hx_),
.hx-minicart:not(#hx_),
.hx-ship:not(#hx_) {
	--c-accent:   var( --hd-accent, var( --helix-plum, #764452 ) );
	--c-accent-d: var( --helix-plum-dark, #5E3541 );
	--c-ink:      var( --helix-ink, #1C1C1C );
	--c-muted:    #6B6762;
	--c-tint:     var( --helix-cream, #F6F1EA );
	--c-line:     #ECE5DA;
}

html.hx-view-ari:not(#hx_) .hx-minicart { --c-accent: var( --hd-accent-ari, var( --helix-plum, #764452 ) ); }

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

/* ---------------------------------------------------------------------
   Päise nupp
   --------------------------------------------------------------------- */

.hx-cart-btn:not(#hx_) {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 7px 0 16px;
	border-radius: 999px;
	background: var( --hd-tint, var( --c-tint ) );
	color: var( --c-ink ) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: box-shadow .2s, transform .2s;
}

.hx-cart-btn:hover:not(#hx_) { transform: translateY( -1px ); box-shadow: 0 6px 18px rgba( 0, 0, 0, .08 ); }

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

.hx-cart-btn__count:not(#hx_) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 9px;
	border-radius: 999px;
	background: var( --c-accent );
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.hx-cart-btn:not( .has-items ):not(#hx_) .hx-cart-btn__count { background: transparent; color: var( --c-muted ); }

.hx-cart-btn.is-bump:not(#hx_) .hx-cart-btn__count { animation: hx-bump .5s ease; }

@keyframes hx-bump {
	40% { transform: scale( 1.3 ); }
}

/* ---------------------------------------------------------------------
   Paneel
   --------------------------------------------------------------------- */

.hx-minicart:not(#hx_) {
	position: fixed;
	inset: 0;
	z-index: 10010;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: var( --c-ink );
}

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

.hx-minicart:not(#hx_) *,
.hx-minicart:not(#hx_) *::before,
.hx-minicart:not(#hx_) *::after { box-sizing: border-box; }

/* Lähtestus teema stiilide vastu */
.hx-minicart:not(#hx_) button {
	margin: 0;
	min-width: 0;
	min-height: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
	line-height: 1;
}

.hx-minicart:not(#hx_) ul,
.hx-minicart:not(#hx_) li,
.hx-minicart:not(#hx_) p { margin: 0; padding: 0; }

.hx-minicart:not(#hx_) ul { list-style: none; }

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

.hx-minicart__panel:not(#hx_) {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	width: 420px;
	max-width: 100%;
	background: #fff;
	box-shadow: -10px 0 40px rgba( 0, 0, 0, .15 );
	transform: translateX( 100% );
	transition: transform .35s cubic-bezier( .2, .8, .2, 1 );
}

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

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

.hx-minicart:not(#hx_) .hx-minicart__inner {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-top: var( --wp-admin--admin-bar--height, 0px );
}

/* --- Päis --- */
.hx-minicart:not(#hx_) .hx-minicart__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 24px;
	border-bottom: 1px solid var( --c-line );
}

.hx-minicart:not(#hx_) .hx-minicart__title {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: var( --c-ink );
}

.hx-minicart:not(#hx_) .hx-minicart__count {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var( --c-muted );
}

.hx-minicart:not(#hx_) .hx-minicart__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var( --c-tint );
	color: var( --c-ink );
	cursor: pointer;
}

.hx-minicart:not(#hx_) .hx-minicart__close:hover { background: #ECE3D6; }

/* --- Keritav osa --- */
.hx-minicart:not(#hx_) .hx-minicart__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 20px 24px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* ---------------------------------------------------------------------
   Tarne riba
   --------------------------------------------------------------------- */

.hx-ship:not(#hx_) {
	margin: 0 0 8px;
	padding: 16px;
	border-radius: 12px;
	background: var( --c-tint );
	color: var( --c-ink );
}

.hx-ship:not(#hx_) .hx-ship__text {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
}

.hx-ship__text:not(#hx_) .hx-cico { margin-top: 1px; color: var( --c-accent ); }
.hx-ship__text:not(#hx_) strong { color: var( --c-accent ); }
.hx-ship__text:not(#hx_) .woocommerce-Price-amount { white-space: nowrap; }

.hx-ship:not(#hx_) .hx-ship__track {
	position: relative;
	height: 6px;
	margin: 0 6px;
	border-radius: 999px;
	background: rgba( 0, 0, 0, .1 );
}

.hx-ship:not(#hx_) .hx-ship__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-radius: 999px;
	background: var( --c-accent );
	transition: width .5s ease;
}

.hx-ship:not(#hx_) .hx-ship__dot {
	position: absolute;
	top: 50%;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #CFC6B9;
	transform: translate( -50%, -50% );
}

.hx-ship:not(#hx_) .hx-ship__dot.is-reached { background: var( --c-accent ); }

.hx-ship:not(#hx_) .hx-ship__steps {
	position: relative;
	height: 34px;
	margin: 8px 6px 0;
}

.hx-ship:not(#hx_) .hx-ship__step {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateX( -50% );
	font-size: 11px;
	line-height: 1.3;
	white-space: nowrap;
	color: var( --c-muted );
}

.hx-ship:not(#hx_) .hx-ship__step.is-last { align-items: flex-end; transform: translateX( -100% ); }

.hx-ship__step:not(#hx_) b { font-size: 12px; color: var( --c-ink ); }
.hx-ship__step.is-reached:not(#hx_) b { color: var( --c-accent ); }

.hx-ship:not(#hx_) .hx-ship__info { margin-top: 8px; border-top: 1px solid rgba( 0, 0, 0, .08 ); }

.hx-ship:not(#hx_) .hx-ship__info summary {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.hx-ship__info:not(#hx_) summary::-webkit-details-marker { display: none; }
.hx-ship__info:not(#hx_) summary .hx-cico { width: 15px; height: 15px; color: var( --c-accent ); }

.hx-ship__info:not(#hx_) summary::after {
	content: "+";
	margin-left: auto;
	font-size: 16px;
	font-weight: 400;
}

.hx-ship__info[open]:not(#hx_) summary::after { content: "–"; }

.hx-ship:not(#hx_) .hx-ship__table { display: grid; gap: 2px; margin: 10px 0 8px; padding: 0; list-style: none; }

.hx-ship:not(#hx_) .hx-ship__table li {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
}

.hx-ship:not(#hx_) .hx-ship__table li.is-current { background: #fff; font-weight: 700; }

.hx-ship:not(#hx_) .hx-ship__info p { margin: 0; font-size: 12px; line-height: 1.5; color: var( --c-muted ); }

.hx-ship-cart-page:not(#hx_) .hx-ship { margin: 0 0 24px; }

/* ---------------------------------------------------------------------
   Tooted
   --------------------------------------------------------------------- */

.hx-minicart:not(#hx_) .hx-minicart__item {
	display: grid;
	grid-template-columns: 72px minmax( 0, 1fr ) 32px;
	gap: 14px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var( --c-line );
	transition: opacity .2s;
}

.hx-minicart:not(#hx_) .hx-minicart__item:last-child { border-bottom: 0; }

.hx-minicart:not(#hx_) .hx-minicart__item.is-busy { opacity: .4; pointer-events: none; }

.hx-minicart:not(#hx_) .hx-minicart__thumb {
	display: block;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 10px;
	background: var( --c-tint );
}

.hx-minicart:not(#hx_) .hx-minicart__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.hx-minicart:not(#hx_) .hx-minicart__name {
	display: block;
	margin: 0 0 2px;
	color: var( --c-ink );
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.hx-minicart:not(#hx_) .hx-minicart__name:hover { color: var( --c-accent ); }

.hx-minicart:not(#hx_) .hx-minicart__price {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	color: var( --c-muted );
}

.hx-minicart:not(#hx_) .hx-minicart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.hx-minicart:not(#hx_) .hx-minicart__qty {
	display: inline-flex;
	align-items: center;
	height: 34px;
	border: 1px solid var( --c-line );
	border-radius: 999px;
	background: #fff;
}

.hx-minicart:not(#hx_) .hx-minicart__qty button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var( --c-ink );
	font-size: 16px;
	cursor: pointer;
}

.hx-minicart:not(#hx_) .hx-minicart__qty button:hover:not( :disabled ) { background: var( --c-tint ); }
.hx-minicart:not(#hx_) .hx-minicart__qty button:disabled { opacity: .3; cursor: default; }

.hx-minicart:not(#hx_) .hx-minicart__qty span { min-width: 24px; font-size: 14px; font-weight: 700; text-align: center; }

.hx-minicart:not(#hx_) .hx-minicart__line { font-size: 15px; font-weight: 700; white-space: nowrap; }

.hx-minicart:not(#hx_) .hx-minicart__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var( --c-muted );
	cursor: pointer;
}

.hx-minicart:not(#hx_) .hx-minicart__remove:hover { background: #FBECEC; color: #B3261E; }
.hx-minicart:not(#hx_) .hx-minicart__remove .hx-cico { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   Jalus
   --------------------------------------------------------------------- */

.hx-minicart:not(#hx_) .hx-minicart__foot {
	flex: 0 0 auto;
	padding: 18px 24px;
	padding-bottom: calc( 20px + env( safe-area-inset-bottom, 0px ) );
	border-top: 1px solid var( --c-line );
	background: #fff;
}

.hx-minicart:not(#hx_) .hx-minicart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-size: 15px;
	font-weight: 600;
}

.hx-minicart:not(#hx_) .hx-minicart__total strong { font-size: 22px; }

.hx-minicart:not(#hx_) .hx-minicart__note { margin: 2px 0 14px; font-size: 12px; color: var( --c-muted ); }

.hx-minicart:not(#hx_) .hx-minicart__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 52px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s;
}

.hx-minicart:not(#hx_) .hx-minicart__btn--primary { background: var( --c-accent ); color: #fff; }
.hx-minicart:not(#hx_) .hx-minicart__btn--primary:hover { background: var( --c-accent-d ); color: #fff; }

.hx-minicart:not(#hx_) .hx-minicart__secondary {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.hx-minicart:not(#hx_) .hx-minicart__link {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var( --c-ink );
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.hx-minicart:not(#hx_) .hx-minicart__link:hover { color: var( --c-accent ); background: none; }

/* --- Tühi korv --- */
.hx-minicart:not(#hx_) .hx-minicart__empty {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
}

.hx-minicart:not(#hx_) .hx-minicart__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var( --c-tint );
	color: var( --c-accent );
}

.hx-minicart:not(#hx_) .hx-minicart__empty-icon .hx-cico { width: 30px; height: 30px; }
.hx-minicart:not(#hx_) .hx-minicart__empty-title { font-size: 17px; font-weight: 600; }
.hx-minicart:not(#hx_) .hx-minicart__empty .hx-minicart__btn { max-width: 260px; }

/* ---------------------------------------------------------------------
   Mobiil
   --------------------------------------------------------------------- */

@media ( max-width: 767px ) {

	/* Telefonis tõuseb korv alt üles */
	.hx-minicart:not(#hx_) .hx-minicart__panel {
		top: auto;
		left: 0;
		width: 100%;
		height: 88vh;
		height: 88dvh;
		border-radius: 24px 24px 0 0;
		box-shadow: 0 -20px 60px rgba( 0, 0, 0, .18 );
		transform: translateY( 100% );
		transition: transform .5s cubic-bezier( .2, .9, .2, 1 );
	}

	.hx-minicart:not(#hx_) .hx-minicart__panel::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		width: 42px;
		height: 5px;
		margin-left: -21px;
		border-radius: 999px;
		background: #DDD5CA;
	}

	.hx-minicart:not(#hx_) .hx-minicart__inner { padding-top: 10px; }

	.hx-cart-btn:not(#hx_) { height: 42px; padding: 0 6px 0 12px; gap: 8px; font-size: 14px; }
	.hx-cart-btn__count:not(#hx_) { min-width: 30px; height: 30px; }

	.hx-minicart:not(#hx_) .hx-minicart__head,
	.hx-minicart:not(#hx_) .hx-minicart__body,
	.hx-minicart:not(#hx_) .hx-minicart__foot { padding-left: 18px; padding-right: 18px; }
}

@media ( max-width: 420px ) {
	.hx-cart-btn__total:not(#hx_) { display: none; }
	.hx-cart-btn:not(#hx_) { padding: 0 6px 0 10px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.hx-minicart__panel:not(#hx_),
	.hx-minicart__overlay:not(#hx_),
	.hx-ship__fill:not(#hx_) { transition: none; }
	.hx-cart-btn.is-bump:not(#hx_) .hx-cart-btn__count { animation: none; }
}


/* =====================================================================
   v2.21 — minikorv ilusamaks; jalus Kodu (beež) / Äri (sinakashall)
   ===================================================================== */

.hx-minicart__panel:not(#hx_) { width: 440px; border-radius: 26px 0 0 26px; overflow: hidden; }

.hx-minicart:not(#hx_) .hx-minicart__head { padding: 22px 24px 18px; border-bottom: 0; }
.hx-minicart:not(#hx_) .hx-minicart__title { font-size: 22px; letter-spacing: -.01em; }

.hx-minicart:not(#hx_) .hx-minicart__body { padding: 4px 18px 12px; }
.hx-minicart:not(#hx_) .hx-ship { border-radius: 18px; }

.hx-minicart:not(#hx_) .hx-minicart__item {
	grid-template-columns: 80px minmax( 0, 1fr ) 32px;
	margin-top: 10px;
	padding: 12px;
	border: 1px solid var( --c-line );
	border-radius: 18px;
	background: #fff;
	transition: opacity .2s, border-color .2s, box-shadow .2s;
}

.hx-minicart:not(#hx_) .hx-minicart__item:last-child { border-bottom: 1px solid var( --c-line ); }
.hx-minicart:not(#hx_) .hx-minicart__item:hover { border-color: #C6B2AE; border-color: color-mix( in srgb, var( --c-accent ) 30%, var( --c-line ) ); box-shadow: 0 8px 20px rgba( 40, 28, 22, .06 ); }

.hx-minicart:not(#hx_) .hx-minicart__thumb { width: 80px; height: 80px; border-radius: 14px; }
.hx-minicart:not(#hx_) .hx-minicart__thumb img { object-fit: contain; mix-blend-mode: multiply; transform: scale( 1.08 ); }
.hx-minicart:not(#hx_) .hx-minicart__name { font-weight: 700; }
.hx-minicart:not(#hx_) .hx-minicart__qty { background: var( --c-tint ); border-color: transparent; }
.hx-minicart:not(#hx_) .hx-minicart__qty button:hover:not( :disabled ) { background: #fff; }
.hx-minicart:not(#hx_) .hx-minicart__line { font-size: 16px; }

.hx-minicart:not(#hx_) .hx-minicart__foot {
	--foot: #F1EADB;
	margin: 0 10px 10px;
	padding: 20px 20px calc( 18px + env( safe-area-inset-bottom, 0px ) );
	border-top: 0;
	border-radius: 22px;
	background: var( --foot );
}

html.hx-view-kodu:not(#hx_) .hx-minicart .hx-minicart__foot { --foot: #F0E8D8; } /* = tint 55% + #E9DDC2 (iOS 15 ei tunne color-mix()-i muutujas) */
html.hx-view-ari:not(#hx_) .hx-minicart .hx-minicart__foot { --foot: #E5EAF4; }

.hx-minicart:not(#hx_) .hx-minicart__total strong { font-size: 26px; letter-spacing: -.01em; }
.hx-minicart:not(#hx_) .hx-minicart__btn { height: 56px; box-shadow: 0 10px 24px rgba( 118, 68, 82, 0.28 ); box-shadow: 0 10px 24px color-mix( in srgb, var( --c-accent ) 28%, transparent ); }
.hx-minicart:not(#hx_) .hx-minicart__btn--primary:hover { transform: translateY( -1px ); }
.hx-minicart:not(#hx_) .hx-minicart__secondary { margin-top: 14px; }
.hx-minicart:not(#hx_) .hx-minicart__link { font-size: 13.5px; }

@media ( max-width: 480px ) {
	.hx-minicart__panel:not(#hx_) { border-radius: 0; }
}


/* v2.25.2 — astmete sildid (Tasuta / alates 299 €) loetavamad, minikorvis veel suuremad */
.hx-ship:not(#hx_) .hx-ship__steps { height: 38px; }
.hx-ship__step:not(#hx_) b { font-size: 13px; }
.hx-ship:not(#hx_) .hx-ship__step small { font-size: 12px; }
.hx-minicart:not(#hx_) .hx-ship .hx-ship__steps { height: 44px; }
.hx-minicart:not(#hx_) .hx-ship__step b { font-size: 15px; }
.hx-minicart:not(#hx_) .hx-ship .hx-ship__step small { font-size: 13px; color: var( --c-ink ); opacity: .75; }



/* =====================================================================
   v2.29 — MINIKORV TELEFONIS kompaktsemaks
   - tarnemoodul: lühike rida + "Tarneinfo" -> kogu moodul alt üles (nagu kassas)
   - jalus: märkus ja "Jätka ostlemist" ära, "Vaata ostukorvi" ikoonina nupu kõrval
   - päis 5 px madalam üleval ja all
   ===================================================================== */

/* Arvutis nagu enne */
.hx-mc-ship:not(#hx_),
.hx-mc-shipsheet__head:not(#hx_) { display: none; }
.hx-mc-shipsheet:not(#hx_) { display: contents; }
.hx-minicart:not(#hx_) .hx-minicart__link--cart .hx-cico { display: none; }

@media ( max-width: 767px ) {

	/* --- Päis --- */
	.hx-minicart:not(#hx_) .hx-minicart__head { padding-top: 17px; padding-bottom: 13px; }

	/* --- Lühike tarnerida --- */
	.hx-minicart:not(#hx_) .hx-mc-ship {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 60px;
		padding: 10px 10px 10px 14px;
		border-radius: 18px;
		background: var( --c-tint );
	}

	.hx-minicart:not(#hx_) .hx-mc-ship__text {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
		margin: 0;
		color: var( --c-ink );
		font-size: 13px;
		font-weight: 600;
		line-height: 1.3;
	}

	.hx-mc-ship__text:not(#hx_) .hx-cico { flex: 0 0 auto; width: 22px; height: 22px; color: var( --c-accent ); }
	.hx-mc-ship__text:not(#hx_) strong { color: var( --c-accent ); font-weight: 800; }
	.hx-mc-ship__text:not(#hx_) .woocommerce-Price-amount { white-space: nowrap; }

	.hx-minicart:not(#hx_) .hx-mc-ship__btn {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 4px;
		height: 36px;
		margin: 0;
		padding: 0 12px;
		border: 0;
		border-radius: 999px;
		background: #fff;
		color: var( --c-ink );
		font: inherit;
		font-size: 12.5px;
		font-weight: 700;
		white-space: nowrap;
		cursor: pointer;
	}

	.hx-mc-ship__btn:not(#hx_) svg { width: 15px; height: 15px; }

	/* --- Tarnemoodul alt üles (korvi paneeli sees) --- */
	.hx-minicart:not(#hx_) .hx-mc-shipsheet {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 5;
		display: block;
		max-height: 80%;
		padding: 0 16px calc( 18px + env( safe-area-inset-bottom, 0px ) );
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		border-radius: 24px 24px 0 0;
		background: #fff;
		box-shadow: 0 -16px 44px rgba( 20, 14, 10, .2 );
		transform: translateY( 105% );
		visibility: hidden;
		transition: transform .38s cubic-bezier( .2, .8, .2, 1 ), visibility 0s linear .38s;
	}

	.hx-minicart:not(#hx_) .hx-minicart__inner.is-ship-open .hx-mc-shipsheet {
		transform: none;
		visibility: visible;
		transition: transform .38s cubic-bezier( .2, .8, .2, 1 ), visibility 0s;
	}

	/* Taust tumedaks lehe avamisel */
	.hx-minicart:not(#hx_) .hx-minicart__inner::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 4;
		background: rgba( 20, 14, 10, .35 );
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility 0s linear .3s;
		pointer-events: none;
	}

	.hx-minicart:not(#hx_) .hx-minicart__inner.is-ship-open::after { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }

	.hx-minicart:not(#hx_) .hx-mc-shipsheet__head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -16px 8px;
		padding: 20px 16px 10px;
		background: #fff;
	}

	.hx-mc-shipsheet__grip:not(#hx_) { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #DDD5CA; }
	.hx-mc-shipsheet__head:not(#hx_) strong { color: var( --c-ink ); font-size: 18px; font-weight: 700; }

	.hx-minicart:not(#hx_) .hx-mc-shipsheet__x {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var( --c-tint );
		color: var( --c-ink );
	}

	.hx-mc-shipsheet__x:not(#hx_) .hx-cico { width: 18px; height: 18px; }
	.hx-minicart:not(#hx_) .hx-mc-shipsheet .hx-ship { margin: 0 0 4px; }

	/* --- Jalus --- */
	.hx-minicart:not(#hx_) .hx-minicart__foot {
		display: grid;
		grid-template-columns: minmax( 0, 1fr ) 56px;
		align-items: center;
		gap: 12px 10px;
		padding-top: 16px;
	}

	.hx-minicart:not(#hx_) .hx-minicart__total { grid-column: 1 / -1; }
	.hx-minicart:not(#hx_) .hx-minicart__note { display: none; }
	.hx-minicart:not(#hx_) .hx-minicart__foot > .hx-minicart__btn--primary { grid-column: 1; }

	.hx-minicart:not(#hx_) .hx-minicart__secondary { display: contents; }
	.hx-minicart:not(#hx_) .hx-minicart__secondary > button.hx-minicart__link { display: none; }

	.hx-minicart:not(#hx_) .hx-minicart__link--cart {
		grid-column: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		padding: 0;
		border-radius: 50%;
		background: #fff;
		color: var( --c-ink );
		box-shadow: 0 6px 16px rgba( 40, 28, 22, .1 );
	}

	.hx-minicart:not(#hx_) .hx-minicart__link--cart .hx-cico { display: block; width: 22px; height: 22px; }
	.hx-minicart:not(#hx_) .hx-minicart__link--cart span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect( 0 0 0 0 ); white-space: nowrap; }
}

/* v2.30 — telefon: tootenimi max 2 real (prügikast nurka, pilt väiksem -> nimele rohkem ruumi) */
@media ( max-width: 767px ) {
	.hx-minicart:not(#hx_) .hx-minicart__item { position: relative; grid-template-columns: 64px minmax( 0, 1fr ); gap: 12px; padding: 10px; }
	.hx-minicart:not(#hx_) .hx-minicart__thumb { width: 64px; height: 64px; }
	.hx-minicart:not(#hx_) .hx-minicart__info { min-width: 0; padding-right: 26px; }
	.hx-minicart:not(#hx_) .hx-minicart__name {
		display: -webkit-box;
		overflow: hidden;
		font-size: 14.5px;
		line-height: 1.3;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.hx-minicart:not(#hx_) .hx-minicart__remove { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; }
}
