/* Sportem Offers */
.spo {
	--spo-accent: #1f8a4c;
	--spo-ink: #16181a;
	--spo-muted: #5f6670;
	--spo-line: #e6e8eb;
	--spo-tint: #eef6f1;
	--spo-edge: #cfe5d8;
	font-family: inherit;
	color: var(--spo-ink);
	margin: 16px 0;
	text-align: left;
}
@supports (background: color-mix(in srgb, red 10%, white)) {
	.spo {
		--spo-tint: color-mix(in srgb, var(--spo-accent) 7%, #fff);
		--spo-edge: color-mix(in srgb, var(--spo-accent) 24%, #fff);
	}
}
.spo:empty { display: none; }
.spo *, .spo *::before, .spo *::after { box-sizing: border-box; }
.spo p { margin: 0; }
.spo--sidecart { margin: 12px 16px; }

/* Besplatna dostava */
.spo .spo-fs { margin: 0 0 12px; }
.spo .spo-fs-text { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.spo .spo-fs-track { height: 6px; border-radius: 99px; background: var(--spo-line); overflow: hidden; }
.spo .spo-fs-track span { display: block; height: 100%; border-radius: inherit; background: var(--spo-accent); transition: width .4s ease; }
.spo .spo-fs.is-done .spo-fs-text { color: var(--spo-accent); }
.spo .spo-fs.is-done .spo-fs-text::before { content: "\2713"; margin-right: 6px; font-weight: 800; }

/* Lista ponuda */
.spo .spo-offers {
	background: var(--spo-tint);
	border: 1px solid var(--spo-edge);
	border-radius: 14px;
	padding: 12px;
}
.spo .spo-heading { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }

.spo .spo-card {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 12px;
	align-items: start;
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	transition: opacity .2s;
}
.spo .spo-card + .spo-card { margin-top: 8px; }
.spo .spo-thumb { display: block; line-height: 0; }
.spo .spo-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; margin: 0; }
.spo .spo-main { min-width: 0; }
.spo .spo-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--spo-ink); }
.spo .spo-desc { display: block; font-size: 12.5px; line-height: 1.4; color: var(--spo-muted); margin-top: 2px; }

.spo select.spo-variation {
	display: block;
	width: 100%;
	height: auto;
	min-height: 34px;
	margin: 8px 0 0;
	padding: 6px 8px;
	font: inherit;
	font-size: 13px;
	color: var(--spo-ink);
	background-color: #fff;
	border: 1px solid var(--spo-line);
	border-radius: 8px;
}

.spo .spo-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.spo .spo-price { font-size: 14px; line-height: 1.2; white-space: nowrap; }
.spo .spo-price del { color: var(--spo-muted); font-size: 12.5px; margin-right: 4px; text-decoration: line-through; }
.spo .spo-price strong { font-weight: 800; color: var(--spo-ink); }
.spo .spo-price del + strong { color: var(--spo-accent); }

.spo button.spo-add,
.spo button.spo-add:hover,
.spo button.spo-add:focus {
	appearance: none;
	border: 0;
	border-radius: 99px;
	background: var(--spo-accent);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	padding: 9px 16px;
	min-height: 36px;
	box-shadow: none;
	cursor: pointer;
	white-space: nowrap;
}
.spo button.spo-add:hover { filter: brightness(1.08); }
.spo button.spo-add:focus-visible { outline: 3px solid var(--spo-accent); outline-offset: 2px; }
.spo button.spo-add[disabled] { opacity: .6; cursor: wait; }
.spo .is-added button.spo-add { background: var(--spo-ink); }

.spo .is-busy { opacity: .6; pointer-events: none; }
.spo .spo-err { color: #b3261e; font-size: 12.5px; line-height: 1.4; margin-top: 6px; }

/* Korpa: dve kolone na širem ekranu */
@media (min-width: 720px) {
	.spo--cart .spo-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
	.spo--cart .spo-heading { grid-column: 1 / -1; margin-bottom: 2px; }
	.spo--cart .spo-card + .spo-card { margin-top: 0; }
}

/* Order bump (checkout) */
.spo .spo-bump {
	position: relative;
	background: var(--spo-tint);
	border: 2px dashed var(--spo-accent);
	border-radius: 12px;
	padding: 14px;
	margin: 0 0 14px;
	transition: border-color .2s, background-color .2s;
}
.spo .spo-bump.is-on { border-style: solid; }
.spo .spo-bump-cb { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.spo .spo-bump-label {
	display: grid;
	grid-template-columns: 24px 1fr 56px;
	gap: 12px;
	align-items: start;
	margin: 0;
	padding: 0;
	cursor: pointer;
	font-weight: 400;
}
.spo .spo-bump-box {
	width: 24px;
	height: 24px;
	border: 2px solid var(--spo-accent);
	border-radius: 6px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}
.spo .spo-bump.is-on .spo-bump-box { background: var(--spo-accent); }
.spo .spo-bump.is-on .spo-bump-box::after {
	content: "";
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: translateY(-1px) rotate(45deg);
}
.spo .spo-bump-cb:focus-visible + .spo-bump-label .spo-bump-box { outline: 3px solid var(--spo-accent); outline-offset: 2px; }
.spo .spo-bump-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spo .spo-bump .spo-title { font-size: 15px; font-weight: 800; }
.spo .spo-bump .spo-price { margin-top: 3px; }
.spo .spo-bump select.spo-variation { margin-left: 36px; width: calc(100% - 36px); }

@media (prefers-reduced-motion: reduce) {
	.spo .spo-fs-track span, .spo .spo-card, .spo .spo-bump { transition: none; }
}
