/* HighPony Cart — liquid glass, dark. One design, two mounts:
   #hp-cart-drawer (slide-out) and #hp-cart-page (full page). */

:root {
	--hpc-glass: rgba(255, 255, 255, 0.10);
	--hpc-glass-strong: rgba(255, 255, 255, 0.16);
	--hpc-border: rgba(255, 255, 255, 0.22);
	--hpc-text: #fff;
	--hpc-text-dim: rgba(255, 255, 255, 0.72);
	--hpc-accent: #ff7ad9;
	--hpc-accent-2: #8b5cf6;
	--hpc-radius: 20px;
	--hpc-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------------------------------- overlay/panel */
#hp-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 999990;
	background: rgba(8, 8, 20, 0.55);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity 0.25s ease;
}
#hp-cart-overlay.hp-show {
	opacity: 1;
}
#hp-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100dvh;
	width: min(430px, 100vw);
	z-index: 999991;
	transform: translateX(102%);
	transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.25, 1);
	display: flex;
}
#hp-cart-drawer.hp-show {
	transform: translateX(0);
}
#hp-cart-drawer-inner {
	flex: 1;
	margin: 10px;
	border-radius: var(--hpc-radius);
	background: linear-gradient(160deg, rgba(30, 25, 60, 0.72), rgba(15, 12, 35, 0.78));
	backdrop-filter: blur(26px) saturate(1.5);
	-webkit-backdrop-filter: blur(26px) saturate(1.5);
	border: 1px solid var(--hpc-border);
	box-shadow: var(--hpc-shadow);
	color: var(--hpc-text);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
	#hp-cart-drawer,
	#hp-cart-overlay {
		transition: none;
	}
}

/* ------------------------------------------------------------- page mount */
#hp-cart-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 14px 60px;
	color: var(--hpc-text);
}
#hp-cart-page .hp-page-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 22px;
	align-items: start;
}
@media (max-width: 860px) {
	#hp-cart-page .hp-page-grid {
		grid-template-columns: 1fr;
	}
}
#hp-cart-page .hp-card {
	border-radius: var(--hpc-radius);
	background: linear-gradient(160deg, rgba(30, 25, 60, 0.62), rgba(15, 12, 35, 0.68));
	backdrop-filter: blur(22px) saturate(1.4);
	-webkit-backdrop-filter: blur(22px) saturate(1.4);
	border: 1px solid var(--hpc-border);
	box-shadow: var(--hpc-shadow);
	padding: 20px;
}
#hp-cart-page h1.hp-title {
	color: var(--hpc-text);
	font-size: 1.7em;
	margin: 0 0 18px;
}

/* ----------------------------------------------------------------- header */
.hp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
}
.hp-head h2 {
	margin: 0;
	color: var(--hpc-text);
	font-size: 1.25em;
}
.hp-count {
	font-size: 0.8em;
	background: var(--hpc-glass-strong);
	border-radius: 99px;
	padding: 0.25em 0.75em;
	margin-left: 0.6em;
}
.hp-close {
	background: var(--hpc-glass);
	border: 1px solid var(--hpc-border);
	color: var(--hpc-text);
	border-radius: 99px;
	width: 36px;
	height: 36px;
	font-size: 17px;
	line-height: 1;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease;
}
.hp-close:hover {
	background: var(--hpc-glass-strong);
}

/* -------------------------------------------------------------- progress */
.hp-progress {
	margin: 4px 20px 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--hpc-glass);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.85em;
	color: var(--hpc-text-dim);
}
.hp-progress strong {
	color: var(--hpc-text);
}
.hp-bar {
	height: 7px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.14);
	margin-top: 8px;
	overflow: hidden;
}
.hp-bar > span {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	transition: width 0.4s ease;
}

/* ------------------------------------------------------------------ items */
.hp-items {
	flex: 1;
	overflow-y: auto;
	padding: 4px 20px;
	scrollbar-width: thin;
}
.hp-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.hp-item img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.hp-item-name {
	font-size: 0.9em;
	color: var(--hpc-text);
	line-height: 1.35;
	margin: 0 0 6px;
}
.hp-item-price {
	font-size: 0.85em;
	color: var(--hpc-text-dim);
}
.hp-gift-tag {
	display: inline-block;
	font-size: 0.75em;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	color: #fff;
	border-radius: 99px;
	padding: 0.2em 0.7em;
	margin-left: 0.4em;
}
.hp-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--hpc-border);
	border-radius: 99px;
	overflow: hidden;
}
.hp-qty button {
	background: transparent;
	border: 0;
	color: var(--hpc-text);
	width: 30px;
	height: 30px;
	font-size: 15px;
	cursor: pointer;
}
.hp-qty button:hover {
	background: var(--hpc-glass-strong);
}
.hp-qty span {
	min-width: 26px;
	text-align: center;
	font-size: 0.9em;
}
.hp-item-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}
.hp-remove {
	background: none;
	border: 0;
	color: var(--hpc-text-dim);
	font-size: 0.75em;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}
.hp-remove:hover {
	color: #ff9c9c;
}

/* ------------------------------------------------------------------ gifts */
.hp-gifts {
	margin: 10px 20px;
	padding: 14px;
	border-radius: 14px;
	background: var(--hpc-glass);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-gifts h3 {
	margin: 0 0 10px;
	font-size: 0.95em;
	color: var(--hpc-text);
}
.hp-gift-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
}
.hp-gift {
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.05);
}
.hp-gift img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 9px;
}
.hp-gift-name {
	font-size: 0.72em;
	color: var(--hpc-text-dim);
	margin: 6px 0;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hp-gift button {
	width: 100%;
	border: 0;
	border-radius: 99px;
	padding: 0.45em 0;
	font-size: 0.75em;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	color: #fff;
}
.hp-gift button:disabled {
	background: rgba(255, 255, 255, 0.15);
	color: var(--hpc-text-dim);
	cursor: default;
}

/* ----------------------------------------------------------------- footer */
.hp-foot {
	padding: 14px 20px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.18);
}
.hp-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.95em;
	color: var(--hpc-text-dim);
	margin-bottom: 6px;
}
.hp-total-row.hp-grand {
	font-size: 1.15em;
	color: var(--hpc-text);
	font-weight: 700;
	margin: 8px 0 14px;
}
.hp-checkout {
	display: block;
	width: 100%;
	text-align: center;
	border-radius: 99px;
	padding: 0.95em 0;
	font-weight: 800;
	font-size: 1em;
	color: #14142b !important;
	background: rgba(255, 255, 255, 0.95);
	text-decoration: none !important;
	transition: transform 0.12s ease;
}
.hp-checkout:hover {
	transform: translateY(-1px);
}

/* ------------------------------------------------------------ empty/misc */
.hp-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: var(--hpc-text-dim);
	padding: 30px;
	text-align: center;
}
.hp-empty a {
	color: #14142b !important;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 99px;
	padding: 0.7em 1.6em;
	font-weight: 700;
	text-decoration: none !important;
}
.hp-skeleton {
	height: 180px;
	border-radius: var(--hpc-radius);
	background: linear-gradient(100deg, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.06) 60%);
	background-size: 200% 100%;
	animation: hp-shimmer 1.2s infinite linear;
}
@keyframes hp-shimmer {
	to { background-position: -200% 0; }
}
.hp-busy {
	opacity: 0.55;
	pointer-events: none;
}
body.hp-cart-lock {
	overflow: hidden;
}

.hp-viewcart {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-size: 0.85em;
	color: var(--hpc-text-dim) !important;
	text-decoration: underline !important;
	text-underline-offset: 0.3em;
}
.hp-viewcart:hover {
	color: var(--hpc-text) !important;
}

/* ---- cart page v2 (reference composition) --------------------------- */
.hp-page-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 0 0 18px;
}
.hp-subtitle { color: var(--hpc-text-dim); font-size: 0.9em; }
.hp-back {
	color: var(--hpc-text-dim) !important;
	text-decoration: none !important;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.hp-back:hover { color: var(--hpc-text) !important; }
.hp-page-side { display: flex; flex-direction: column; gap: 18px; }
.hp-card-summary h3 { margin: 0 0 14px; color: var(--hpc-text); font-size: 1.05em; }
.hp-row {
	display: grid;
	grid-template-columns: 1fr 130px 110px 44px;
	gap: 12px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hp-row-header {
	padding: 4px 0 10px;
	color: var(--hpc-text-dim);
	font-size: 0.72em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.hp-row-header span:nth-child(2), .hp-row-qty { text-align: center; }
.hp-row-header span:nth-child(3), .hp-row-total { text-align: right; }
.hp-row-product { display: flex; gap: 14px; align-items: center; min-width: 0; }
.hp-row-product img {
	width: 74px; height: 74px; object-fit: cover;
	border-radius: 14px; border: 1px solid rgba(255,255,255,0.12);
	flex: none;
}
/* variant descriptor (e.g. "5g") — unmissable accent pill */
.hp-variant {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 11px;
	border-radius: 99px;
	background: rgba(255, 122, 217, 0.14);
	border: 1px solid rgba(255, 122, 217, 0.5);
	color: #fff;
	font-size: 0.95em;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.hp-unit { display: block; color: var(--hpc-text-dim); font-size: 0.78em; margin-top: 4px; }
.hp-row-total {
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	/* keep "124,90 €" on one line — the symbol must never wrap alone */
	white-space: nowrap;
}
.hp-row-bin { display: flex; align-items: center; justify-content: flex-end; }
.hp-trash {
	background: none; border: 0; cursor: pointer;
	font-size: 1em; opacity: 0.5; transition: opacity .15s ease;
}
.hp-trash:hover { opacity: 1; }

/* coupon */
.hp-coupon { display: flex; gap: 8px; margin: 12px 0 4px; }
.hp-coupon input {
	flex: 1;
	background: var(--hpc-glass);
	border: 1px solid var(--hpc-border);
	border-radius: 99px;
	color: var(--hpc-text);
	padding: 0.6em 1.1em;
	font-size: 0.85em;
}
.hp-coupon input::placeholder { color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: .04em; font-size: .9em; }
.hp-coupon button {
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	color: #fff; border: 0; border-radius: 99px;
	padding: 0.6em 1.2em; font-weight: 800; font-size: 0.8em; cursor: pointer;
}
.hp-coupon-row {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 0.85em; color: var(--hpc-text-dim); padding: 4px 2px;
}
.hp-coupon-row button { background: none; border: 0; color: #ff9c9c; cursor: pointer; font-size: 1.1em; }

/* gift tiers */
.hp-gifts-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.hp-gifts-ico {
	width: 44px; height: 44px; border-radius: 12px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.3em;
	background: linear-gradient(135deg, var(--hpc-accent-2), var(--hpc-accent));
}
.hp-gifts-head h3 { margin: 0 0 4px !important; }
.hp-gifts-head p { margin: 0; font-size: 0.8em; color: var(--hpc-text-dim); line-height: 1.4; }
.hp-tier-track {
	position: relative;
	height: 7px;
	border-radius: 99px;
	background: rgba(255,255,255,0.12);
	margin: 26px 8px 34px;
}
.hp-tier-fill {
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	transition: width 0.4s ease;
}
.hp-tier-mark {
	position: absolute; top: 50%; transform: translate(-50%, -50%);
	display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.hp-tier-mark i {
	font-style: normal;
	width: 22px; height: 22px; border-radius: 99px;
	background: #2a2350; border: 2px solid rgba(255,255,255,0.25);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.65em;
}
.hp-tier-mark.is-hit i { background: linear-gradient(135deg, var(--hpc-accent-2), var(--hpc-accent)); border-color: transparent; }
.hp-tier-mark b { font-size: 0.68em; color: var(--hpc-text-dim); margin-top: 20px; position: absolute; top: 12px; }
.hp-tier-boxes { display: flex; gap: 10px; margin: 6px 0 14px; }
.hp-tier-box {
	flex: 1; text-align: center; position: relative;
	border: 1px solid rgba(255,255,255,0.14); border-radius: 14px;
	padding: 12px 6px; background: rgba(255,255,255,0.04);
}
.hp-tier-box.is-hit { border-color: var(--hpc-accent); box-shadow: 0 0 18px rgba(255,122,217,0.25); }
.hp-tier-label { display: block; font-size: 0.65em; letter-spacing: 0.1em; color: var(--hpc-accent); font-weight: 800; }
.hp-tier-min { display: block; font-size: 1.15em; font-weight: 800; margin-top: 2px; }
.hp-tier-lock { position: absolute; top: 8px; right: 10px; font-size: 0.8em; opacity: 0.7; }
.hp-gift-counter {
	display: flex; align-items: center; justify-content: space-between;
	font-size: 0.8em; color: var(--hpc-text); margin-bottom: 10px;
	text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
}
.hp-badge-unlocked {
	border: 1px solid var(--hpc-accent);
	color: var(--hpc-accent);
	border-radius: 99px; padding: 0.25em 0.9em; font-size: 0.85em;
}

/* upsell — one pill per line everywhere, matching the desktop look Michal
   picked; the leading "🔥 Pridaj a ušetri:" text node becomes its own line. */
.hp-upsell {
	margin-top: 8px;
	font-size: 0.78em;
	color: var(--hpc-text-dim);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.hp-upsell-opt {
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--hpc-accent);
	color: var(--hpc-text);
	border-radius: 99px;
	padding: 0.3em 0.8em;
	font-size: 0.95em;
	cursor: pointer;
	transition: background .15s ease;
}
.hp-upsell-opt span { color: var(--hpc-accent); font-weight: 700; }
.hp-upsell-opt:hover { background: rgba(255,122,217,0.18); }
@media (max-width: 760px) {
	.hp-row { grid-template-columns: 1fr; }
	.hp-row-qty, .hp-row-total { text-align: left; justify-content: flex-start; }
	.hp-row-bin { justify-content: flex-start; }
	.hp-row-header { display: none; }
}

/* ---- QA round: even qty buttons, drawer scroll, compact gifts, page polish ---- */
.hp-qty {
	height: 32px;
}
.hp-qty button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	line-height: 1;
	font-size: 16px;
}
.hp-qty span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 30px;
}

/* drawer: one shared scroll region (items + gifts) — gifts can no longer hide items */
#hp-cart-drawer .hp-scroll {
	flex: 1;
	overflow-y: auto;
	scrollbar-width: thin;
	display: flex;
	flex-direction: column;
}
#hp-cart-drawer .hp-items {
	flex: none;
	overflow: visible;
}
/* drawer: compact gift section */
#hp-cart-drawer .hp-gifts {
	padding: 12px;
	margin: 8px 20px 14px;
}
#hp-cart-drawer .hp-gifts-head p {
	display: none;
}
#hp-cart-drawer .hp-gifts-ico {
	width: 34px;
	height: 34px;
	font-size: 1em;
	border-radius: 10px;
}
#hp-cart-drawer .hp-tier-boxes {
	display: none;
}
#hp-cart-drawer .hp-tier-track {
	margin: 18px 6px 26px;
}
#hp-cart-drawer .hp-gift-grid {
	grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
	gap: 8px;
}
#hp-cart-drawer .hp-gift {
	padding: 6px;
}
#hp-cart-drawer .hp-gift-name {
	font-size: 0.66em;
	margin: 4px 0;
}
#hp-cart-drawer .hp-gift-counter {
	font-size: 0.72em;
	margin-bottom: 8px;
}

/* page composition polish */
#hp-cart-page .hp-page-head {
	margin: 0 0 22px;
	align-items: center;
}
#hp-cart-page h1.hp-title {
	margin: 0 0 4px;
}
#hp-cart-page .hp-card {
	padding: 22px;
}
#hp-cart-page .hp-row {
	grid-template-columns: 1fr 120px 110px 44px;
}
#hp-cart-page .hp-row-qty {
	display: flex;
	justify-content: center;
}
#hp-cart-page .hp-total-row {
	margin-bottom: 10px;
	align-items: baseline;
}
#hp-cart-page .hp-total-row.hp-grand {
	margin: 12px 0 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#hp-cart-page .hp-coupon {
	margin: 4px 0 12px;
}
#hp-cart-page .hp-coupon input,
#hp-cart-page .hp-coupon button {
	height: 42px;
}
#hp-cart-page .hp-progress {
	margin: 0 0 4px;
}
#hp-cart-page .hp-checkout-page {
	margin-top: 16px;
	padding: 1.05em 0;
	font-size: 1.02em;
}
#hp-cart-page .hp-tier-box {
	padding: 10px 6px;
}
#hp-cart-page .hp-tier-min {
	font-size: 1.05em;
}
#hp-cart-page .hp-gifts {
	margin: 0;
}

/* drawer footer: two equal buttons side by side */
.hp-foot-btns {
	display: flex;
	gap: 10px;
}
.hp-foot-btns .hp-checkout,
.hp-foot-btns .hp-btn-secondary {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9em 0;
	border-radius: 99px;
	font-weight: 800;
	font-size: 0.95em;
	text-decoration: none !important;
}
.hp-btn-secondary {
	background: var(--hpc-glass);
	border: 1px solid var(--hpc-border);
	color: var(--hpc-text) !important;
	transition: background 0.15s ease;
}
.hp-btn-secondary:hover {
	background: var(--hpc-glass-strong);
}

/* equal drawer footer buttons: the base .hp-checkout carries width:100%,
   which inflates its flex share — neutralise it and pin identical metrics */
.hp-foot-btns .hp-checkout,
.hp-foot-btns .hp-btn-secondary {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0;
	box-sizing: border-box;
	padding: 0.95em 0 !important;
	font-size: 0.95em !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

/* ---- cart page on phones: the ID-scoped 3-column grid above outranked the
   generic 760px fallback, crushing the name column. Product spans the full
   width; qty sits left and price right on the line below.
   2026-08-09 tidy-up (Michal, from a real phone): bigger artwork, image
   top-aligned with the name block, one upsell pill per line, and an even
   qty | price | bin bottom line. ---- */
@media (max-width: 760px) {
	#hp-cart-page .hp-row {
		grid-template-columns: 1fr auto 36px;
		row-gap: 12px;
		padding: 18px 0;
	}
	#hp-cart-page .hp-row-product {
		grid-column: 1 / -1;
		align-items: flex-start;
		gap: 14px;
	}
	#hp-cart-page .hp-row-product img {
		width: 106px;
		height: 106px;
		border-radius: 16px;
	}
	#hp-cart-page .hp-row-product .hp-item-name {
		font-size: 1.04em;
		line-height: 1.3;
		margin: 0 0 2px;
	}
	#hp-cart-page .hp-variant {
		margin-top: 4px;
	}
	#hp-cart-page .hp-row-qty {
		justify-content: flex-start;
	}
	#hp-cart-page .hp-row-total {
		justify-content: flex-end;
		text-align: right;
		font-size: 1.05em;
	}
	#hp-cart-page .hp-row-bin {
		justify-content: flex-end;
	}
}

/* ---- site logo: lift on hover, matching the nav's hover language ---- */
.elementor-widget-theme-site-logo img {
	transition: transform 0.22s ease, filter 0.22s ease;
}
.elementor-widget-theme-site-logo img:hover {
	transform: translateY(-3px) scale(1.03);
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* ---- gift stops: giftbox nodes on the progress bar + preview panel ---- */
.hp-stops-track {
	position: relative;
	height: 66px;
	margin: 14px 4px 6px;
}
.hp-stops-bar {
	position: absolute;
	top: 16px;
	left: 0;
	right: 0;
	height: 7px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.14);
	overflow: hidden;
}
.hp-stops-fill {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	transition: width 0.4s ease;
}
.hp-gifts button.hp-stop {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 38px !important;
	height: 38px !important;
	border-radius: 99px !important;
	border: 1.5px solid var(--hpc-border) !important;
	background: #2a2350 !important;
	color: rgba(255, 255, 255, 0.55) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0 !important;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
	background-clip: border-box !important;
}
.hp-gifts button.hp-stop:hover {
	transform: translateX(-50%) translateY(-2px);
}
.hp-gifts button.hp-stop.is-hit {
	background: linear-gradient(135deg, var(--hpc-accent-2), var(--hpc-accent)) !important;
	border: 0 !important; /* no border zone — the gradient fills the full circle */
	color: #fff !important;
}
.hp-gifts button.hp-stop.is-sel {
	border-color: var(--hpc-accent) !important;
	box-shadow: 0 0 0 3px rgba(255, 122, 217, 0.28);
}
.hp-gifts button.hp-stop .hp-stop-lock {
	position: absolute;
	right: -5px;
	top: -5px;
	width: 19px;
	height: 19px;
	border-radius: 99px;
	background: rgba(10, 8, 24, 0.92);
	border: 1px solid var(--hpc-border);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0.95;
}
.hp-gifts button.hp-stop b {
	position: absolute;
	top: 42px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.68em;
	font-weight: 700;
	color: var(--hpc-text-dim);
	white-space: nowrap;
}
.hp-gifts button.hp-stop.is-hit b {
	color: var(--hpc-text);
}

/* preview of the selected stop's gift */
.hp-stop-preview {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	padding: 10px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-stop-thumb {
	position: relative;
	display: block;
	width: 62px;
	height: 62px;
	border-radius: 11px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	flex: none;
}
.hp-stop-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hp-stop-preview.is-locked .hp-stop-thumb img {
	filter: grayscale(0.35) brightness(0.78);
}
.hp-stop-thumb-lock {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(10, 8, 24, 0.28);
}
.hp-stop-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	align-items: flex-start;
}
.hp-stop-name {
	font-size: 0.88em;
	font-weight: 700;
	color: var(--hpc-text);
	line-height: 1.3;
}
.hp-stop-preview.is-locked .hp-stop-name {
	color: var(--hpc-text-dim);
}
.hp-stop-locked-note {
	font-size: 0.78em;
	color: var(--hpc-text-dim);
}
.hp-stop-info button {
	border: 0;
	border-radius: 99px;
	padding: 0.45em 1.4em;
	font-size: 0.78em;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(90deg, var(--hpc-accent-2), var(--hpc-accent));
	color: #fff;
}
.hp-stop-info button:disabled {
	background: rgba(255, 255, 255, 0.15);
	color: var(--hpc-text-dim);
	cursor: default;
}

/* ---- quick add: inline size picker for grid "Výber možností" ---- */
#hp-qa-overlay {
	position: fixed;
	inset: 0;
	z-index: 999995;
	background: rgba(8, 8, 20, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
#hp-qa-overlay.hp-show {
	display: flex;
}
#hp-qa-modal {
	position: relative;
	width: min(430px, 94vw);
	border-radius: var(--hpc-radius);
	background: linear-gradient(160deg, rgba(30, 25, 60, 0.85), rgba(15, 12, 35, 0.9));
	backdrop-filter: blur(26px) saturate(1.5);
	-webkit-backdrop-filter: blur(26px) saturate(1.5);
	border: 1px solid var(--hpc-border);
	box-shadow: var(--hpc-shadow);
	color: var(--hpc-text);
	padding: 20px;
}
.hp-qa-loading {
	margin: 20px 0;
	text-align: center;
	color: var(--hpc-text-dim);
}
.hp-qa-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 99px !important;
	border: 1px solid var(--hpc-border) !important;
	background: var(--hpc-glass) !important;
	color: var(--hpc-text) !important;
	font-size: 16px;
	line-height: 1;
	padding: 0 !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.hp-qa-head {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 16px;
	padding-right: 34px;
}
.hp-qa-head img {
	width: 64px;
	height: 76px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	flex: none;
}
.hp-qa-head h3 {
	margin: 0 0 4px;
	font-size: 1em;
	color: var(--hpc-text);
	line-height: 1.3;
}
.hp-qa-head p {
	margin: 0;
	font-size: 0.8em;
	color: var(--hpc-text-dim);
}
.hp-qa-pills {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 9px;
}
#hp-qa-modal button.hp-qa-pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 10px 6px !important;
	border-radius: 13px !important;
	border: 1px solid var(--hpc-border) !important;
	background: var(--hpc-glass) !important;
	color: var(--hpc-text) !important;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
#hp-qa-modal button.hp-qa-pill:hover {
	border-color: var(--hpc-accent) !important;
	transform: translateY(-2px);
}
#hp-qa-modal button.hp-qa-pill.is-busy {
	opacity: 0.55;
	pointer-events: none;
}
#hp-qa-modal button.hp-qa-pill:disabled {
	opacity: 0.35;
	cursor: default;
}
#hp-qa-modal .hp-qa-pill b {
	font-size: 1.05em;
	font-weight: 800;
}
#hp-qa-modal .hp-qa-pill span {
	font-size: 0.78em;
	color: var(--hpc-accent);
	font-weight: 700;
}

/* ---- gift lines: pinned on top, visually smaller than real products ---- */
#hp-cart-page .hp-row-gift {
	padding: 8px 0;
}
#hp-cart-page .hp-row-gift .hp-row-product img {
	width: 44px;
	height: 44px;
	border-radius: 9px;
}
#hp-cart-page .hp-row-gift .hp-item-name {
	font-size: 0.82em;
	margin-bottom: 2px;
}
.hp-item.hp-item-gift {
	padding: 8px 0;
	grid-template-columns: 40px 1fr auto;
}
.hp-item.hp-item-gift img {
	width: 40px;
	height: 40px;
	border-radius: 9px;
}
.hp-item.hp-item-gift .hp-item-name {
	font-size: 0.8em;
	margin: 0 0 3px;
}

/* CENA header aligns with the price digits, not the trash icon */
#hp-cart-page .hp-row-header span:nth-child(3) {
	padding-right: 34px;
}

/* left column wrapper on the cart page (items card + bump slot) */
#hp-cart-page .hp-page-main {
	min-width: 0;
}
#hp-cart-page .hp-page-main .hp-card-items {
	margin-bottom: 16px;
}

/* ---- gift stop offering a CHOICE of products ---- */
.hp-stop-preview.is-choice {
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}
.hp-stop-choose {
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--hpc-accent);
}
.hp-stop-option {
	display: flex;
	align-items: center;
	gap: 12px;
}
.hp-stop-preview.is-choice .hp-stop-thumb {
	width: 52px;
	height: 52px;
}

/* ---- claimed gift stop: a tick, so the bar shows at a glance what is taken ---- */
.hp-gifts button.hp-stop .hp-stop-tick {
	position: absolute;
	top: -4px;
	left: -4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #10b981;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 2px rgba(10, 12, 32, 0.9);
	pointer-events: none;
}
.hp-gifts button.hp-stop.is-claimed { opacity: 1; }
