/* Sedef generator nakita — samostalni stilovi (rade i bez Sedef teme; boje uzima iz teme ako postoje). */

@font-face { font-family: "SG Great Vibes"; font-display: block; src: url(fonts/great-vibes-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Great Vibes"; font-display: block; src: url(fonts/great-vibes-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "SG Allura"; font-display: block; src: url(fonts/allura-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Allura"; font-display: block; src: url(fonts/allura-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "SG Parisienne"; font-display: block; src: url(fonts/parisienne-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Parisienne"; font-display: block; src: url(fonts/parisienne-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "SG Dancing Script"; font-weight: 600; font-display: block; src: url(fonts/dancing-script-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Dancing Script"; font-weight: 600; font-display: block; src: url(fonts/dancing-script-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

/* Ćirilica (pisana): Great Vibes ima svoju; Nežni = Bad Script, Elegantni = Marck Script, Razigrani = Caveat (OFL, Google Fonts) */
@font-face { font-family: "SG Great Vibes"; font-display: block; src: url(fonts/great-vibes-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Allura"; font-display: block; src: url(fonts/allura-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Parisienne"; font-display: block; src: url(fonts/parisienne-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Dancing Script"; font-weight: 600; font-display: block; src: url(fonts/dancing-script-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face { font-family: "SG Stampani"; font-weight: 800; font-display: block; src: url(fonts/stampani-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Stampani"; font-weight: 800; font-display: block; src: url(fonts/stampani-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Stampani"; font-weight: 800; font-display: block; src: url(fonts/stampani-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "SG Kurziv"; font-weight: 400; font-display: block; src: url(fonts/kurziv-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Kurziv"; font-weight: 400; font-display: block; src: url(fonts/kurziv-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Kurziv"; font-weight: 400; font-display: block; src: url(fonts/kurziv-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

.sg {
	--sg-green: var(--c-green, #0F3F44);
	--sg-text: var(--c-text, #133A3E);
	--sg-muted: var(--c-muted, #5E6E70);
	--sg-line: var(--c-line, rgba(19, 58, 62, .14));
	--sg-surface: var(--c-surface, #FCF9F4);
	--sg-gold: var(--c-gold, #6FBFB9);
	display: grid; gap: 24px; align-items: start;
	/* Izlazi iz uske kolone teksta stranice: do 1200px, centrirano. */
	width: min(1200px, calc(100vw - 32px));
	position: relative; left: 50%; transform: translateX(-50%);
}
@media (min-width: 960px) { .sg { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 40px; } }

.sg-stage { position: relative; }
@media (min-width: 960px) { .sg-stage { position: sticky; top: calc(var(--header-h, 76px) + 20px); } }
/* Telefon/tablet: prikaz ostaje zalepljen ispod menija dok se opcije skroluju — svaka promena se odmah vidi. */
@media (max-width: 959px) {
	.sg-stage {
		position: sticky; top: var(--header-h, 60px); z-index: 20;
		margin: 0 -16px; padding: 0 16px 8px;
		background: var(--c-bg, #FFFFFF);
		box-shadow: 0 10px 14px -12px rgba(10, 46, 50, .35);
	}
	/* Napomena ide ispod forme, da zalepljeni prikaz bude što niži. */
	.sg-stage .sg-note { display: none; }
}
/* Ulogovan admin: WP traka je fiksirana od 601px naviše (ispod toga se skroluje, kao i u temi). */
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .sg-stage { top: calc(var(--header-h, 60px) + 46px); } }
@media (min-width: 783px) and (max-width: 959px) { .admin-bar .sg-stage { top: calc(var(--header-h, 60px) + 32px); } }
.sg-svg { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; background: #F4F8F8; }
/* Dok se fontovi ne učitaju, crtež se ne prikazuje (bez treptanja sa rezervnim fontom). */
.sg:not(.is-ready) .sg-svg > * { visibility: hidden; }
.sg-note { margin: 8px 0 0; font-size: .78rem; color: var(--sg-muted); }
@media (min-width: 960px) { .sg-note-panel { display: none; } }

/* ---------- Forma: numerisani koraci sa karticama izbora ---------- */
.sg-panel { display: grid; gap: 14px; }
.sg-step {
	margin: 0; min-width: 0; padding: 20px 18px 22px;
	background: #fff; border: 1px solid var(--sg-line); border-radius: 16px;
	box-shadow: 0 2px 10px rgba(19, 58, 62, .04);
}
.sg-step-head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.sg-step-num {
	flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--c-gold-dark, #24766F); color: #fff; font-size: .82rem; font-weight: 600;
}
.sg-step-title { margin: 0; font-family: var(--f-serif, Georgia, serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--sg-text); }
.sg-step-title small { font-family: var(--f-sans, system-ui, sans-serif); font-size: .74rem; color: var(--sg-muted); font-weight: 400; }
.sg-legend-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-label, .sg-group legend { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); margin: 0 0 8px; padding: 0; }
.sg-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.sg-group + .sg-group { margin-top: 16px; }

.sg-input-wrap { position: relative; }
.sg-input.sg-input {
	width: 100%; min-height: 56px; padding: 12px 64px 12px 16px; border-radius: 12px;
	font-family: var(--f-serif, Georgia, serif); font-size: 1.5rem;
	border: 1px solid var(--sg-line); background: var(--sg-surface); color: var(--sg-text);
	transition: border-color .2s, box-shadow .2s;
}
.sg-input.sg-input:focus { outline: 0; border-color: var(--sg-green); box-shadow: 0 0 0 3px rgba(15, 63, 68, .12); }
.sg-input.sg-input::placeholder { color: #a9a49b; }
.sg-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .76rem; color: var(--sg-muted); }
.sg-hint { margin: 8px 0 0; font-size: .8rem; color: var(--sg-muted); }

.sg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sg-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-opt { position: relative; display: block; cursor: pointer; min-width: 0; }
.sg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sg-opt-box {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%;
	padding: 12px 8px 10px; text-align: center; border-radius: 12px;
	border: 1px solid var(--sg-line); background: var(--sg-surface);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.sg-opt:hover .sg-opt-box { border-color: var(--sg-gold); }
.sg-opt input:checked + .sg-opt-box { background: #eef5f1; border-color: var(--sg-green); box-shadow: inset 0 0 0 1px var(--sg-green); }
.sg-opt input:focus-visible + .sg-opt-box { outline: 2px solid var(--sg-gold); outline-offset: 2px; }
.sg-opt-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-muted); line-height: 1.25; }
.sg-opt input:checked + .sg-opt-box .sg-opt-label { color: var(--sg-green); font-weight: 600; }

/* Stil slova: kartica ispisuje upisano ime u tom fontu */
.sg-opts--fonts .sg-opt-box { min-height: 92px; }
@font-face { font-family: "SG Norican"; font-display: block; src: url(fonts/norican-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Norican"; font-display: block; src: url(fonts/norican-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Yellowtail"; font-display: block; src: url(fonts/yellowtail-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Yellowtail"; font-display: block; src: url(fonts/yellowtail-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Damion"; font-display: block; src: url(fonts/damion-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Damion"; font-display: block; src: url(fonts/damion-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Pacifico"; font-display: block; src: url(fonts/pacifico-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Pacifico"; font-display: block; src: url(fonts/pacifico-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Pacifico"; font-display: block; src: url(fonts/pacifico-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Lobster"; font-display: block; src: url(fonts/lobster-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "SG Lobster"; font-display: block; src: url(fonts/lobster-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Lobster"; font-display: block; src: url(fonts/lobster-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Playball"; font-display: block; src: url(fonts/playball-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Playball"; font-display: block; src: url(fonts/playball-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Sacramento"; font-display: block; src: url(fonts/sacramento-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Sacramento"; font-display: block; src: url(fonts/sacramento-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Alex Brush"; font-display: block; src: url(fonts/alex-brush-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Alex Brush"; font-display: block; src: url(fonts/alex-brush-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Arizonia"; font-display: block; src: url(fonts/arizonia-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Arizonia"; font-display: block; src: url(fonts/arizonia-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SG Italianno"; font-display: block; src: url(fonts/italianno-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "SG Italianno"; font-display: block; src: url(fonts/italianno-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.sg-sample {
	display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	padding: 0 4px; font-size: var(--sg-sample, 1.9rem); line-height: 1.35; color: var(--sg-text);
}
.sg-opt--sedef_font-great-vibes .sg-sample { font-family: "SG Great Vibes", cursive; }
.sg-opt--sedef_font-allura .sg-sample { font-family: "SG Allura", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 1.08); }
.sg-opt--sedef_font-parisienne .sg-sample { font-family: "SG Parisienne", cursive; font-size: calc(var(--sg-sample, 1.9rem) * .9); }
.sg-opt--sedef_font-dancing-script .sg-sample { font-family: "SG Dancing Script", cursive; font-weight: 600; font-size: calc(var(--sg-sample, 1.9rem) * .9); }
/* Fontovi kao na alfa3djoias.com.br (2026-12-03); ćirilica pada na Great Vibes */
.sg-opt--sedef_font-norican .sg-sample { font-family: "SG Norican", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.82); }
.sg-opt--sedef_font-yellowtail .sg-sample { font-family: "SG Yellowtail", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.88); }
.sg-opt--sedef_font-damion .sg-sample { font-family: "SG Damion", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.86); }
.sg-opt--sedef_font-pacifico .sg-sample { font-family: "SG Pacifico", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.68); }
.sg-opt--sedef_font-lobster .sg-sample { font-family: "SG Lobster", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.8); }
.sg-opt--sedef_font-playball .sg-sample { font-family: "SG Playball", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.84); }
.sg-opt--sedef_font-sacramento .sg-sample { font-family: "SG Sacramento", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 1.12); }
.sg-opt--sedef_font-alex-brush .sg-sample { font-family: "SG Alex Brush", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 0.98); }
.sg-opt--sedef_font-arizonia .sg-sample { font-family: "SG Arizonia", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 1.0); }
.sg-opt--sedef_font-italianno .sg-sample { font-family: "SG Italianno", "SG Great Vibes", cursive; font-size: calc(var(--sg-sample, 1.9rem) * 1.18); }
.sg-opt--sedef_font-stampani .sg-sample { font-family: "SG Stampani", sans-serif; font-weight: 800; font-size: calc(var(--sg-sample, 1.9rem) * .78); }
.sg-opt--sedef_font-kurziv .sg-sample { font-family: "SG Kurziv", serif; font-size: calc(var(--sg-sample, 1.9rem) * .8); }

/* Model: fotografija nakita */
.sg-opts--modeli { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-opts--modeli .sg-opt-box { padding: 6px 6px 9px; gap: 4px; background: #fff; }
.sg-model-img { display: block; width: 100%; height: auto; aspect-ratio: 320 / 286; object-fit: cover; border-radius: 8px; }
.sg-field2 { margin-top: 14px; }
.sg-field2[hidden] { display: none; }

/* Lanac: sličica */
.sg-thumb { display: block; width: 100%; max-width: 120px; }
.sg-thumb svg { display: block; width: 100%; height: auto; }

/* Metal i podloga: kružić u boji */
.sg-swatch { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .15); }
.sg-opt--sedef_metal-srebro .sg-swatch { background: radial-gradient(circle at 35% 30%, #fff 0, #dfe2e5 30%, #9da3a9 75%, #7b8187 100%); }
.sg-opt--sedef_metal-zlato .sg-swatch { background: radial-gradient(circle at 35% 30%, #fff6d8 0, #f0d58f 30%, #c99d45 75%, #9c7530 100%); }
.sg-opt--sedef_metal-roze .sg-swatch { background: radial-gradient(circle at 35% 30%, #fff0ea 0, #f1c7b8 30%, #cc8f7c 75%, #a56c5c 100%); }
.sg-opt--sg_podloga-postolje .sg-swatch { background: #2a8a70; }
.sg-opt--sg_podloga-kadifa .sg-swatch { background: radial-gradient(circle at 35% 30%, #2a7a5d, #17543f 60%, #0e3a2b); }
.sg-opt--sg_podloga-saten .sg-swatch { background: linear-gradient(135deg, #fbf6ee, #efe6d6 50%, #ddd0ba); }

.sg-price { margin: 4px 0 0; font-size: 1.25rem; text-align: center; }
.sg-order, .sg-download { width: 100%; }
.sg-download { border-radius: 999px; }
@media (max-width: 380px) {
	.sg-step { padding: 16px 12px 18px; }
	.sg-opt-label { font-size: .62rem; letter-spacing: .06em; }
}

/* ---------- 3D prikaz ---------- */
.sg-canvas { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; background: #F4F8F8; cursor: zoom-in; }
.sg.is-3d .sg-svg { display: none; }
.sg-3d-btn {
	position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 14px; border: 0; border-radius: 22px; background: rgba(10, 46, 50, .8); color: #FFFFFF;
	font: inherit; font-size: .78rem; letter-spacing: .06em; cursor: pointer;
}
.sg-3d-btn:hover { background: rgba(10, 46, 50, .95); }
.sg-3d-btn:focus-visible { outline: 2px solid var(--sg-gold); outline-offset: 2px; }
.sg:not(.is-3d) .sg-3d-btn { display: none; }

/* Prikaz preko celog ekrana (okretanje prstom, uvećanje) */
html.sg-no-scroll, html.sg-no-scroll body { overflow: hidden; }
.sg-full { position: fixed; inset: 0; z-index: 100000; background: #0b2a20; }
.sg-full .sg-canvas { width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; cursor: grab; }
.sg-full .sg-canvas:active { cursor: grabbing; }
.sg-full-close {
	position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 46px; height: 46px;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #133A3E; font-size: 28px; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.sg-full-close:focus-visible { outline: 2px solid #6FBFB9; outline-offset: 3px; }
.sg-full-hint {
	position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0;
	padding: 7px 14px; border-radius: 20px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .78rem; white-space: nowrap;
	pointer-events: none; animation: sg-hint 5s 2s forwards;
}
@keyframes sg-hint { to { opacity: 0; } }

/* ---------- Demo stranica za klijenta (templates/demo.php) ---------- */
.sg-demo-body { --header-h: 84px; margin: 0; background: var(--c-bg, #FFFFFF); color: var(--c-text, #133A3E); }
.sg-demo-head {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	display: flex; align-items: center; justify-content: center;
	background: var(--c-green, #0F3F44); box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.sg-demo-head img { display: block; height: 60px; width: auto; }
.sg-demo-main { padding: 28px 16px 48px; }
.sg-demo-title { text-align: center; font-size: clamp(2rem, 7vw, 3rem); margin: 0 0 .25em; }
.sg-demo-lead { text-align: center; color: var(--c-muted, #5E6E70); max-width: 46ch; margin: 0 auto 26px; }
.sg-demo-foot { text-align: center; padding: 22px 16px 30px; font-size: .8rem; letter-spacing: .08em; color: rgba(246, 241, 233, .75); background: var(--c-green-2, #0A2C21); }
@media (min-width: 960px) {
	.sg-demo-body { --header-h: 100px; }
	.sg-demo-head img { height: 74px; }
	.sg-demo-main { padding-top: 44px; }
}
.admin-bar .sg-demo-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .sg-demo-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sg-demo-head { top: 0; } }

/* ---------- Modeli „na upit": fotografija + lista imena + kontakt ---------- */
.sg-photo, .sg-photo-tag { display: none; }
.sg.is-upit .sg-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; background: #fff; }
.sg.is-upit .sg-photo-tag {
	display: block; position: absolute; left: 12px; top: 12px; margin: 0; padding: 7px 12px; border-radius: 20px;
	background: rgba(10, 46, 50, .82); color: #FFFFFF; font-size: .74rem; letter-spacing: .04em;
}
.sg.is-upit .sg-canvas, .sg.is-upit .sg-svg, .sg.is-upit .sg-3d-btn { display: none !important; } /* three.js stavlja display:block na canvas */
.sg:not(.is-upit) .sg-upit-only, .sg.is-upit .sg-live-only { display: none; }
.sg-names { display: grid; gap: 8px; }
.sg-name-row { display: flex; gap: 8px; align-items: center; }
.sg-name-row .sg-input.sg-input { padding-right: 16px; min-height: 52px; font-size: 1.3rem; }
.sg-name-del {
	flex: none; width: 40px; height: 40px; border: 1px solid var(--sg-line); border-radius: 50%;
	background: var(--sg-surface); color: var(--sg-muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.sg-name-del:hover { border-color: var(--sg-gold); color: var(--sg-text); }
.sg-name-del[hidden] { display: none; }
.sg-add-name {
	margin-top: 10px; padding: 10px 16px; border: 1px dashed var(--sg-gold); border-radius: 12px;
	background: transparent; color: var(--sg-green); font: inherit; font-size: .9rem; cursor: pointer; width: 100%;
}
.sg-add-name:hover { background: #EEF7F6; }
.sg-contact { display: grid; gap: 4px; }
.sg-contact .sg-label { margin: 10px 0 4px; }
.sg-contact .sg-label:first-child { margin-top: 0; }
.sg-contact .sg-label small { text-transform: none; letter-spacing: 0; }
.sg-input.sg-input--sm { min-height: 48px; padding: 10px 14px; font-family: inherit; font-size: 1rem; }
.sg-textarea { resize: vertical; min-height: 84px; }
.sg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sg-send { width: 100%; margin-top: 16px; }
.sg-send-msg { margin: 10px 0 0; font-size: .9rem; }
.sg-send-msg:empty { display: none; }
.sg-send-msg.is-ok { color: var(--sg-green); }
.sg-send-msg.is-err { color: #a2382b; }
@media (max-width: 959px) {
	/* Kod upita se kucaju kontakt podaci — fotografija ne treba da stoji zalepljena preko forme. */
	.sg.is-upit .sg-stage { position: relative; top: auto; box-shadow: none; }
	.sg-opts--modeli .sg-opt-label { font-size: .6rem; letter-spacing: .04em; }
}

/* Ukras uz ime */
.sg-ukrasi { margin-top: 16px; }
.sg-ukrasi[hidden] { display: none; }
.sg-opts--ukrasi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sg-opts--ukrasi .sg-opt-box { padding: 8px 4px 7px; gap: 3px; }
.sg-ukras-ico svg { display: block; width: 40px; height: 30px; }
.sg-opts--ukrasi .sg-opt-label { font-size: .6rem; letter-spacing: .05em; }

/* ---------- Gravura na fotografiji (modeli 'foto') ---------- */
.sg-foto { display: none; }
.sg.is-foto .sg-foto { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; background: #fff; }
.sg.is-foto .sg-canvas, .sg.is-foto .sg-svg, .sg.is-foto .sg-3d-btn { display: none !important; }
.sg:not(.is-foto) .sg-foto-only, .sg.is-foto .sg-live-only { display: none; }
.sg-polja { display: grid; gap: 4px; }
.sg-polja .sg-label { margin: 10px 0 4px; }
.sg-polja .sg-label:first-child { margin-top: 0; }
.sg-input.sg-input--polje { min-height: 50px; font-size: 1.25rem; padding-right: 16px; }

/* ---------- Više imena na lancu (model 'vise') + zajednička lista imena ---------- */
.sg-names-block, .sg-vise-only { display: none; }
.sg.is-upit .sg-names-block, .sg.is-vise .sg-names-block { display: block; }
.sg.is-vise .sg-vise-only { display: block; }
.sg.is-vise .sg-names-block .sg-upit-only { display: none; }
.sg.is-vise .sg-single-only { display: none; }
.sg-add-name[disabled] { opacity: .45; cursor: not-allowed; }

/* Grupe modela, uputstvo i otpremanje slike (upit) */
.sg-model-grupa { margin: 14px 0 8px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-dark, #24766F); font-weight: 600; }
.sg-model-grupa:first-of-type { margin-top: 0; }
.sg-uputstvo { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--sg-gold); background: #EEF7F6; font-size: .88rem; color: var(--sg-text); }
.sg-uputstvo:empty { display: none; }
.sg-upload { margin-bottom: 14px; }
.sg-upload[hidden] { display: none; }
.sg-file { display: block; width: 100%; padding: 10px; border: 1px dashed var(--sg-gold); border-radius: 12px; background: var(--sg-surface); font: inherit; font-size: .88rem; }

/* =========================================================================
 * Vodič (od 2026-11-25): prvo galerija modela, pa pitanja jedno po jedno.
 * Nežna „srebrna" paleta: skoro bela podloga, tanke sive linije, smaragd samo za glavno dugme.
 * ======================================================================= */
.sg.is-wiz {
	--sg-text: #2B2D2F;
	--sg-muted: #6A6C6E;
	--sg-line: #E2E2DE;
	--sg-surface: #FFFFFF;
	--sg-soft: #F7F7F5;
	color: var(--sg-text);
}
.sg.is-wiz .sg-svg, .sg.is-wiz .sg-canvas { background: #F7F7F5; }
.sg.is-wiz .sg-step-num { display: none; }

/* ---------- Galerija ---------- */
.sg.is-galerija { grid-template-columns: minmax(0, 1fr); }
.sg.is-galerija .sg-stage,
.sg.is-galerija .sg-panel > :not(.sg-step--model) { display: none !important; }
.sg:not(.is-galerija) .sg-step--model { display: none; }
.sg-gal-head { display: none; }
.sg.is-galerija .sg-gal-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin: 0 0 34px; }
.sg-gal-eyebrow { margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sg-muted); }
.sg-gal-title { margin: 0; font-family: var(--f-serif, Georgia, serif); font-weight: 400; font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; color: #1F2123; }
.sg-gal-lead { margin: 0; max-width: 34em; font-size: 1.02rem; line-height: 1.6; color: var(--sg-muted); }
.sg-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.sg-chip {
	min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #D6D6D2; background: #fff;
	color: var(--sg-text); font: inherit; font-size: .9rem; letter-spacing: .02em; cursor: pointer; transition: border-color .2s, background .2s;
}
.sg-chip:hover { border-color: #9EA1A4; }
.sg-chip.is-on { background: var(--sg-green); border-color: var(--sg-green); color: #fff; }
.sg-chip:focus-visible { outline: 2px solid var(--sg-gold); outline-offset: 2px; }
.sg.is-galerija .sg-step--model { padding: 0; background: none; border: 0; box-shadow: none; }
.sg.is-galerija .sg-model-grupa { margin: 30px 0 14px; text-align: center; font-weight: 500; color: var(--sg-muted); letter-spacing: .2em; }
.sg.is-galerija .sg-model-grupa:first-of-type { margin-top: 0; }
.sg.is-galerija .sg-opts--modeli { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 700px) { .sg.is-galerija .sg-opts--modeli { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sg.is-galerija .sg-opts--modeli { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; } }
.sg-step--model [data-grupa][hidden] { display: none !important; }
.sg.is-wiz.is-galerija .sg-opts--modeli .sg-opt-box,
.sg.is-wiz.is-galerija .sg-opt input:checked + .sg-opt-box { padding: 0; gap: 10px; background: none; border: 0; box-shadow: none; border-radius: 0; }
.sg.is-galerija .sg-model-img {
	aspect-ratio: 320 / 286; object-fit: contain; border-radius: 4px; border: 1px solid #ECECE8; background: #fff;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.sg.is-galerija .sg-opt:hover .sg-model-img { border-color: #C9CBCD; box-shadow: 0 10px 26px -16px rgba(30, 32, 34, .45); transform: translateY(-2px); }
.sg.is-galerija .sg-opt input:focus-visible + .sg-opt-box .sg-model-img { outline: 2px solid var(--sg-gold); outline-offset: 3px; }
.sg.is-galerija .sg-opts--modeli .sg-opt-label,
.sg.is-galerija .sg-opt input:checked + .sg-opt-box .sg-opt-label {
	font-family: var(--f-serif, Georgia, serif); font-size: 1.18rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #1F2123;
}
@media (max-width: 959px) { .sg.is-galerija .sg-opts--modeli .sg-opt-label { font-size: 1.05rem; } }

/* ---------- Podešavanje izabranog modela ---------- */
.sg-wiz-top { display: grid; gap: 14px; }
.sg-back-gal {
	justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
	border: 0; background: none; color: var(--sg-text); font: inherit; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.sg-back-gal:hover { color: var(--sg-green); }
.sg-wiz-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sg-wiz-model { margin: 0; font-family: var(--f-serif, Georgia, serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.05; color: #1F2123; }
.sg-wiz-title .sg-price { margin: 0; font-size: 1.15rem; text-align: left; }
.sg-progress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.sg-progress button {
	display: grid; gap: 3px; width: 100%; min-height: 50px; padding: 0; border: 0; background: none; text-align: left;
	font: inherit; color: var(--sg-muted); cursor: pointer;
}
.sg-progress-bar { display: block; height: 3px; margin-bottom: 6px; border-radius: 2px; background: #E2E2DE; }
.sg-progress-item.is-done .sg-progress-bar, .sg-progress-item.is-cur .sg-progress-bar { background: var(--sg-green); }
.sg-progress-num { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.sg-progress-val { font-size: .86rem; color: var(--sg-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-progress-item.is-cur .sg-progress-num { color: var(--sg-green); font-weight: 600; }
.sg-progress-item.is-cur .sg-progress-val { color: var(--sg-muted); font-style: italic; }
.sg-progress button:hover .sg-progress-num { color: var(--sg-text); }
.sg-progress button:focus-visible { outline: 2px solid var(--sg-gold); outline-offset: 2px; }

/* Samo trenutni korak; bez kartice — mirno, puno vazduha */
.sg.is-wiz .sg-step[data-sg-korak]:not(.is-cur):not(.sg-step--model) { display: none; }
.sg.is-wiz:not(.is-galerija) .sg-step { padding: 6px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.sg.is-wiz .sg-step-head { margin-bottom: 18px; }
.sg.is-wiz .sg-step-title { font-size: 1.75rem; font-weight: 400; color: #1F2123; }
.sg.is-wiz .sg-input.sg-input { border-radius: 2px; border-color: #CFCFCB; background: #fff; }
.sg.is-wiz .sg-input.sg-input:focus { border-color: var(--sg-text); box-shadow: 0 0 0 3px rgba(43, 45, 47, .08); }
.sg.is-wiz .sg-opt-box { border-radius: 2px; border-color: #E2E2DE; background: #fff; }
.sg.is-wiz .sg-opt:hover .sg-opt-box { border-color: #A9ACAF; }
.sg.is-wiz .sg-opt input:checked + .sg-opt-box { background: #fff; border-color: var(--sg-green); box-shadow: inset 0 0 0 1px var(--sg-green); }
.sg.is-wiz .sg-opts--fonts .sg-opt-box { min-height: 96px; }
.sg.is-wiz .sg-add-name, .sg.is-wiz .sg-file { border-radius: 2px; border-color: #B9BCBF; }
.sg.is-wiz .sg-add-name { color: var(--sg-text); }
.sg.is-wiz .sg-uputstvo { background: var(--sg-soft); border-left-color: #B9BCBF; }

/* Traka sa dugmadima: Nazad · Dalje (ili Dodaj u korpu na poslednjem koraku) */
.sg-wiz-nav { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
.sg-prev {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; padding: 0 20px;
	border: 1px solid #CFCFCB; border-radius: 2px; background: #fff; color: var(--sg-text); font: inherit; font-size: .9rem; cursor: pointer;
}
.sg-prev:hover { border-color: var(--sg-text); }
/* Prvi korak: levo dugme = „Svi modeli" (tekst vidljiv i na telefonu) */
.sg.is-first .sg-prev span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.sg.is-first .sg-prev { white-space: nowrap; }
.sg-wiz-nav .button { flex: 1; min-height: 54px; margin: 0; border-radius: 2px; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.sg.is-last:not(.has-proxy) .sg-next { display: none; }
.sg.is-wiz .sg-send, .sg.has-proxy .sg-download { display: none; }
.sg.is-wiz:not(.is-last) .sg-order,
.sg.is-wiz:not(.is-last) .sg-download { display: none; }
.sg.is-wiz .sg-send { border-radius: 2px; min-height: 54px; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.sg.is-wiz .sg-download { border-radius: 2px; }

@media (max-width: 959px) {
	.sg.is-wiz .sg-stage { background: #F8F8F6; }
	/* Dugmad stoje na dnu ekrana dok se kuca */
	.sg-wiz-nav {
		position: sticky; bottom: 0; z-index: 15; margin: 8px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff; border-top: 1px solid #E2E2DE;
	}
	.sg-prev span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sg-prev { padding: 0 16px; }
	.sg.is-wiz .sg-step-title { font-size: 1.5rem; }
	.sg-progress-val { font-size: .78rem; }
}

/* Demo stranica: bela traka sa tamnim logom, svetla podloga */
.sg-demo-body { background: #F8F8F6; }
.sg-demo-head { background: #fff; box-shadow: none; border-bottom: 1px solid #E4E4E0; }
.sg-demo-foot { background: #fff; color: #6A6C6E; border-top: 1px solid #E4E4E0; }
.sg-demo-body { display: flex; flex-direction: column; min-height: 100vh; }
.sg-demo-main { flex: 1 0 auto; }

/* Galerija: jedna mreža, ispod naziva vrsta modela */
.sg-opt-kind { display: none; }
.sg.is-galerija .sg-opt-kind { display: block; margin-top: -6px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-muted); }
.sg.is-galerija .sg-model-img { image-rendering: auto; }

/* Posebno dugme za 3D modele (Ime, Više imena, Dva srca, Pločica) */
.sg-chip--3d { display: inline-flex; align-items: center; gap: 8px; border-color: var(--sg-gold); color: var(--sg-text); }
.sg-chip--3d:hover { border-color: #24766F; }
.sg-chip--3d.is-on { background: #2B2D2F; border-color: #2B2D2F; color: #fff; }

/* Boja metala i na fotografiji modela na upit */
.sg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sg-photo-tint { display: none; }
.sg.is-upit[data-metal="zlato"] .sg-photo, .sg.is-upit[data-metal="roze"] .sg-photo { display: none; }
.sg.is-upit[data-metal="zlato"] .sg-photo-tint, .sg.is-upit[data-metal="roze"] .sg-photo-tint { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; background: #fff; }

/* Bez natpisa — samo privezak */
.sg-bez { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 14px; padding: 8px 12px; border: 1px solid #E2E2DE; border-radius: 2px; background: #fff; font-size: .95rem; cursor: pointer; }
.sg-bez[hidden] { display: none; }
.sg-bez input { width: 18px; height: 18px; accent-color: var(--sg-green); }
.sg.is-bez [data-sg-names], .sg.is-bez [data-sg-add], .sg.is-bez .sg-names-label, .sg.is-bez .sg-names-hint,
.sg.is-bez .sg-foto-only, .sg.is-bez .sg-single-only { display: none !important; }
.sg-add-name[hidden] { display: none; }

/* Dugme „Pošaljite svoj crtež" */
.sg-chip--crtez { display: inline-flex; align-items: center; gap: 8px; border-color: var(--sg-gold); }
.sg-chip--crtez:hover { border-color: #24766F; background: #F3F9F8; }

/* „Vaš crtež" se otvara samo dugmetom gore, nema karticu u mreži */
.sg-opt--samo-dugme { display: none !important; }

/* Metal: uvek ispod slike, ne kao korak */
.sg.is-wiz .sg-step--metal { display: none !important; }
.sg-metal-bar { display: flex; justify-content: center; gap: 8px; margin: 12px 0 0; flex-wrap: wrap; }
.sg-metal-pick {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px;
	border: 1px solid #E2E2DE; border-radius: 999px; background: #fff; color: var(--sg-text, #2B2D2F);
	font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .2s;
}
.sg-metal-pick .sg-swatch { width: 26px; height: 26px; }
.sg-metal-pick:hover { border-color: #A9ACAF; }
.sg-metal-pick.is-on { border-color: var(--sg-green, #0F3F44); box-shadow: inset 0 0 0 1px var(--sg-green, #0F3F44); font-weight: 500; }
.sg-metal-pick:focus-visible { outline: 2px solid var(--sg-gold, #6FBFB9); outline-offset: 2px; }
@media (max-width: 959px) {
	.sg-metal-bar { margin-top: 8px; gap: 6px; }
	.sg-metal-pick { min-height: 40px; padding: 0 12px 0 6px; font-size: .8rem; }
	.sg-metal-pick .sg-swatch { width: 22px; height: 22px; }
}

/* ---------- Sve na jednoj strani (2026-11-26): 1 Boja · 2 Ime/gravura · 3 Stil slova · 4 Porudžbina ---------- */
.sg.is-wiz .sg-progress, .sg.is-wiz .sg-prev, .sg.is-wiz .sg-metal-bar { display: none !important; }
.sg.is-wiz .sg-step--metal.is-cur { display: block !important; }
.sg.is-wiz .sg-step-num { display: grid; background: var(--sg-green, #0F3F44); }
.sg.is-wiz:not(.is-galerija) .sg-step.is-cur { padding: 22px 0 4px; border-top: 1px solid #E6E6E2; }
.sg.is-wiz:not(.is-galerija) .sg-step.is-cur:first-of-type, .sg.is-wiz:not(.is-galerija) .sg-step--metal.is-cur { border-top: 0; padding-top: 6px; }
.sg.is-wiz .sg-step-title { font-size: 1.35rem; }
.sg.is-wiz .sg-step--metal .sg-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg.is-wiz .sg-step--metal .sg-hint { display: none; }
.sg.is-wiz .sg-step[data-sg-korak="podaci"] .sg-contact { display: grid; gap: 6px; }
@media (max-width: 959px) {
	.sg.is-wiz .sg-step-title { font-size: 1.25rem; }
}

/* ---------- Telefon, podešavanje modela (2026-11-28, klijent): mali logo koji odlazi pri skrolu,
   prikaz nakita fiksiran gore na ~35% ekrana dok se dole kuca i bira ---------- */
@media (max-width: 959px) {
	html.sg-konf .sg-demo-body { --header-h: 0px; }
	html.sg-konf .sg-demo-head { position: static; height: 50px; }
	html.sg-konf .sg-demo-head img { height: 32px; }
	html.sg-konf .sg-demo-main { padding-top: 0; }
	html.sg-konf .sg-stage { top: 0; padding-top: 4px; padding-bottom: 4px; }
	/* Pravi sajt (demo isključen): header teme ne sme da bude zalepljen iznad prikaza — inače prekriva vrh slike. */
	html.sg-konf .site-header { position: relative; top: auto; }
	html.sg-konf .sg-stage :is(.sg-canvas, .sg-svg, .sg-photo, .sg-foto, .sg-photo-tint) {
		width: min(100%, 43.75vh); width: min(100%, 43.75svh); margin-inline: auto;
	}
	html.sg-konf .sg-photo-tag { margin-top: 2px; font-size: .72rem; }
	html.sg-konf .sg-3d-btn { transform: scale(.85); transform-origin: top right; }
}
/* Uplata na račun posle slanja porudžbine */
.sg-uplata { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--sg-green, #0F3F44); background: #fff; display: grid; gap: 6px; }
.sg-uplata h4 { margin: 0 0 4px; font-family: var(--f-serif, Georgia, serif); font-size: 1.1rem; font-weight: 600; }
.sg-uplata p { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.sg-uplata p span { color: var(--sg-muted, #6b6f72); }
.sg-uplata p strong { font-variant-numeric: tabular-nums; text-align: right; user-select: all; }
.sg-uplata .sg-uplata-note { display: block; margin-top: 4px; font-size: .82rem; color: var(--sg-muted, #6b6f72); }

/* ---------- Povezani modeli (ispod podešavanja) ---------- */
.sg-related { margin: 48px 0 0; }
.sg-related[hidden] { display: none; }
.sg-related-title { text-align: center; font-family: var(--f-serif, Georgia, serif); font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--c-green, #0F3F44); margin: 0 0 20px; }
.sg-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 768px) { .sg-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.sg-related-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--c-text, #133A3E); }
.sg-related-img { display: block; aspect-ratio: 800 / 715; overflow: hidden; border-radius: 12px; background: #F4F8F8; }
.sg-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sg-related-card:hover img { transform: scale(1.04); }
.sg-related-name { font-weight: 500; margin-top: 6px; }
.sg-related-kind { font-size: .75rem; color: var(--c-muted, #5E6E70); }

/* ---------- 3D kao alfa3djoias.com.br (2026-12-03): tamna studijska podloga, okretanje prevlačenjem, pogledi ---------- */
.sg-canvas { background: #0b2a2e; cursor: grab; }
.sg-canvas:active { cursor: grabbing; }
.sg-full { background: #0b2a2e; }
.sg-3d-bar {
	position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.sg-3d-bar button {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 0 11px;
	border: 1px solid rgba(111, 191, 185, .45); border-radius: 4px; background: rgba(6, 25, 28, .55); color: rgba(255, 255, 255, .85);
	font: inherit; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s;
}
.sg-3d-bar button:hover { border-color: #6FBFB9; color: #fff; }
.sg-3d-bar button[aria-pressed="true"] { border-color: #6FBFB9; background: rgba(111, 191, 185, .22); color: #fff; }
.sg-3d-bar .sg-3d-spin { margin-top: 4px; }
.sg-3d-btn { background: rgba(6, 25, 28, .55); border: 1px solid rgba(111, 191, 185, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sg-3d-hint {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 20px;
	background: rgba(6, 25, 28, .5); color: rgba(255, 255, 255, .8); font-size: .7rem; letter-spacing: .06em; white-space: nowrap;
	pointer-events: none; transition: opacity .5s;
}
.sg-stage.sg-touched .sg-3d-hint { opacity: 0; }
@media (min-width: 960px) { .sg-3d-hint { top: 16px; bottom: auto; } } /* ispod slike je napomena */
.sg:not(.is-3d) .sg-3d-bar, .sg:not(.is-3d) .sg-3d-hint, .sg.is-upit .sg-3d-bar, .sg.is-upit .sg-3d-hint, .sg.is-foto .sg-3d-bar, .sg.is-foto .sg-3d-hint { display: none; }
@media (max-width: 959px) {
	.sg-3d-bar { flex-direction: row; flex-wrap: wrap; left: 24px; right: 64px; top: 8px; gap: 5px; }
	.sg-3d-bar button { min-height: 28px; padding: 0 9px; font-size: .6rem; letter-spacing: .08em; }
	.sg-3d-bar .sg-3d-spin { margin-top: 0; }
	.sg-3d-btn span { display: none; }
	.sg-3d-btn { padding: 8px; right: 24px; top: 8px; }
	.sg-3d-hint { bottom: 16px; font-size: .64rem; }
}

/* Stil slova: 14 rukopisnih + Štampani i Kurziv → zbijena mreža (3 kolone, na računaru 4) */
.sg-opts--fonts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sg-opts--fonts .sg-opt-box, .sg.is-wiz .sg-opts--fonts .sg-opt-box { min-height: 70px; padding: 8px 4px 7px; gap: 2px; }
.sg-opts--fonts .sg-opt-label { font-size: .58rem; letter-spacing: .04em; text-transform: none; }
@media (min-width: 1200px) { .sg-opts--fonts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Podloga ispod nakita (2026-12-03): kružići boja + „Na vratu" (fotografija) ---------- */
.sg-bg-bar {
	position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 6px;
	padding: 5px 6px; border-radius: 30px; background: rgba(6, 25, 28, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sg-bg-dot {
	width: 24px; height: 24px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 2px solid rgba(255, 255, 255, .55); background: radial-gradient(circle at 40% 35%, var(--c), var(--e));
	transition: transform .2s, border-color .2s;
}
.sg-bg-dot:hover { transform: scale(1.1); }
.sg-bg-dot[aria-pressed="true"] { border-color: #6FBFB9; box-shadow: 0 0 0 2px rgba(111, 191, 185, .5); }
.sg-bg-vrat {
	display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 2px; border-radius: 20px; cursor: pointer;
	border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); color: #fff;
	font: inherit; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.sg-bg-vrat img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.sg-bg-vrat[aria-pressed="true"] { border-color: #6FBFB9; background: rgba(111, 191, 185, .3); }
.sg-bg-loading .sg-bg-vrat { opacity: .6; cursor: progress; }
.sg:not(.is-3d) .sg-bg-bar, .sg.is-upit .sg-bg-bar, .sg.is-foto .sg-bg-bar { display: none; }
.sg-full .sg-bg-bar { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
/* Na vratu: pogledi se ne koriste (klik vraća na tirkiznu), uputstvo za okretanje skriveno */
.sg-stage.sg-na-vratu .sg-3d-hint { display: none; }
@media (min-width: 960px) { .sg-bg-bar { bottom: auto; top: 56px; } } /* ispod slike je napomena */
@media (max-width: 959px) {
	.sg-bg-bar { right: 22px; bottom: 10px; gap: 5px; padding: 4px 5px; }
	.sg-bg-dot { width: 22px; height: 22px; }
	.sg-3d-hint { left: 50%; transform: translateX(-50%); bottom: 48px; }
}
.sg-full.sg-na-vratu .sg-full-hint { display: none; }

/* „Kako izgleda“ — dodatne fotografije modela (2026-12-05) */
.sg.is-galerija .sg-kako { display: none; }
.sg-kako { margin: 4px 0 6px; }
.sg-kako-naslov { margin: 0 0 8px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-accent, #24766F); }
.sg-kako-slike { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.sg-kako-slike::-webkit-scrollbar { display: none; }
.sg-kako-btn { position: relative; flex: 0 0 auto; width: 96px; aspect-ratio: 1; padding: 0; border: 1px solid rgba(15, 63, 68, .14); border-radius: 10px; overflow: hidden; background: #f4f6f6; cursor: zoom-in; transition: border-color .2s, transform .2s; }
.sg-kako-btn:hover { border-color: var(--c-tiffany, #6FBFB9); transform: translateY(-2px); }
.sg .sg-kako-btn img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; margin: 0; }
.sg-kako-zoom { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(6, 25, 28, .9); cursor: zoom-out; }
.sg-kako-zoom img { max-width: min(100%, 900px); max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.sg-kako-zoom button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (min-width: 960px) { .sg-kako-btn { width: 110px; } }
