/* Spin Wheel Coupons v2.9.0 */
.swc[hidden],
.swc [hidden],
.swc-fab[hidden] { display: none !important; }

html.swc-lock { overflow: hidden; }

.swc,
.swc *,
.swc-fab,
.swc-fab * { box-sizing: border-box; }

.swc {
	--swc-muted: color-mix(in srgb, var(--swc-ink) 72%, var(--swc-card));
	--swc-line: color-mix(in srgb, var(--swc-ink) 18%, var(--swc-card));
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow-y: auto;
	font-family: inherit;
	line-height: 1.45;
	opacity: 0;
	transition: opacity .2s ease;
}
.swc.swc-open { opacity: 1; }

.swc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(25, 20, 15, .5);
}

/* ---------- κουτί: τροχός αριστερά, μισός έξω από την κάρτα ---------- */
.swc-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 900px;
	margin: auto;
	transform: translateY(14px) scale(.98);
	transition: transform .25s ease;
}
.swc.swc-open .swc-box { transform: none; }

.swc-wheel-area {
	position: relative;
	z-index: 2;
	flex: 0 0 430px;
	width: 430px;
	height: 430px;
	margin-right: -185px;
}
.swc-wheel-clip { position: absolute; inset: 0; }

.swc-card {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 410px;
	display: flex;
	align-items: center;
	padding: 40px 44px 40px 225px;
	overflow: hidden;
	border-radius: 26px;
	background-color: var(--swc-card);
	background-image: var(--swc-bg-img, none);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--swc-ink);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.swc-content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 330px;
	margin: 0 auto;
	text-align: center;
}

.swc .swc-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--swc-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}
.swc .swc-close:hover { background: color-mix(in srgb, var(--swc-ink) 8%, transparent); }

/* ---------- τροχός ---------- */
.swc-wheel {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 12px 22px rgba(0, 0, 0, .22);
}
.swc-wheel svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }
.swc .swc-wheel svg.swc-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; }
.swc .swc-wheel svg.swc-spin { transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; }
.swc-wheel text { font-family: inherit; }
.swc-pin {
	position: absolute;
	z-index: 3;
	top: -18px;
	left: 50%;
	width: 46px;
	margin-left: -23px;
	filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .35)) drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
	pointer-events: none;
}
.swc-pin svg { display: block; width: 100%; height: auto; }
.swc .swc-pin-m { display: none; }
/* Δική σου εικόνα δείκτη: «κάθεται» με τη μύτη (κάτω άκρη της εικόνας) μέσα στο στεφάνι. */
.swc .swc-pin-custom { top: auto; bottom: calc(100% - 40px); width: 58px; margin-left: -29px; }
.swc .swc-pin-custom img { display: block; width: 100%; height: auto; max-width: none; }

/* ---------- κείμενα + φόρμα ---------- */
.swc .swc-title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--swc-ink);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}
.swc .swc-sub {
	margin: 0 0 22px;
	color: var(--swc-muted);
	font-size: 15px;
	line-height: 1.45;
}
.swc .swc-test {
	margin: 0 0 14px;
	padding: 6px 10px;
	border: 1px dashed currentColor;
	border-radius: 8px;
	color: var(--swc-muted);
	font-size: 11.5px;
}
.swc .swc-form { margin: 0; padding: 0; }
.swc .swc-input {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0 0 12px;
	padding: 0 14px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	background: #fff;
	color: #1b1b1b;
	font-size: 16px;
	line-height: 1.2;
	box-shadow: none;
	outline: 0;
}
.swc .swc-input:focus { border-color: var(--swc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--swc-accent) 30%, transparent); }
.swc .swc-input::placeholder { color: #8a8a8a; opacity: 1; }
.swc .swc-btn {
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 4px 0 16px;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--swc-accent);
	color: var(--swc-accent-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
	transition: filter .12s ease;
}
.swc .swc-btn:hover { filter: brightness(1.08); }
.swc .swc-btn:focus-visible { outline: 3px solid var(--swc-ink); outline-offset: 2px; }
.swc .swc-btn:disabled { opacity: .7; cursor: default; }
.swc .swc-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0 0 9px;
	color: var(--swc-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}
.swc .swc-check input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--swc-accent);
	background: #fff;
}
.swc .swc-check a { color: inherit; text-decoration: underline; }
.swc .swc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.swc .swc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swc .swc-msg { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.swc .swc-msg-error { background: #fde8e8; color: #9b1c1c; }
.swc .swc-msg-info { background: #fff4d6; color: #6b4a00; }

/* ---------- αποτέλεσμα ---------- */
.swc .swc-res-media { display: inline-block; margin: 0 0 12px; color: inherit; text-decoration: none; }
.swc .swc-res-icon { display: block; font-size: 54px; line-height: 1; }
.swc .swc-res-img {
	display: block;
	width: 120px;
	height: 120px;
	padding: 6px;
	border-radius: 16px;
	background: #fff;
	object-fit: contain;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
	transition: transform .15s ease;
}
.swc .swc-res-media[href] .swc-res-img:hover { transform: scale(1.04); }
.swc .swc-gift-text { color: var(--swc-ink); font-size: 16px; font-weight: 600; }
.swc .swc-prod-link { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.swc .swc-code {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 8px;
	margin: 0 0 8px;
}
.swc .swc-code-val {
	display: flex;
	align-items: center;
	padding: 9px 16px;
	border: 1.5px dashed var(--swc-accent);
	border-radius: 10px;
	background: #fff;
	color: #1b1b1b;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	word-break: break-all;
}
.swc .swc-copy {
	min-height: 0;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid var(--swc-line);
	border-radius: 10px;
	background: transparent;
	color: var(--swc-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}
.swc .swc-note { margin: 0 0 18px; color: var(--swc-muted); font-size: 13px; }

/* ---------- χριστουγεννιάτικα στολίδια ---------- */
.swc-snow { position: absolute; inset: 0; z-index: 0; overflow: hidden !important; pointer-events: none; }
.swc .swc-card { overflow: hidden !important; }
.swc-snow i {
	position: absolute;
	top: -10px;
	color: color-mix(in srgb, var(--swc-ink) 28%, transparent);
	font-size: 12px;
	font-style: normal;
	line-height: 1;
	animation: swc-snow 11s linear infinite;
}
.swc-snow i::before { content: "❄"; }
.swc-snow i:nth-child(1) { left: 6%; animation-delay: -1s; }
.swc-snow i:nth-child(2) { left: 14%; animation-delay: -6s; font-size: 12px; }
.swc-snow i:nth-child(3) { left: 22%; animation-delay: -3s; }
.swc-snow i:nth-child(4) { left: 31%; animation-delay: -9s; font-size: 20px; }
.swc-snow i:nth-child(5) { left: 39%; animation-delay: -2s; font-size: 12px; }
.swc-snow i:nth-child(6) { left: 47%; animation-delay: -7s; }
.swc-snow i:nth-child(7) { left: 55%; animation-delay: -4s; font-size: 14px; }
.swc-snow i:nth-child(8) { left: 63%; animation-delay: -10s; }
.swc-snow i:nth-child(9) { left: 70%; animation-delay: -5s; font-size: 18px; }
.swc-snow i:nth-child(10) { left: 77%; animation-delay: -8s; font-size: 12px; }
.swc-snow i:nth-child(11) { left: 84%; animation-delay: -1.5s; }
.swc-snow i:nth-child(12) { left: 90%; animation-delay: -6.5s; font-size: 14px; }
.swc-snow i:nth-child(13) { left: 95%; animation-delay: -3.5s; }
.swc-snow i:nth-child(14) { left: 3%; animation-delay: -9.5s; font-size: 18px; }
@keyframes swc-snow {
	0% { transform: translate(0, -10px); }
	50% { transform: translate(14px, 260px); }
	100% { transform: translate(-6px, 560px); }
}
.swc-light { fill: #fff6c8; animation: swc-blink 1.4s ease-in-out infinite; }
.swc-light-b { animation-delay: .7s; }
@keyframes swc-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

/* ---------- κουμπί στη γωνία ---------- */
.swc-fab {
	position: fixed;
	bottom: 18px;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 0;
	margin: 0;
	padding: 10px 16px 10px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--swc-accent);
	color: var(--swc-accent-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
	animation: swc-nudge 5s ease-in-out infinite;
}
.swc-fab-left { left: 18px; }
.swc-fab-right { right: 18px; }
.swc-fab-icon { font-size: 22px; line-height: 1; }
@keyframes swc-nudge {
	0%, 86%, 100% { transform: none; }
	90% { transform: rotate(-5deg) scale(1.05); }
	94% { transform: rotate(5deg) scale(1.05); }
}

/* ---------- tablet ---------- */
@media (min-width: 701px) and (max-width: 900px) {
	.swc-wheel-area { flex-basis: 360px; width: 360px; height: 360px; margin-right: -150px; }
	.swc-card { min-height: 380px; padding: 34px 30px 34px 180px; }
}

/* ---------- κινητό: όπως στο patchandgo, το κάτω μισό του τροχού μέσα στην κάρτα ---------- */
@media (max-width: 700px) {
	.swc { align-items: flex-start; padding: 62px 22px 18px; }
	.swc-box { flex-direction: column; align-items: stretch; width: 100%; max-width: 370px; }
	.swc .swc-wheel-area {
		position: relative !important;
		flex: none;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		overflow: hidden !important;
		border-radius: 22px 22px 0 0;
		background: transparent;
		clip-path: inset(0 round 22px 22px 0 0);
		margin-bottom: -1px !important;
	}
	/* Ύψος = μισό του τροχού (ο τροχός έχει πλάτος 92% της κάρτας), χωρίς aspect-ratio. */
	.swc .swc-wheel-clip {
		position: relative !important;
		inset: auto;
		width: 100% !important;
		height: 0 !important;
		padding: 0 0 46% !important;
		overflow: hidden !important;
	}
	.swc .swc-wheel {
		position: absolute !important;
		inset: auto;
		top: -100%;
		left: 4%;
		width: 92% !important;
		height: 0 !important;
		padding: 0 0 92% !important;
		margin: 0 !important;
		transform: none;
		filter: none;
		box-shadow: none;
	}
	.swc .swc-wheel svg { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none !important; }
	.swc-hub { display: none; }
	/* Στο κινητό η πινέζα ξεπροβάλλει πάνω από την κάρτα, όπως στο patchandgo. */
	.swc .swc-wheel-clip .swc-pin { display: none; }
	.swc .swc-pin-m { display: block; position: absolute; z-index: 4; top: -24px; left: 50%; width: 46px; margin-left: -23px; }
	.swc .swc-pin-m.swc-pin-custom { top: auto; bottom: calc(100% - 38px); width: 52px; margin-left: -26px; }
	.swc-card {
		flex-direction: column;
		min-height: 0;
		padding: 18px 22px 20px;
		border-radius: 0 0 22px 22px;
		background: transparent;
		box-shadow: none;
	}
	/* Ένα ενιαίο φόντο (χρώμα + εικόνα) για τροχό και κάρτα, ώστε να μη φαίνεται «ραφή». */
	.swc-box::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 0;
		border-radius: 22px;
		background-color: var(--swc-card);
		background-image: var(--swc-bg-img, none);
		background-position: center top;
		background-size: cover;
		background-repeat: no-repeat;
		box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
		pointer-events: none;
	}
	.swc .swc-wheel-area, .swc-card { z-index: 1; }
	.swc .swc-close { position: fixed; top: 12px; right: 14px; width: 40px; height: 40px; background: #fff; color: #222; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
	.swc .swc-test { margin-bottom: 10px; padding: 4px 8px; font-size: 10.5px; line-height: 1.35; }
	.swc .swc-title { margin-bottom: 8px; font-size: 19px; line-height: 1.25; }
	.swc .swc-sub { margin-bottom: 14px; font-size: 13.5px; line-height: 1.4; }
	.swc .swc-input { height: 44px; margin-bottom: 9px; font-size: 16px; border-radius: 11px; }
	.swc .swc-btn { min-height: 46px; margin: 2px 0 12px; font-size: 15px; border-radius: 11px; }
	.swc .swc-check { margin-bottom: 7px; font-size: 11px; }
	.swc .swc-res-media { margin-bottom: 8px; }
	.swc .swc-res-icon { font-size: 40px; }
	.swc .swc-res-img { width: 88px; height: 88px; }
	.swc .swc-gift-text { font-size: 14.5px; }
	.swc .swc-code-val { padding: 8px 12px; font-size: 16px; }
	.swc .swc-note { margin-bottom: 14px; font-size: 12px; }
	.swc-snow i { animation-duration: 9s; }
	.swc-fab { padding: 9px 13px 9px 10px; font-size: 13px; }
	/* πάνω από μπάρες/στοιχεία του θέματος και μακριά από τη μπάρα του iPhone */
	html body .swc-fab {
		position: fixed !important;
		top: auto !important;
		bottom: calc(var(--swc-fab-bm, 14px) + env(safe-area-inset-bottom, 0px)) !important;
		z-index: 999 !important; /* πάνω από το περιεχόμενο, κάτω από τα παράθυρα του θέματος (αναζήτηση, μενού) */
		visibility: visible !important;
		opacity: 1 !important;
		transform: none;
	}
	html body .swc-fab[hidden] { display: none !important; }
	html body .swc-fab:not([hidden]) { display: inline-flex !important; }
	html body .swc-fab-left { left: 12px !important; right: auto !important; }
	html body .swc-fab-right { right: 12px !important; left: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
	.swc, .swc-box { transition: none; }
	.swc-fab, .swc-snow i, .swc-light { animation: none; }
}

/* Λαμπάκια στο στεφάνι: απαλό, εναλλάξ αναβόσβημα */
@keyframes swc-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.swc .swc-bulb { animation: swc-twinkle 2.2s ease-in-out infinite; }
.swc .swc-bulb-b { animation-delay: -1.1s; }
@media (prefers-reduced-motion: reduce) { .swc .swc-bulb { animation: none; } }

/* ---------- Κινητό: συρτάρι από κάτω ---------- */
@media (max-width: 700px) {
	.swc.swc-sheet { align-items: flex-start; padding: 64px 0 0; transition: opacity .7s ease; }
	.swc.swc-sheet .swc-box {
		max-width: 480px;
		margin: auto auto 0;
		transform: translateY(105%);
		/* αργό, απαλό ανέβασμα: ξεκινά ήπια και «προσγειώνεται» μαλακά */
		transition: transform 1.1s cubic-bezier(.4, 0, .2, 1);
		will-change: transform;
	}
	.swc.swc-sheet.swc-open .swc-box { transform: none; }
	/* το κλείσιμο λίγο πιο γρήγορο από το άνοιγμα */
	.swc.swc-sheet:not(.swc-open) .swc-box { transition-duration: .6s; transition-timing-function: cubic-bezier(.4, 0, .6, 1); }
	.swc.swc-sheet:not(.swc-open) { transition-duration: .5s; }
	.swc.swc-sheet .swc-box.swc-drag { transition: none; }
	.swc.swc-sheet .swc-box::before { border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
	.swc.swc-sheet .swc-card { border-radius: 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
	/* το Χ «κάθεται» πάνω από το συρτάρι και κινείται μαζί του */
	.swc.swc-sheet .swc-close { position: absolute; top: -54px; right: 14px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
	.swc.swc-sheet .swc-box { transition: none; }
}
