/* ==========================================================================
   DRESSCODE Virtual Cabin
   ========================================================================== */

.gvc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #fff;
	display: flex;
	flex-direction: column;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #171717;
	overflow-y: auto;
	animation: gvc-fade-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gvc-modal[hidden] { display: none; }
.gvc-modal.is-closing { animation: gvc-fade-out 0.22s ease both; }

.gvc-modal *,
.gvc-modal *::before,
.gvc-modal *::after { box-sizing: border-box; }

.gvc-backdrop { display: none; }

.gvc-shell {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: transparent;
	animation: gvc-slide-up 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gvc-modal.is-closing .gvc-shell { animation: gvc-slide-down 0.22s ease both; }

.gvc-close {
	position: absolute;
	top: 28px;
	right: 32px;
	z-index: 5;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #171717;
	cursor: pointer;
	padding: 0;
	border-radius: 50%;
	transition: background-color 0.15s ease;
}

.gvc-modal button.gvc-close,
.gvc-modal button.gvc-close:hover,
.gvc-modal button.gvc-close:focus,
.gvc-modal button.gvc-close:focus-visible {
	min-width: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #171717 !important;
	outline: none !important;
}

.gvc-close svg {
	display: block;
	width: 13px;
	height: 13px;
}

.gvc-close:hover,
.gvc-close:focus-visible {
	background: transparent;
	outline: none;
}

.gvc-content {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* ---------- Heading (zajednički blok: ikona + title + subtitle) ---------- */

.gvc-heading {
	display: flex;
	align-items: center;
	gap: 14px;
}

.gvc-heading__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gvc-icon-header {
	width: 35px;
	height: 30px;
	object-fit: contain;
	display: block;
}

.gvc-heading__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.gvc-heading__title {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	color: #171717;
}

.gvc-heading__subtitle {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 19.5px;
	letter-spacing: -0.21px;
	color: #555;
}

/* ---------- Dugme (force override teme) ---------------------------------- */

.gvc-modal a.gvc-btn,
.gvc-modal button.gvc-btn,
.gvc-modal .gvc-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 200px !important;
	height: 44px !important;
	padding: 0 28px !important;
	background: #1A1A1A !important;
	background-color: #1A1A1A !important;
	color: #fff !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 19.5px !important;
	letter-spacing: -0.08px !important;
	text-decoration: none !important;
	border: 0 !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	box-shadow: none !important;
	outline: none !important;
	transition: background-color 0.15s ease !important;
}

.gvc-modal a.gvc-btn:hover,
.gvc-modal a.gvc-btn:focus-visible,
.gvc-modal button.gvc-btn:hover,
.gvc-modal button.gvc-btn:focus-visible {
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
	border: 0 !important;
	outline: none !important;
}

/* ==========================================================================
   AUTH STEP - bijela pozadina, header gore + 915x300 kartica
   ========================================================================== */

.gvc-modal--auth {
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
	background: #fff;
	overflow: auto;
}

.gvc-modal--auth .gvc-shell {
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 64px 0;
	background: #fff;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gvc-modal--auth .gvc-content {
	flex: 0 0 auto;
	width: min(915px, calc(100% - 56px));
	max-width: none;
	margin: 0 auto;
}

.gvc-auth {
	width: 100%;
}

.gvc-modal--auth .gvc-close {
	top: 64px;
	right: 64px;
	width: 36px;
	height: 36px;
}

.gvc-modal--auth .gvc-close svg {
	width: 16px;
	height: 16px;
}

.gvc-auth__header {
	padding: 0 0 12px 0;
	border-bottom: 1px solid #ECECEC;
	margin-bottom: 10px;
}

.gvc-auth__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: 0;
}

.gvc-card {
	width: 100%;
	max-width: 100%;
	height: 300px;
	background: #F4F4F4;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	text-align: center;
	padding: 32px;
}

.gvc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gvc-card__icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 100px;
	background: #00000014;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Upload kamera = Container-51.png (cijeli sivi kvadrat + glif, kao mockup). */
.gvc-card__cam {
	width: 72px;
	height: 72px;
	display: block;
	object-fit: contain;
}

.gvc-icon-camera {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.gvc-card__body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.29px;
	color: #888888;
	text-align: center;
	max-width: 520px;
}

.gvc-note {
	width: 100%;
	max-width: 100%;
	margin: 36px 0 0 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0;
	color: #171717;
	text-align: left;
}

.gvc-note__label  { font-weight: 700; color: #171717; }
.gvc-note__text   { font-weight: 300; color: #171717; }
.gvc-note__target { font-weight: 700; color: #171717; }

/* ==========================================================================
   PREVIEW STEP - fullscreen cream panel with centered content
   ========================================================================== */

.gvc-modal--preview {
	align-items: stretch;
	justify-content: stretch;
	overflow: hidden;
	padding: 0;
	background: #fff;
}

.gvc-modal--preview .gvc-shell {
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	padding: 16px 20px;
	background: #fff;
	border-radius: 0;
	overflow: hidden;
}

.gvc-modal--preview .gvc-content {
	width: 100%;
	height: 100%;
	max-width: none;
	min-height: 0;
	background: #F0F0F0;
	border-radius: 8px;
	display: flex;
	align-items: safe center;
	justify-content: center;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 24px 16px;
}

.gvc-modal--preview .gvc-close {
	top: 64px;
	right: 60px;
	width: 48px;
	height: 48px;
}

.gvc-modal--preview .gvc-close svg {
	width: 24px;
	height: 24px;
}

.gvc-preview {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: 360px 422px;
	grid-template-areas:
		"left right"
		"foot right";
	grid-template-rows: auto 1fr;
	align-items: start;
	justify-content: center;
	column-gap: 56px;
	row-gap: 22px;
	width: min(100%, 900px);
	height: auto;
	margin: 0;
	min-height: 0;
	padding: 0;
}

.gvc-preview__left { grid-area: left; }
.gvc-preview__right { grid-area: right; }
.gvc-preview__foot {
	grid-area: foot;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}

.gvc-preview__left {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0;
	height: 602px;
	padding-top: 276px;
	min-width: 0;
}

.gvc-preview__top {
	max-width: 360px;
}

.gvc-preview__bottom {
	display: flex;
	margin-top: auto;
}

.gvc-preview__right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 13px;
	height: auto;
	min-width: 0;
}

.gvc-preview__photo {
	width: 422px;
	max-width: 100%;
	height: 602px;
	background: #D9D9D9;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gvc-preview__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gvc-preview__photo-icon {
	width: 52px;
	height: 52px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gvc-preview__photo-icon .gvc-icon-camera {
	width: 24px;
	height: 24px;
}

.gvc-preview__caption {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 19.5px;
	letter-spacing: -0.21px;
	color: #171717;
	text-align: center;
}

/* ==========================================================================
   Body lock + animacije
   ========================================================================== */

html.gvc-modal-open, body.gvc-modal-open { overflow: hidden !important; overscroll-behavior: contain; }

@keyframes gvc-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes gvc-fade-out  { from { opacity: 1; } to { opacity: 0; } }
@keyframes gvc-slide-up  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gvc-slide-down{ from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px); } }

.gvc-modal .gvc-auth,
.gvc-modal .gvc-preview {
	animation: gvc-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: 0.12s;
}

.gvc-modal.is-closing .gvc-auth,
.gvc-modal.is-closing .gvc-preview { animation: none; }

@keyframes gvc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.gvc-modal,
	.gvc-modal .gvc-shell,
	.gvc-modal .gvc-auth,
	.gvc-modal .gvc-preview {
		animation: none !important;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
	.gvc-close {
		top: 18px;
		right: 18px;
	}

	.gvc-modal--preview {
		padding: 0;
		background: #F0F0F0;
	}

	.gvc-modal--preview .gvc-shell {
		width: 100%;
		height: 100dvh;
		padding: 0;
		border-radius: 0;
		background: transparent;
	}

	.gvc-modal--preview .gvc-content {
		border-radius: 0;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 14px 14px 28px;
	}

	.gvc-modal--preview .gvc-close {
		top: 18px;
		right: 18px;
		width: 32px;
		height: 32px;
	}

	.gvc-modal--auth {
		padding: 0;
		background: #fff;
	}

	.gvc-modal--auth .gvc-shell {
		width: 100%;
		min-height: 100dvh;
		padding: 64px 18px 32px 18px;
		border-radius: 0;
		display: block;
	}

	.gvc-modal--auth .gvc-content {
		width: 100%;
	}

	.gvc-modal--auth .gvc-close {
		top: 18px;
		right: 18px;
	}

	.gvc-auth__header {
		padding-bottom: 14px;
		margin-bottom: 22px;
	}

	.gvc-heading__title { font-size: 13px; letter-spacing: 0.78px; }
	.gvc-heading__subtitle { font-size: 12px; line-height: 18px; }
	.gvc-icon-header { width: 28px; height: 24px; }

	.gvc-card {
		width: 100%;
		height: 464px;
		min-height: 0;
		border-radius: 8px;
		padding: 36px 18px;
		gap: 18px;
	}

	.gvc-card__body { max-width: 280px; }

	.gvc-note {
		width: 100%;
		text-align: center;
	}

	/* Preview mobile: redom - tvoje slike → glavna slika + izbor proizvoda → saglasnost + Generiši */
	.gvc-preview {
		grid-template-columns: 1fr;
		grid-template-areas:
			"left"
			"right"
			"foot";
		grid-template-rows: auto auto auto;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 22px 18px 32px 18px;
		gap: 22px;
		min-height: 0;
	}

	.gvc-preview__left {
		order: 1;
		gap: 22px;
		height: auto;
		padding-top: 0;
	}

	.gvc-preview__top { max-width: none; }

	.gvc-preview__right {
		order: 2;
		gap: 14px;
	}

	.gvc-preview__foot {
		align-items: stretch;
		gap: 16px;
	}

	.gvc-preview__photo {
		width: min(100%, 325px);
		height: 464px;
		aspect-ratio: auto;
		margin: 0 auto;
		border-radius: 12px;
	}

	.gvc-modal--preview .gvc-preview__photo.gvc-result {
		width: min(100%, 300px);
		height: auto;
		aspect-ratio: 3 / 4;
		margin: 0 auto;
	}
	.gvc-prodstrip { width: min(100%, 300px); }

	.gvc-preview__bottom {
		order: 3;
		justify-content: center;
		margin-top: 0;
	}

	.gvc-preview__bottom .gvc-btn {
		width: 100% !important;
		min-width: 0 !important;
	}

	.gvc-modal a.gvc-btn,
	.gvc-modal button.gvc-btn,
	.gvc-modal .gvc-btn { min-width: 180px !important; }
}

/* ==========================================================================
   TRY-ON (v0.6.0): lijevo tvoje slike + proizvod, desno rezultat
   ========================================================================== */

.gvc-preview__left {
	padding-top: 0;
	height: auto;
	gap: 18px;
	justify-content: center;
}

.gvc-tryon {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gvc-cam-btn { align-self: flex-start; }

.gvc-tryon__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gvc-tryon__label {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #828282;
}

.gvc-thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.gvc-thumb {
	width: 78px;
	height: 96px;
	border-radius: 8px;
	overflow: hidden;
	background: #D8D8D8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.gvc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gvc-thumb--product { background: #D8D8D8; }
.gvc-thumb--product img { object-fit: cover; }
.gvc-thumb--empty { background: rgba(0, 0, 0, 0.06); }
.gvc-thumb--empty .gvc-icon-camera { width: 22px; height: 22px; }

.gvc-preview__bottom {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-top: auto;
}

.gvc-modal a.gvc-link,
.gvc-modal .gvc-link {
	font-family: 'Montserrat', sans-serif;
	font-size: 12.5px;
	color: #171717 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	background: transparent !important;
	box-shadow: none !important;
}
.gvc-modal a.gvc-link:hover { color: #000 !important; }

/* rezultat desno */
.gvc-modal--preview .gvc-preview__photo.gvc-result { background: #fff; }
.gvc-result { position: relative; }
.gvc-result__img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
.gvc-result__img--contain { object-fit: contain !important; padding: 30px; background: #fff; }
.gvc-modal--preview .gvc-preview__photo.gvc-result { overflow: hidden; }
.gvc-result__msg {
	padding: 24px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: #525252;
	max-width: 320px;
}

/* Slika rezultata malo niža da strip + caption stanu bez scrolla na većini ekrana */
.gvc-modal--preview .gvc-preview__photo.gvc-result { height: 540px; }

/* Strip slika proizvoda - jedan red ispod glavne slike, wrap po širini */
.gvc-prodstrip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 422px;
	max-width: 100%;
}
.gvc-prodstrip__label {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #828282;
	text-align: center;
}
.gvc-thumbs--prod {
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 100%;
}
.gvc-modal--preview .gvc-thumbs--prod .gvc-thumb {
	width: 56px;
	height: 72px;
	flex: 0 0 auto;
}

.gvc-spinner {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: #171717;
	animation: gvc-spin 0.8s linear infinite;
}

@keyframes gvc-spin { to { transform: rotate(360deg); } }

.gvc-modal button.gvc-btn.is-loading { opacity: 0.6 !important; pointer-events: none; }

@media (max-width: 768px) {
	.gvc-preview__left { height: auto; gap: 20px; }
	.gvc-tryon { gap: 16px; }
	/* Centriraj "VAŠE FOTOGRAFIJE" sekciju (label + dva boxa) na mobilnom. */
	.gvc-tryon__group { align-items: center; }
	.gvc-tryon__label { text-align: center; width: 100%; }
	.gvc-thumbs--user { justify-content: center; }
	.gvc-thumb { width: 64px; height: 80px; }
	.gvc-preview__bottom { align-items: stretch; }
	.gvc-modal a.gvc-link { text-align: center; }
	/* Sve u "VAŠA FOTOGRAFIJA" sekciji centrirano i poravnato na mobilnom. */
	.gvc-modepick { align-items: center; }
	.gvc-modepick__q { text-align: center; width: 100%; }
	.gvc-modepick__opts { justify-content: center; }
	.gvc-modehint { text-align: center; }
	.gvc-mini-tips { text-align: center; }
	.gvc-thumbs--single { justify-content: center; }
	.gvc-upmsg { text-align: center; }
}

/* ==========================================================================
   GENERISANJE - fullscreen overlay sa zvjezdicama
   ========================================================================== */
.gvc-genloader {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(231, 231, 231, 0.82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: gvc-gl-in 0.28s ease both;
}
.gvc-genloader.is-out { animation: gvc-gl-out 0.24s ease both; }

.gvc-genloader__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px;
}

.gvc-genloader__stars {
	position: relative;
	width: 120px;
	height: 120px;
	margin-bottom: 26px;
}

.gvc-genloader__core {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 54px;
	line-height: 1;
	color: #171717;
	animation: gvc-core 1.6s ease-in-out infinite;
}

.gvc-star {
	position: absolute;
	color: #171717;
	opacity: 0;
	font-size: 18px;
	line-height: 1;
	animation: gvc-twinkle 1.8s ease-in-out infinite;
}
.gvc-star--a { top: 6px;  left: 16px;  font-size: 16px; animation-delay: 0.0s; }
.gvc-star--b { top: 18px; right: 10px; font-size: 22px; animation-delay: 0.45s; }
.gvc-star--c { bottom: 14px; left: 6px; font-size: 20px; animation-delay: 0.9s; }
.gvc-star--d { bottom: 6px; right: 22px; font-size: 14px; animation-delay: 1.3s; }

.gvc-genloader__title {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: #171717;
	margin-bottom: 8px;
}

.gvc-genloader__sub {
	font-family: 'Montserrat', sans-serif;
	font-size: 13.5px;
	color: #626262;
	min-height: 20px;
	animation: gvc-sub 0.4s ease;
}

@keyframes gvc-core {
	0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
	50%      { transform: translate(-50%, -50%) scale(1.18) rotate(45deg); opacity: 0.85; }
}
@keyframes gvc-twinkle {
	0%, 100% { opacity: 0; transform: scale(0.6); }
	50%      { opacity: 1; transform: scale(1); }
}
@keyframes gvc-gl-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes gvc-gl-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes gvc-sub    { from { opacity: 0.2; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.gvc-genloader__core, .gvc-star { animation: none; }
	.gvc-star { opacity: 0.5; }
}

/* ==========================================================================
   KAMERA - "Slikaj se" dugme + live capture overlay
   ========================================================================== */
.gvc-modal button.gvc-cam-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	background: transparent !important;
	border: 1px solid #BCBCBC !important;
	color: #171717 !important;
	border-radius: 6px !important;
	padding: 9px 15px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	cursor: pointer;
	box-shadow: none !important;
}
.gvc-modal button.gvc-cam-btn:hover { border-color: #171717 !important; background: transparent !important; }
.gvc-cam-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.gvc-cam {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(14, 14, 14, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	padding: 20px;
	animation: gvc-gl-in 0.22s ease both;
}
.gvc-cam__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	width: min(92vw, 420px);
}
.gvc-cam__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
}
.gvc-cam__video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.gvc-cam__shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvc-cam__guide {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 46%;
	aspect-ratio: 3 / 4;
	border: 2px dashed rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	pointer-events: none;
}
.gvc-cam__msg {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
	min-height: 18px;
	max-width: 340px;
}
.gvc-cam__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.gvc-modal .gvc-cam .gvc-btn,
.gvc-cam .gvc-btn {
	background: #fff !important;
	color: #171717 !important;
}
.gvc-modal .gvc-cam .gvc-btn:hover { background: #f0f0f0 !important; color: #171717 !important; }
.gvc-cam .gvc-link,
.gvc-modal .gvc-cam a.gvc-link { color: #fff !important; text-decoration: underline !important; }

@media (max-width: 768px) {
	.gvc-cam__box { width: 100%; }
}

/* ==========================================================================
   PREVIEW v0.9.2 - slike u redu, kamera kao tile, mini uputstvo
   ========================================================================== */
.gvc-tips-mini {
	margin: 2px 0 2px;
}
.gvc-tips-mini__head {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #828282;
	margin-bottom: 9px;
}
.gvc-tips-mini ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.gvc-tips-mini li {
	position: relative;
	padding-left: 23px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: #434343;
}
.gvc-tips-mini li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #171717;
	color: #fff;
	font-size: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* slike jedna do druge */
.gvc-tryon--row {
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 26px !important;
	align-items: flex-start;
}

/* kamera kao "+" tile umjesto širokog dugmeta */
.gvc-modal button.gvc-thumb--cam {
	width: 78px !important;
	height: 96px !important;
	min-width: 78px !important;
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #F4F4F4 !important;
	border: 1.5px dashed #D5D5D5 !important;
	border-radius: 8px !important;
	color: #BBBBBB !important;
	cursor: pointer;
	box-shadow: none !important;
	padding: 0 !important;
}
.gvc-thumb--cam svg { display: block; margin: 0; }
.gvc-modal button.gvc-thumb--cam:hover {
	border-color: #171717 !important;
	color: #171717 !important;
	background: #EDEDED !important;
}
.gvc-thumb--cam svg { width: 26px; height: 26px; }

/* Ispunjeni slot-tile (korisnikova slika) - forsiraj veličinu da tema ne razvuče dugme na 100% */
.gvc-modal .gvc-thumbs--user button.gvc-thumb {
	width: 78px !important;
	height: 96px !important;
	min-width: 78px !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}
.gvc-modal--preview .gvc-thumbs--prod button.gvc-thumb {
	width: 56px !important;
	height: 72px !important;
	min-width: 56px !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

@media (max-width: 768px) {
	.gvc-tryon--row { gap: 20px !important; }
}

/* ===== Saglasnost (consent) ===== */
.gvc-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 4px 0 0;
	max-width: 340px;
	font-family: 'Montserrat', sans-serif;
	font-size: 11.5px;
	line-height: 1.4;
	color: #626262;
	cursor: pointer;
}
.gvc-consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	flex: 0 0 auto;
	accent-color: #171717;
	cursor: pointer;
}
.gvc-consent-err {
	max-width: 340px;
	margin: 8px 0 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 11.5px;
	color: #b32d2e;
}
.gvc-consent-err[hidden] { display: none; }
.gvc-privacy-more {
	display: inline-block;
	max-width: 340px;
	margin: 8px 0 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 11.5px;
	line-height: 1.4;
	color: #035751;
	text-decoration: underline;
}
.gvc-privacy-more:hover { color: #525252; }
.gvc-privacy-note {
	max-width: 340px;
	margin: 10px 0 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	line-height: 1.45;
	color: #8a8a8a;
}

/* ===== Slotovi (cijelo tijelo / od pasa nagore) ===== */
.gvc-slot { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.gvc-slot__pic { position: relative; display: inline-block; line-height: 0; }
.gvc-modal button.gvc-slot__remove {
	position: absolute; top: -7px; left: -7px;
	width: 22px; height: 22px; padding: 0 !important;
	border-radius: 50% !important; border: 2px solid #fff !important;
	background: #171717 !important; color: #fff !important;
	font-size: 15px; line-height: 1; cursor: pointer; z-index: 3;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
}
.gvc-modal button.gvc-slot__remove:hover { background: #000 !important; }
.gvc-slot__label {
	font-family: 'Montserrat', sans-serif;
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: #828282;
	text-align: center;
	max-width: 78px;
	line-height: 1.2;
}

/* ===== Izbor slike (korisnik bira svoju + proizvod) ===== */
.gvc-modal button.gvc-thumb { padding: 0; border: 0; cursor: pointer; }
.gvc-thumb.gvc-pick { position: relative; }
.gvc-thumb.gvc-pick.is-selected { outline: 3px solid #171717; outline-offset: 1px; }
.gvc-thumb.gvc-pick.is-selected::after {
	content: "\2713";
	position: absolute; top: 4px; right: 4px;
	width: 18px; height: 18px; border-radius: 50%;
	background: #171717; color: #fff; font-size: 11px;
	display: flex; align-items: center; justify-content: center;
}
.gvc-thumb--product img { object-fit: cover; background: #fff; }

/* Generisana slika u stripu - "vaš izgled" (✦ oznaka gore-lijevo, razlikuje se od slika proizvoda) */
.gvc-thumb--gen { background: #fff; cursor: pointer; }
.gvc-thumb--gen img { object-fit: cover; }
.gvc-gentag {
	position: absolute; top: 4px; left: 4px;
	width: 16px; height: 16px; border-radius: 50%;
	background: #171717; color: #fff; font-size: 9px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	pointer-events: none; z-index: 2;
}

/* === v1.4: izbor dijela (gornji/cijeli) → jedna fotka + skidanje/čuvanje rezultata === */
.gvc-modepick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2px; }
.gvc-modepick__q {
	font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
	letter-spacing: 0.8px; text-transform: uppercase; color: #828282;
}
.gvc-modepick__opts { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.gvc-modal button.gvc-mode {
	appearance: none; -webkit-appearance: none;
	font-family: 'Montserrat', sans-serif; font-size: 13px !important; font-weight: 500 !important;
	line-height: 1 !important; color: #1A1A1A !important; background: #fff !important; cursor: pointer;
	border: 1px solid #CCCCCC !important; border-radius: 999px !important; padding: 9px 18px !important;
	min-width: 0 !important; height: auto !important; box-shadow: none !important; outline: none !important;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.gvc-modal button.gvc-mode:hover { border-color: #1A1A1A !important; }
.gvc-modal button.gvc-mode.is-active {
	background: #1A1A1A !important; border-color: #1A1A1A !important; color: #fff !important;
}
.gvc-modehint { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 12.5px; line-height: 1.5; color: #626262; }
.gvc-modehint strong { font-weight: 600; color: #1A1A1A; }
.gvc-mini-tips { margin: 8px 0 0; font-family: 'Montserrat', sans-serif; font-size: 11.5px; line-height: 1.5; color: #999999; }

/* Jedan slot (umjesto dvije kućice) - veći */
.gvc-thumbs--single { justify-content: flex-start; }
.gvc-slot--single .gvc-thumb { width: 132px; height: 168px; border-radius: 10px; }
.gvc-modal button.gvc-thumb--big, .gvc-modal label.gvc-thumb--big {
	flex-direction: column; gap: 6px; background: #ECECEC !important;
	border: 1px dashed #BABABA !important; color: #828282;
	padding: 10px 8px !important; box-sizing: border-box;
}
.gvc-thumb--big svg { width: 28px !important; height: 28px !important; }
.gvc-thumb__add {
	display: block; max-width: 100%; box-sizing: border-box;
	font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500;
	color: #828282; line-height: 1.25; text-align: center;
	white-space: normal; word-break: break-word; overflow-wrap: anywhere;
}

/* Add-pločica je <label> sa pravim <input type=file> koji je prekriva → tap bilo gdje otvori birač (pouzdano na iOS). */
.gvc-modal label.gvc-thumb--cam, .gvc-modal label.gvc-thumb--big { position: relative; cursor: pointer; }
.gvc-thumb--cam .gvc-file {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	opacity: 0; cursor: pointer; padding: 0; margin: 0; border: 0; font-size: 0; z-index: 3;
}
.gvc-thumb--cam svg, .gvc-thumb--cam .gvc-thumb__add { position: relative; z-index: 1; pointer-events: none; }

/* Status uploada (Pripremam/Učitavam %/uspješno/greška) + progress bar */
.gvc-upmsg { font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 1.4; color: #626262; text-align: center; margin: 8px 0 0; }
.gvc-upmsg.is-err { color: #b03b37; }
.gvc-upmsg.is-ok { color: #2c8a3d; }
.gvc-upmsg__t { display: inline-block; }
.gvc-upbar { display: block; width: 132px; max-width: 100%; height: 5px; margin: 6px auto 0; background: #DCDCDC; border-radius: 99px; overflow: hidden; }
.gvc-upbar__fill { display: block; height: 100%; background: #1A1A1A; border-radius: 99px; transition: width .15s ease; }

/* Poruka skidanja rezultata */
.gvc-dl-msg { display: block; font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 1.4; color: #626262; text-align: center; margin-top: 6px; }
.gvc-dl-msg.is-ok { color: #2c8a3d; }
.gvc-dl-msg.is-err { color: #b03b37; }

/* Rezultat: skidanje + napomena o čuvanju */
.gvc-result-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; }
.gvc-modal a.gvc-btn--dl { min-width: 180px !important; }
.gvc-saved-note { font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 1.45; color: #626262; text-align: center; }

/* ==========================================================================
   v1.5.2: kad je sadržaj viši od ekrana (više generisanja → više sličica),
   centriranje je guralo vrh popupa iznad ekrana i nije se moglo doskrolati.
   Sada: auto margine centriraju samo kad ima mjesta, inače kreće od vrha i skrola se.
   Strip sličica = jedan red, vodoravno listanje (popup ne raste sa svakim rezultatom).
   ========================================================================== */
/* .gvc-content je flex KOLONA → vertikala = justify-content (bilo center = rezanje vrha). */
.gvc-modal--preview .gvc-content { justify-content: flex-start; }
@media (min-width: 769px) {
	.gvc-modal--preview .gvc-content { align-items: center; }
	.gvc-modal--preview .gvc-preview { margin-top: auto; margin-bottom: auto; }
}
.gvc-modal--preview .gvc-thumbs--prod {
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 100%;
	padding: 3px 2px 6px;
	scrollbar-width: thin;
	scrollbar-color: #BDBDBD transparent;
	-webkit-overflow-scrolling: touch;
}
.gvc-modal--preview .gvc-thumbs--prod > :first-child { margin-left: auto; }
.gvc-modal--preview .gvc-thumbs--prod > :last-child { margin-right: auto; }
.gvc-modal--preview .gvc-thumbs--prod::-webkit-scrollbar { height: 4px; }
.gvc-modal--preview .gvc-thumbs--prod::-webkit-scrollbar-thumb { background: #BDBDBD; border-radius: 4px; }
