/* Sportem Paketi */
.spp {
	--spp-accent: #A7CE38;
	--spp-on-accent: #1a1a1a;
	--spp-bg: #1a1a1a;
	--spp-card: #232323;
	--spp-card-2: #2b2b2b;
	--spp-line: #383838;
	--spp-ink: #fafafa;
	--spp-muted: #a3a3a3;
	--spp-gift: #2a3115;
	--spp-gift-edge: #55661f;
	--spp-err: #ff8a7a;
	--spp-head: "Clash Display", "Manrope", sans-serif;
	--spp-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
	--spp-radius: 10px;
	font-family: var(--spp-body);
	color: var(--spp-ink);
	background: var(--spp-bg);
	-webkit-font-smoothing: antialiased;
}
.spp *, .spp *::before, .spp *::after { box-sizing: border-box; }
.spp p { margin: 0; }
.spp a { color: inherit; }
.spp img { max-width: 100%; height: auto; display: block; }
.spp [hidden] { display: none !important; }
.spp-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; }

.spp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--spp-muted); margin-bottom: 18px; }
.spp-crumbs a { text-decoration: none; color: var(--spp-muted); }
.spp-crumbs a:hover { color: var(--spp-accent); }

.spp-h1 { font-family: var(--spp-head); font-weight: 600; font-size: clamp(30px, 6vw, 48px); line-height: 1.05; margin: 0 0 12px; color: var(--spp-ink); letter-spacing: -0.01em; }
.spp-h2 { font-family: var(--spp-head); font-weight: 600; font-size: clamp(20px, 4vw, 26px); line-height: 1.15; margin: 0; color: var(--spp-ink); }
.spp-h3 { font-family: var(--spp-head); font-weight: 600; font-size: 19px; line-height: 1.2; margin: 0; color: var(--spp-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.spp-opt-tag { font-family: var(--spp-body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spp-muted); border: 1px solid var(--spp-line); border-radius: 99px; padding: 3px 8px; }
.spp-lead { font-size: 16px; line-height: 1.55; color: rgba(250, 250, 250, .85); max-width: 640px; }
.spp-muted { color: var(--spp-muted); font-size: 13px; }

/* Dugmad */
.spp .spp-btn, .spp .spp-btn:hover, .spp .spp-btn:focus {
	appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 1px solid var(--spp-accent); border-radius: 4px;
	background: var(--spp-accent); color: var(--spp-on-accent);
	font-family: var(--spp-body); font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: normal; text-transform: none; text-decoration: none;
	padding: 11px 18px; min-height: 44px; cursor: pointer; box-shadow: none; white-space: nowrap;
	transition: filter .15s, transform .15s;
}
.spp .spp-btn:hover { filter: brightness(1.07); }
.spp .spp-btn:active { transform: translateY(1px); }
.spp .spp-btn:focus-visible { outline: 3px solid var(--spp-accent); outline-offset: 2px; }
.spp .spp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.spp .spp-btn.is-loading { opacity: .7; cursor: wait; }
.spp .spp-btn--lg { font-size: 16px; padding: 14px 22px; min-height: 52px; }
.spp .spp-btn--ghost, .spp .spp-btn--ghost:hover, .spp .spp-btn--ghost:focus { background: transparent; color: var(--spp-accent); }
.spp .spp-btn--ghost:hover { background: rgba(167, 206, 56, .1); }
.spp .spp-btn-price { font-weight: 700; opacity: .85; padding-left: 8px; border-left: 1px solid rgba(26, 26, 26, .35); }

.spp-badge { position: absolute; top: 12px; left: 12px; background: var(--spp-accent); color: var(--spp-on-accent); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border-radius: 4px; z-index: 2; }
.spp-ribbon { position: absolute; top: 12px; right: 12px; background: #1a1a1a; color: var(--spp-accent); border: 1px solid var(--spp-accent); font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 99px; z-index: 2; }

/* Kolaž kad paket nema sliku */
.spp-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; aspect-ratio: 4 / 3; overflow: hidden; }
.spp-collage img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.spp-collage--1 { grid-template-columns: 1fr; }
.spp-collage--3 img:first-child { grid-row: span 2; }

/* ---------- Arhiva ---------- */
.spp-archive-head { margin-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.spp-archive-head .spp-h1 { margin: 0; }
.spp-how { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.spp-how li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.spp-how b { width: 26px; height: 26px; border-radius: 50%; background: var(--spp-accent); color: var(--spp-on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 auto; }
.spp-archive-until { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--spp-muted); }
.spp-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .spp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spp-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.spp-card { position: relative; display: flex; flex-direction: column; background: var(--spp-card); border: 1px solid var(--spp-line); border-radius: var(--spp-radius); overflow: hidden; transition: border-color .2s, transform .2s; cursor: pointer; }
.spp-card:hover, .spp-card:focus-within { border-color: var(--spp-accent); transform: translateY(-2px); }
.spp-card-media { position: relative; display: block; background: #fff; aspect-ratio: 4 / 3; overflow: hidden; }
.spp-card-media .spp-cover-img { width: 100%; height: 100%; object-fit: cover; }
.spp-card-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; flex: 1; }
.spp-card-title { font-family: var(--spp-head); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0; }
.spp-card-title a { text-decoration: none; color: var(--spp-ink); }
.spp-card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.spp-card-link:focus-visible { outline: none; }
.spp-card:has(.spp-card-link:focus-visible) { outline: 3px solid var(--spp-accent); outline-offset: 2px; }
.spp-card-desc { font-size: 14px; line-height: 1.5; color: rgba(250, 250, 250, .8); }
.spp-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spp-muted); margin-bottom: 6px !important; }
.spp-card-items ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spp-card-items li { font-size: 13px; font-weight: 600; background: var(--spp-card-2); border: 1px solid var(--spp-line); border-radius: 99px; padding: 4px 10px; }
.spp-card-items .spp-card-more { color: var(--spp-muted); }
.spp-card-gift { display: flex; gap: 8px; align-items: flex-start; background: var(--spp-gift); border: 1px solid var(--spp-gift-edge); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; }
.spp-card-gift b { color: var(--spp-accent); }
.spp-card-gift em { font-style: normal; color: var(--spp-muted); }
.spp-card-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 4px; }
.spp-card-foot .spp-btn { width: 100%; }
.spp-card-price { font-family: var(--spp-head); font-weight: 600; font-size: 24px; color: var(--spp-accent); white-space: nowrap; }
.spp-card-price small { font-family: var(--spp-body); font-size: 13px; color: var(--spp-muted); font-weight: 600; }

/* ---------- Paket: hero ---------- */
.spp-hero { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
@media (min-width: 900px) { .spp-hero { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.spp-hero-media { position: relative; background: #fff; border-radius: var(--spp-radius); overflow: hidden; }
.spp-hero-media .spp-cover-img { width: 100%; height: auto; }
.spp-hero-body { display: flex; flex-direction: column; gap: 16px; }
.spp-hero-body .spp-h1 { margin: 0; }
.spp-hero-price { display: flex; flex-direction: column; gap: 2px; }
.spp-hero-price-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spp-muted); }
.spp-total { font-family: var(--spp-head); font-weight: 600; font-size: 34px; color: var(--spp-accent); line-height: 1.1; white-space: nowrap; }
.spp-total small { font-family: var(--spp-body); font-size: 15px; font-weight: 600; color: var(--spp-muted); }
.spp-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; font-weight: 600; color: rgba(250, 250, 250, .8); }
.spp-trust li::before { content: "✓"; color: var(--spp-accent); font-weight: 800; margin-right: 6px; }

/* Poklon */
.spp-gift { background: var(--spp-gift); border: 2px dashed var(--spp-accent); border-radius: var(--spp-radius); padding: 16px; transition: background-color .3s, border-style .3s; }
.spp-gift.is-unlocked { border-style: solid; background: #34401a; }
.spp-gift.is-pop { animation: spp-pop .9s ease; }
@keyframes spp-pop { 0% { transform: scale(1); } 30% { transform: scale(1.03); } 100% { transform: scale(1); } }
.spp-gift-lead { font-weight: 800; font-size: 16px; color: var(--spp-accent); margin-bottom: 12px !important; }
.spp-gift-lead span { color: var(--spp-muted); font-weight: 600; font-size: 14px; }
.spp-gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spp-gift-item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.spp-gift-img { width: 52px; height: 52px; border-radius: 8px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.spp-gift-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.spp-gift-emoji { font-size: 26px; }
.spp-ebook { position: relative; width: 38px; height: 48px; background: #1B7A45; border-radius: 2px 5px 5px 2px; box-shadow: inset 4px 0 0 rgba(0, 0, 0, .2); display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; transform: rotate(-4deg); }
.spp-ebook b { font-size: 5.5px; letter-spacing: .05em; color: #fff; }
.spp-ebook i { position: absolute; bottom: 5px; font-style: normal; font-size: 9px; font-weight: 800; color: var(--spp-accent); }
.spp-gift-img:has(.spp-ebook) { background: #2b2b2b; }
.spp-gift-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; }
.spp-gift-text b { font-size: 15px; }
.spp-gift-text span { color: rgba(250, 250, 250, .75); font-size: 13px; }
.spp-gift-choice { grid-column: 2; }
.spp-gift-choice select, .spp-cb select { width: 100%; max-width: 260px; background: #1a1a1a; color: var(--spp-ink); border: 1px solid var(--spp-line); border-radius: 6px; padding: 7px 8px; font: inherit; font-size: 13px; }
.spp-gift-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: center; margin-top: 12px !important; font-size: 12.5px; color: rgba(250, 250, 250, .7); }
.spp-until { background: var(--spp-accent); color: var(--spp-on-accent); font-weight: 800; padding: 3px 10px; border-radius: 99px; }

/* ---------- Grupe i stavke ---------- */
.spp-build { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .spp-build { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; } }
.spp-build-head { display: flex; flex-direction: column; gap: 4px; }
.spp-items { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.spp-group-head { margin-bottom: 14px; }
.spp-group-note { font-size: 14px; color: var(--spp-muted); margin-top: 4px !important; }
.spp-group-items { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) and (max-width: 1023px) { .spp-group-items { grid-template-columns: 1fr 1fr; } }
.spp-group--optional .spp-item, .spp-group--upsell .spp-item { background: #1f1f1f; border-style: dashed; }

.spp-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.spp .spp-opt { appearance: none; border: 1px solid var(--spp-line); background: var(--spp-card); color: var(--spp-ink); font: inherit; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 99px; cursor: pointer; line-height: 1.2; text-transform: none; letter-spacing: normal; }
.spp .spp-opt:hover { border-color: var(--spp-accent); background: var(--spp-card); color: var(--spp-ink); }
.spp .spp-opt.is-on { background: var(--spp-accent); border-color: var(--spp-accent); color: var(--spp-on-accent); }

.spp-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; background: var(--spp-card); border: 1px solid var(--spp-line); border-radius: var(--spp-radius); padding: 14px; transition: border-color .2s; align-items: start; }
.spp-item.is-in, .spp-item.is-ready { border-color: var(--spp-gift-edge); }
.spp-item.is-need { border-color: #8a6d1f; }
.spp-item.is-flash { animation: spp-flash 1.2s ease; }
@keyframes spp-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(167, 206, 56, 0); } 30% { box-shadow: 0 0 0 4px rgba(167, 206, 56, .55); } }
.spp-group--optional .spp-item.is-picked, .spp-group--upsell .spp-item.is-picked { border-style: solid; border-color: var(--spp-accent); }
.spp-item.is-hidden { display: none; }
.spp-item.is-missing { opacity: .6; }
@media (min-width: 480px) { .spp-item { grid-template-columns: 104px 1fr; } }
.spp-item-img { display: block; background: #fff; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.spp-item-img img { width: 100%; height: 100%; object-fit: contain; }
.spp-item-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.spp-item-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.spp-item-name { font-family: var(--spp-body); font-weight: 800; font-size: 16px; line-height: 1.3; margin: 0; color: var(--spp-ink); }
.spp-item-name a { text-decoration: none; color: var(--spp-ink); }
.spp-item-name a:hover { color: var(--spp-accent); }
.spp-item-status { flex: 0 0 auto; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 99px; white-space: nowrap; color: var(--spp-on-accent); background: var(--spp-accent); }
.spp-item-status.is-need { background: #f2c94c; color: #1a1a1a; }
.spp-item-status.is-oos { background: #3a3a3a; color: var(--spp-muted); }
.spp-item-more { align-self: flex-start; font-size: 12.5px; color: var(--spp-muted) !important; text-decoration: underline; text-underline-offset: 2px; }
.spp-item-more:hover { color: var(--spp-accent) !important; }
.spp .spp-pick[aria-pressed="true"], .spp .spp-pick[aria-pressed="true"]:hover { background: var(--spp-accent); color: var(--spp-on-accent); }
.spp-item-note { font-size: 13px; color: var(--spp-muted); line-height: 1.45; }
.spp-incart { font-size: 13px; color: var(--spp-accent); font-weight: 600; }
.spp-item-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.spp-item-price { font-family: var(--spp-head); font-weight: 600; font-size: 20px; color: var(--spp-ink); white-space: nowrap; }
.spp-item-price .spp-muted { font-family: var(--spp-body); font-weight: 600; }
.spp-err { color: var(--spp-err); font-size: 13px; font-weight: 600; }

/* Pločice za težinu/boju */
.spp-line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 10px; }
.spp-line > .spp-attr, .spp-line > .spp-line-foot { align-self: stretch; }
.spp-line + .spp-line { border-top: 1px solid var(--spp-line); padding-top: 10px; }
.spp-attr-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spp-muted); margin-bottom: 6px !important; }
.spp-attr-hint { text-transform: none; letter-spacing: normal; color: var(--spp-accent); font-weight: 700; }
.spp-attr.is-need .spp-attr-label, .spp-attr.is-need .spp-attr-hint { color: var(--spp-err); }
.spp-attr.is-need .spp-pills { animation: spp-shake .35s; }
@keyframes spp-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.spp-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.spp .spp-pill { appearance: none; min-width: 52px; min-height: 40px; padding: 8px 10px; border: 1px solid #666; border-radius: 4px; background: transparent; color: var(--spp-ink); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: normal; cursor: pointer; transition: border-color .15s, background-color .15s; }
.spp .spp-pill:hover { border-color: var(--spp-accent); background: transparent; color: var(--spp-ink); }
.spp .spp-pill.is-on, .spp .spp-pill.is-on:hover { background: var(--spp-accent); border-color: var(--spp-accent); color: var(--spp-on-accent); }
.spp .spp-pill.is-oos { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.spp .spp-pill:focus-visible, .spp .spp-opt:focus-visible { outline: 2px solid var(--spp-accent); outline-offset: 2px; }
.spp-line-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spp-line-price { font-weight: 700; font-size: 14px; color: rgba(250, 250, 250, .85); }
.spp .spp-line-x { appearance: none; border: 0; background: none; color: var(--spp-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px; margin-left: auto; text-transform: none; }
.spp .spp-more { appearance: none; align-self: flex-start; border: 1px dashed #666; background: none; color: var(--spp-accent); font: inherit; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 4px; cursor: pointer; text-transform: none; letter-spacing: normal; }
.spp .spp-more:hover { border-color: var(--spp-accent); background: none; color: var(--spp-accent); }
.spp-fixed { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spp-fixed li { font-size: 13px; background: var(--spp-card-2); border: 1px solid var(--spp-line); border-radius: 4px; padding: 6px 9px; }

.spp-qty { display: inline-flex; align-items: center; border: 1px solid #666; border-radius: 4px; overflow: hidden; height: 40px; }
.spp .spp-qty button { appearance: none; width: 36px; height: 100%; border: 0; background: transparent; color: var(--spp-ink); font-size: 18px; font-weight: 700; cursor: pointer; padding: 0; line-height: 1; }
.spp .spp-qty button:hover { background: var(--spp-card-2); color: var(--spp-ink); }
.spp .spp-qty input { width: 40px; height: 100%; border: 0; border-left: 1px solid #444; border-right: 1px solid #444; background: transparent; color: var(--spp-ink); text-align: center; font: inherit; font-weight: 700; padding: 0; -moz-appearance: textfield; border-radius: 0; }
.spp .spp-qty input::-webkit-outer-spin-button, .spp .spp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.spp-desc { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--spp-line); color: rgba(250, 250, 250, .9); font-size: 16px; line-height: 1.65; max-width: 820px; }
.spp-desc h2, .spp-desc h3 { font-family: var(--spp-head); color: var(--spp-ink); }

.spp-single.is-busy .spp-item, .spp-single.is-busy .spp-bar { cursor: progress; }

/* ---------- Pregled paketa (desktop) ---------- */
.spp-sum { display: none; }
@media (min-width: 1024px) {
	.spp-sum { display: block; position: sticky; top: 24px; }
	.admin-bar .spp-sum { top: 56px; }
}
.spp-sum-box { background: var(--spp-card); border: 1px solid var(--spp-line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.spp-sum-title { font-family: var(--spp-head); font-size: 20px; font-weight: 600; }
.spp-sum-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.spp-sum-list li { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: start; font-size: 14px; line-height: 1.35; }
.spp-sum-list i { font-style: normal; font-weight: 800; color: var(--spp-accent); text-align: center; }
.spp-sum-list li.is-need i { color: #f2c94c; }
.spp-sum-list li.is-need { cursor: pointer; }
.spp-sum-list small { display: block; color: var(--spp-muted); font-size: 12.5px; }
.spp-sum-list li.is-need small { color: #f2c94c; }
.spp-sum-list b { white-space: nowrap; font-weight: 700; }
.spp-sum-list li.is-gift b { color: var(--spp-accent); }
.spp-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--spp-line); padding-top: 14px; font-weight: 700; }
.spp-sum-total .spp-total, .spp-sum-total b { font-family: var(--spp-head); font-size: 28px; font-weight: 600; color: var(--spp-accent); white-space: nowrap; }
.spp-sum-status { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.spp-sum-status.is-need { color: #f2c94c; }
.spp-sum-status.is-done { color: var(--spp-accent); }
.spp-sum-status:empty { display: none; }
.spp-sum .spp-btn { width: 100%; }
.spp-sum-note { font-size: 12.5px; color: var(--spp-muted); text-align: center; }

/* ---------- Donja traka (telefon i tablet) ---------- */
.spp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: rgba(20, 20, 20, .97); border-top: 1px solid var(--spp-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.spp-bar-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.spp-bar-progress { min-width: 0; flex: 1; }
.spp-bar-text { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-bottom: 6px !important; color: var(--spp-ink); }
.spp-bar.is-need .spp-bar-text { color: #f2c94c; }
.spp-bar.is-done .spp-bar-text, .spp-bar.is-ready .spp-bar-text { color: var(--spp-accent); }
.spp-bar-track { height: 6px; background: #3a3a3a; border-radius: 99px; overflow: hidden; }
.spp-bar-track span { display: block; height: 100%; background: var(--spp-accent); border-radius: inherit; transition: width .4s ease; }
.spp-bar-act { display: flex; align-items: center; gap: 12px; }
.spp-bar-act .spp-btn { flex: 1; }
@media (min-width: 768px) {
	.spp-bar { padding: 14px 24px; }
	.spp-bar-in { flex-direction: row; align-items: center; gap: 24px; }
	.spp-bar-text { font-size: 15px; }
	.spp-bar-act .spp-btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) { .spp-bar { display: none; } }
@media (max-width: 1023px) {
	body.spp-has-bar { padding-bottom: 130px; }
	body.spp-has-bar .xoo-wsc-basket { bottom: 140px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) { body.spp-has-bar { padding-bottom: 96px; } body.spp-has-bar .xoo-wsc-basket { bottom: 104px !important; } }

/* ---------- Modal ---------- */
.spp-modal { position: fixed; inset: 0; z-index: 99990; background: rgba(0, 0, 0, .7); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.spp-modal.is-open { opacity: 1; }
@media (min-width: 640px) { .spp-modal { align-items: center; padding: 20px; } }
.spp-modal-box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--spp-card); border: 1px solid var(--spp-line); border-radius: 14px 14px 0 0; padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; transform: translateY(20px); transition: transform .2s; }
.spp-modal.is-open .spp-modal-box { transform: none; }
@media (min-width: 640px) { .spp-modal-box { border-radius: 14px; padding: 26px; } }
.spp .spp-modal-x { position: absolute; top: 8px; right: 10px; appearance: none; border: 0; background: none; color: var(--spp-muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 6px; }
.spp-modal-title { font-family: var(--spp-head); font-size: 24px; font-weight: 600; color: var(--spp-accent); }
.spp-modal-gift { background: var(--spp-gift); border: 1px solid var(--spp-gift-edge); border-radius: 8px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.spp-modal-sub { font-family: var(--spp-head); font-size: 18px; font-weight: 600; margin-bottom: 10px !important; }
.spp-modal-items { display: grid; gap: 10px; }
.spp-modal-items .spp-item { grid-template-columns: 72px 1fr; }
.spp-modal-items .spp-item-more { display: none; }
.spp-modal-act { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 480px) { .spp-modal-act { flex-direction: row; } .spp-modal-act .spp-btn { flex: 1; } }
body.spp-modal-open { overflow: hidden; }

/* ---------- Korpa / side cart / checkout ---------- */
.spp-cb { font-family: inherit; text-align: left; display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.spp-cb:empty { display: none; }
.spp-cb p { margin: 0; }
.spp-cb--sidecart { margin: 12px 16px 4px; }
.spp-cb-gifts, .spp-cb-nudge { border-radius: 10px; padding: 12px 14px; }
.spp-cb-gifts { background: #f3f9e3; border: 1px solid #cfe39a; color: #1f2a0a; }
.spp-cb-nudge { background: #f6f6f6; border: 1px dashed #bbb; color: #222; }
.spp-cb-title { font-weight: 800; font-size: 14px; line-height: 1.35; margin-bottom: 6px !important; }
.spp-cb ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spp-cb li { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; }
.spp-cb-gname { font-weight: 700; }
.spp-cb-from { font-size: 12px; opacity: .7; }
.spp-cb .spp-cb-choice { margin-top: 4px; background: #fff; color: #222; border-color: #cfd4c0; }
.spp-cb-note { font-size: 12px; opacity: .7; margin-top: 6px !important; }
.spp-cb-miss { font-size: 13px; margin-bottom: 8px !important; }
.spp-cb-track { height: 5px; background: #ddd; border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.spp-cb-track span { display: block; height: 100%; background: #7fa21f; }
.spp-cb-link { font-size: 13px; font-weight: 800; color: #4c6b00 !important; text-decoration: underline; }

.spp-thanks { margin: 16px 0; padding: 14px 16px; border: 2px dashed #A7CE38; border-radius: 10px; }
.spp-thanks-title { font-weight: 800; margin: 0 0 8px; }

@media (prefers-reduced-motion: reduce) {
	.spp *, .spp-cb * { transition: none !important; animation: none !important; }
}

.spp-item-price del { font-size: 14px; color: var(--spp-muted); font-family: var(--spp-body); margin-right: 4px; }
.spp-up-price { color: var(--spp-accent); }

/* Tema boji naslove; stavke i grupe moraju da ostanu svetle. */
.spp .spp-h1, .spp .spp-h2, .spp .spp-h3, .spp .spp-item-name, .spp .spp-card-title a { color: var(--spp-ink) !important; }
