/* --------------------------------------------------------------------------
   Kaledu norai - savarankiskas sluoksnis.
   Tokenai paimti tiesiai is Figma kintamuju.
   -------------------------------------------------------------------------- */

:root {
	--cw-text: #0d2234;
	--cw-heading: #333d51;   /* Figma: Title spalva */
	--cw-text-2: #496f95;
	--cw-inverse: #fff;
	--cw-brand: #a3ccec;
	--cw-canvas: #fff;
	--cw-surface: #e6edf3;
	--cw-surface-2: #cbd8e4;
	--cw-border: #a8bdcf;
	--cw-border-subtle: #cbd8e4;
	--cw-border-strong: #205179;
	--cw-icon-3: #7194b0;
	--cw-accent: #fad149;
	--cw-sticky: #c84b31;   /* Figma: color-bg-accent */
	--cw-ok: #35b35f;
	--cw-error: #c0392b;

	/* Uzvedus pele - tos pacios spalvos patamsintos. */
	--cw-brand-strong-hover: #19405f;   /* --cw-border-strong */
	--cw-surface-2-hover: #bccdde;      /* --cw-surface-2 */
	--cw-error-hover: #a5301f;          /* --cw-error */

	--cw-radius: 8px;
	--cw-s4: 4px;
	--cw-s8: 8px;
	--cw-s12: 12px;
	--cw-s16: 16px;
	--cw-s24: 24px;
	--cw-s32: 32px;
	--cw-s36: 36px;

	--cw-sans: Inter, Helvetica, Arial, system-ui, sans-serif;
	--cw-display: "Varela Round", Inter, Helvetica, Arial, sans-serif;  /* Figma: antraštės */
	--cw-body: Roboto, Inter, Helvetica, Arial, sans-serif;             /* Figma: aprašymai */
	--cw-helv: Helvetica, Arial, sans-serif;                            /* Figma: mygtukai bloke */
	--cw-hand: "Indie Flower", cursive;
	--cw-col: 390px;
}

/* --- reset, kad tema neturetu itakos --- */
body.cw-app,
body.cw-app * { box-sizing: border-box; }

body.cw-app {
	margin: 0;
	padding: 0;
	background: var(--cw-canvas);
	color: var(--cw-text);
	font: 400 16px/1.4 var(--cw-sans);
	-webkit-font-smoothing: antialiased;
}
body.cw-app img { max-width: 100%; height: auto; }
:where(body.cw-app) p { margin: 0; }   /* nulinis specifiskumas - klases nugali */
body.cw-app a:not([class]) { color: inherit; }
:where(body.cw-app) button { font-family: inherit; }   /* zero specifiskumo, kad klases nugaletu */

/* --- virsutine juosta --- */
.cw-nav {
	/*
	 * Juosta lieka virsuje, turinys slenka po ja (kaip atsigrezk.lt).
	 * z-index 30: virs turinio ir apatines juostos (20), bet po dialogais (60, 1000).
	 */
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--cw-brand);
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .08));
}
.cw-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--cw-s16);
}
.cw-nav__brand {
	display: flex;
	gap: var(--cw-s8);
	align-items: center;
	color: var(--cw-inverse);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.cw-nav__logo { width: 28.862px; height: 24.772px; }   /* Figma: mobilus Nav */

/*
 * Platus ekranas - Figma 298:3870 „Nav" (1440x68): per visa ploti, be meniu,
 * didesnis zenklas ir Varela Round 28. Siauras ekranas lieka toks, koks buvo -
 * jis atitinka mobilu Figma Nav (390x56,77).
 */
@media (min-width: 700px) {
	.cw-nav {
		filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .15)) drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
	}
	.cw-nav__inner {
		max-width: none;
		padding: var(--cw-s12) 40px;   /* Figma: px-40 py-12 */
	}
	.cw-nav__brand {
		gap: 20px;                     /* Figma: Brand gap-20 */
		font-family: var(--cw-display);
		font-size: 28px;               /* Figma: Varela Round 28 */
		font-weight: 400;
	}
	.cw-nav__logo { width: 51px; height: 44px; }
}
.cw-nav__menu {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

/* --- turinio stulpelis --- */
.cw-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px var(--cw-s16) 160px;   /* oro puslapio apacioje */
}
.cw-screen {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s36);
	width: 100%;
	max-width: var(--cw-col);
}

/* --- antraste --- */
.cw-eyebrow {
	display: flex;
	gap: var(--cw-s4);
	justify-content: center;
	color: var(--cw-text-2);
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;
}
.cw-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	text-align: center;
}

/* --- pilka kortele --- */
.cw-info {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s16);
	padding: var(--cw-s16);
	border-radius: var(--cw-radius);
	background: var(--cw-surface);
	font-size: 20px;
}
.cw-info__row { display: flex; gap: var(--cw-s8); }
.cw-info__hint { font-size: 20px; }

/* --- laiskas --- */
.cw-letter { display: flex; flex-direction: column; gap: var(--cw-s8); }

.cw-note {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--cw-s24);
	padding: 32px var(--cw-s16);   /* Figma: px-16 py-32 */
	border: 1px solid var(--cw-border);
	border-radius: var(--cw-radius);
	/* Popierius - originalus paveikslelis is Figma (Paper 509x291 kortelėje). */
	overflow: hidden;
	background: #fff;
}

/* Popierius: originalus Figma paveikslelis 509x291, centruotas, opacity .5 */
.cw-note::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/paper.png") center / 509.078px 291px no-repeat;
	opacity: .5;
	pointer-events: none;
}
.cw-note > * { position: relative; }
.cw-note__line,
.cw-note textarea {
	width: 100%;
	border: 0;
	background: none;
	color: #000;
	font: 400 32px/1.25 var(--cw-hand);
	resize: none;
	outline: none;
}
.cw-note textarea::placeholder { color: rgba(0, 0, 0, .35); }
.cw-note__edit {
	position: absolute;
	right: 9px;
	bottom: 9px;
	width: 16px;
	height: 16px;
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
}

/* --- busenos juostele --- */
.cw-tab {
	padding: var(--cw-s8) var(--cw-s16);
	border-radius: 99px;
	font-size: 14px;
}
.cw-tab--waiting { background: var(--cw-accent); color: #000; }
.cw-tab--public  { background: var(--cw-ok); color: #fff; }
.cw-tab--picked  { background: var(--cw-ok); color: #fff; }
.cw-tab--none    { background: var(--cw-surface-2); color: var(--cw-text); }

/* --- veiksmu istorija --- */
.cw-history { border-top: 1px solid var(--cw-border-subtle); padding-top: var(--cw-s4); }
.cw-history > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--cw-text-2);
	cursor: pointer;
	font-size: 14px;
	list-style: none;
}
.cw-history > summary::-webkit-details-marker { display: none; }
.cw-history > summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--cw-icon-3);
	border-bottom: 2px solid var(--cw-icon-3);
	transform: rotate(45deg) translate(-2px, -2px);
}
.cw-history[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.cw-log { margin: var(--cw-s12) 0 0; padding: 0; list-style: none; font-size: 14px; }
.cw-log li { display: flex; justify-content: space-between; gap: var(--cw-s12); padding: 3px 0; color: var(--cw-text-2); }
.cw-log__empty { color: var(--cw-text-2); font-size: 14px; }

/* --- mygtukai --- */
.cw-btn {
	display: inline-flex;
	gap: var(--cw-s8);
	align-items: center;
	justify-content: center;
	padding: 14px var(--cw-s16);
	border: 0;
	border-radius: var(--cw-radius);
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}
.cw-btn--primary { background: var(--cw-border-strong); color: #fff; width: 100%; }
.cw-btn--ghost {
	border: 1px solid var(--cw-border-strong);
	background: #fff;
	color: var(--cw-border-strong);
	width: 100%;
}
.cw-btn--quiet {
	padding: 0 0 var(--cw-s4);
	border: 0;
	border-bottom: 1px solid var(--cw-brand);
	border-radius: 0;
	background: none;
	color: var(--cw-text-2);
	font-weight: 400;
}

.cw-cta { display: flex; flex-direction: column; gap: var(--cw-s16); align-items: flex-start; }
.cw-cta__note { color: var(--cw-text-2); font-size: 14px; }

.cw-foot { display: flex; justify-content: center; }

/* --- platesni ekranai: tas pats stulpelis, didesnis oras --- */
@media (min-width: 720px) {
	:root { --cw-col: 560px; }
	.cw-main { padding: 56px var(--cw-s24) 200px; }
	.cw-title { font-size: 34px; }
}

/* --- vadovo sarasas --- */
.cw-bar {
	display: flex;
	gap: var(--cw-s12);
	align-items: center;
	justify-content: space-between;
	padding: var(--cw-s12) var(--cw-s16);
	border: 1px solid var(--cw-border-subtle);
	border-radius: var(--cw-radius);
	background: #fff;
}
.cw-bar__add {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: var(--cw-radius);
	color: var(--cw-border-strong);
	font-size: 26px;
	line-height: 1;
	text-decoration: none;
}
.cw-bar__add:hover { background: var(--cw-surface); }

.cw-group { display: flex; flex-direction: column; gap: var(--cw-s8); }
.cw-group__title { margin: 0 0 var(--cw-s4); color: var(--cw-text-2); font-size: 14px; font-weight: 400; }

.cw-card { border-radius: var(--cw-radius); background: var(--cw-surface); }
.cw-card__head {
	display: flex;
	gap: var(--cw-s12);
	align-items: center;
	justify-content: space-between;
	padding: var(--cw-s16);
	cursor: pointer;
	list-style: none;
}
.cw-card__head::-webkit-details-marker { display: none; }
.cw-card__name { font-size: 20px; }
.cw-card__age { color: var(--cw-text-2); font-size: 16px; }
.cw-card__body { display: flex; flex-direction: column; gap: var(--cw-s12); padding: 0 var(--cw-s16) var(--cw-s16); }
.cw-card__label { color: var(--cw-text-2); font-size: 14px; }
.cw-card__wish { padding: var(--cw-s16); border-radius: var(--cw-radius); background: #fff; font-size: 20px; }
.cw-card__empty { color: var(--cw-icon-3); }

.cw-pill { flex: 0 0 auto; padding: 6px var(--cw-s12); border-radius: 99px; font-size: 13px; white-space: nowrap; }
.cw-pill--none    { background: #fff; color: var(--cw-error); }
.cw-pill--waiting { background: var(--cw-accent); color: #000; }
.cw-pill--public  { background: var(--cw-ok); color: #fff; }

.cw-btn--danger { background: none; color: var(--cw-error); padding: 0; font-weight: 400; text-decoration: underline; }

.cw-form { display: flex; flex-direction: column; gap: var(--cw-s16); }
.cw-form label,
.cw-info label { display: flex; flex-direction: column; gap: var(--cw-s4); color: var(--cw-text-2); font-size: 14px; }
.cw-form input,
.cw-info input {
	padding: 12px var(--cw-s16);
	border: 1px solid var(--cw-border-subtle);
	border-radius: var(--cw-radius);
	background: #fff;
	color: var(--cw-text);
	font: 400 18px var(--cw-sans);
}
.cw-form__note { font-size: 18px; font-weight: 600; }

.cw-foot {
	flex-direction: column;
	gap: var(--cw-s8);
	align-items: center;
	color: var(--cw-text-2);
	font-size: 14px;
	text-align: center;
}

/* --- kortele: nauja mygtuku logika --- */
.cw-card__wish { display: flex; flex-direction: column; gap: var(--cw-s8); min-height: 96px; }
.cw-card__text { font-size: 20px; }
.cw-card__hint { color: var(--cw-text); font-size: 14px; }
.cw-row { display: flex; gap: var(--cw-s12); }
.cw-row > * { flex: 1 1 0; }
.cw-row form { display: flex; }
.cw-row .cw-btn { width: 100%; }

/* --- ikonos --- */
.cw-ico { width: 20px; height: 20px; background: currentColor; }
.cw-ico--check {
	-webkit-mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.5 5.5L20 6'/%3E%3C/svg%3E");
	mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.5 5.5L20 6'/%3E%3C/svg%3E");
}
.cw-ico--pen {
	-webkit-mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M16.5 3.5l4 4L8 20H4v-4z'/%3E%3C/svg%3E");
	mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M16.5 3.5l4 4L8 20H4v-4z'/%3E%3C/svg%3E");
}
.cw-ico--info {
	-webkit-mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 11v6M12 7.5v.01' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 11v6M12 7.5v.01' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* --- modalinis lapas --- */
.cw-sheet {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s16);
	padding: var(--cw-s16);
	border-radius: var(--cw-radius);
	background: var(--cw-surface);
}
.cw-sheet__top { display: flex; gap: var(--cw-s12); align-items: flex-start; justify-content: space-between; }
.cw-sheet__title { font-size: 18px; font-weight: 700; }
.cw-sheet__close { color: var(--cw-text); font-size: 26px; line-height: 1; text-decoration: none; }
.cw-sheet .cw-form input,
.cw-sheet .cw-form textarea {
	width: 100%;
	padding: 12px var(--cw-s16);
	border: 0;
	border-radius: var(--cw-radius);
	background: #fff;
	color: var(--cw-text);
	font: 400 20px/1.35 var(--cw-sans);
}
.cw-sheet .cw-form textarea { resize: vertical; }

.cw-sheet__danger { text-align: center; }
.cw-sheet__danger a {
	color: var(--cw-error);
	font-weight: 600;
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cw-btn--danger-solid { width: 100%; background: var(--cw-error); color: #fff; }

/* --------------------------------------------------------------------------
   Spalvu uzraktas.
   Tema (lokaliai Twenty Twenty-Five, produkcijoje Elementor) nustato nuorodu
   spalvas savo taisyklemis. Musu ekranai turi atrodyti vienodai bet kurioje
   temoje, todel siu elementu spalvas fiksuojame.
   -------------------------------------------------------------------------- */
body.cw-app .cw-sheet__danger a { color: #c0392b !important; }
body.cw-app .cw-btn--quiet     { color: var(--cw-text-2) !important; }
body.cw-app .cw-btn--ghost     { color: var(--cw-border-strong) !important; }
body.cw-app .cw-btn--primary,
body.cw-app .cw-btn--danger-solid { color: #fff !important; }
body.cw-app .cw-nav__brand     { color: #fff !important; }
body.cw-app .cw-history > summary { color: var(--cw-text-2) !important; }

/* --- „Profilis sukurtas" langas --- */
.cw-sheet--center { position: relative; align-items: center; padding: var(--cw-s24) var(--cw-s16); text-align: center; }
.cw-sheet--center > * { width: 100%; }
.cw-sheet__close--abs { position: absolute; top: 10px; right: 14px; }
.cw-sheet__heading { margin: 0; font-size: 30px; font-weight: 700; }
.cw-sheet__sub { color: var(--cw-text); font-size: 17px; }

.cw-message {
	position: relative;
	padding: var(--cw-s16) var(--cw-s16) 44px;
	border-radius: var(--cw-radius);
	background: #fff;
	text-align: left;
}
.cw-message__text {
	margin: 0;
	font: 400 17px/1.5 var(--cw-sans);
	white-space: pre-wrap;
	word-break: break-word;
}
.cw-message__copy {
	position: absolute;
	right: 12px;
	bottom: 10px;
	padding: 4px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--cw-text);
	cursor: pointer;
}
.cw-message__copy:hover { background: var(--cw-surface); }
.cw-message__copy.is-done { color: var(--cw-ok); }

.cw-ico--send {
	-webkit-mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5L21 3l-8.5 18-2.2-7.3z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5L21 3l-8.5 18-2.2-7.3z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- tikros Figma ikonos --- */
.cw-icon { display: block; flex: 0 0 auto; }
.cw-btn .cw-icon { margin-left: auto; }
.cw-btn--primary, .cw-btn--ghost { justify-content: flex-start; text-align: left; }

/* mygtukai tiksliai pagal maketa */
body.cw-app .cw-btn--primary {
	border: 2px solid var(--cw-border-strong);
	background: var(--cw-border-strong);
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .08));
}
body.cw-app .cw-btn--ghost {
	border: 2px solid var(--cw-border-strong);
	background: var(--cw-surface-2);
	color: var(--cw-text) !important;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .08));
}

/* uzdarymo kryziukas - virs antrastes, ne ant jos */
.cw-sheet--center { padding-top: 56px; }
.cw-sheet__close--abs { top: 16px; right: 16px; }
.cw-sheet__close { display: inline-flex; }

/* istorijos rodykle - is Figma */
.cw-history > summary::after { content: none; }
.cw-history > summary { gap: var(--cw-s8); }
.cw-history > summary .cw-icon { transition: transform .15s; }
.cw-history[open] > summary .cw-icon { transform: rotate(180deg); }

/* --- dalijimosi kanalai (atsarginis variantas be sisteminio lango) --- */
.cw-share {
	padding: var(--cw-s16);
	border-radius: var(--cw-radius);
	background: #fff;
}
.cw-share__title { margin-bottom: var(--cw-s12); color: var(--cw-text-2); font-size: 14px; }
.cw-share__row { display: flex; flex-wrap: wrap; gap: var(--cw-s8); }
.cw-share__item {
	display: flex;
	flex: 1 1 128px;
	gap: var(--cw-s8);
	align-items: center;
	padding: 10px var(--cw-s12);
	border: 1px solid var(--cw-border-subtle);
	border-radius: var(--cw-radius);
	background: #fff;
	color: var(--cw-text) !important;
	cursor: pointer;
	font: 400 15px var(--cw-sans);
	text-decoration: none;
}
.cw-share__item:hover { background: var(--cw-surface); }
.cw-share__item.is-done { border-color: var(--cw-ok); color: var(--cw-ok) !important; }
.cw-share__dot {
	display: grid;
	flex: 0 0 26px;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.cw-share__dot--mail { background: #205179; }
.cw-share__dot--wa   { background: #25d366; }
.cw-share__dot--tg   { background: #29a9eb; }
.cw-share__dot--copy { background: var(--cw-surface-2); }

/* Uzdarymo kryziukas: .cw-sheet--center > * tempe ji per visa ploti. */
body.cw-app .cw-sheet--center > .cw-sheet__close--abs { width: auto; }
body.cw-app .cw-sheet__close--abs {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	padding: 4px;
	line-height: 0;
}

/* Kompiuteryje sisteminis langas nenaudingas - kanalai rodomi is karto. */
.cw-share[hidden] { display: none; }

/* Dalintis / Siusti mygtukai telefone */
.cw-row--share { gap: var(--cw-s12); }
.cw-row--share .cw-btn { justify-content: center; text-align: center; }
.cw-row--share[hidden] { display: none; }

/* Dalintis / Kopijuoti */
.cw-row--share { gap: var(--cw-s12); }
.cw-row--share .cw-btn { justify-content: center; gap: var(--cw-s8); text-align: center; }
.cw-row--share .cw-btn .cw-icon { margin-left: 0; }
.cw-row--share .cw-btn[hidden] { display: none; }
body.cw-app .cw-btn.is-done { border-color: var(--cw-ok); background: var(--cw-ok); color: #fff !important; }
body.cw-app .cw-btn.is-done .cw-icon { filter: brightness(0) invert(1); }
.cw-message { padding-bottom: var(--cw-s16); }



/* --- hero juosta (Figma 148:16558) --- */
.cw-hero {
	background: var(--cw-brand);
	padding: 64px var(--cw-s24) 8px;   /* Figma 298:3841: pt-64 pb-8 */
	text-align: center;
}
.cw-hero__inner {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s8);           /* Figma: Frame 1 gap-8 */
	max-width: 632px;            /* Figma: Hero Content 632 */
	margin: 0 auto;
}
.cw-hero__title {
	margin: 0;
	font-family: var(--cw-display);
	font-size: 42px;            /* Figma: Varela Round 42 */
	font-weight: 400;
	line-height: normal;
	color: var(--cw-text);
}
.cw-hero__text {
	font-family: var(--cw-body);
	font-size: 24px;            /* Figma: Roboto 24 */
	line-height: normal;
	color: var(--cw-heading);
}
/* Figma eiluciu lauzymas galioja placiame ekrane; siaurame tekstas liejasi. */
.cw-hero__line { display: block; }
/* Hero apatinis krastas ir po juo plaukianti juostele - abu is Figma. */
.cw-wave {
	display: block;
	width: 100%;
	height: auto;
	margin: -1px 0 0;
	transform: rotate(180deg);   /* Figmoje vektorius pasuktas 180 (298:3846) */
}
.cw-wave--ribbon { margin-top: -2px; }

@media (max-width: 699px) {
	.cw-hero { padding: 40px var(--cw-s16) 8px; }
	.cw-hero__title { font-size: 32px; }
	.cw-hero__text { font-size: 18px; }
	.cw-hero__line { display: inline; }
}

/* ==========================================================================
   Savanorio ekranai (Figma: Page Layout)
   ========================================================================== */

.cw-screen--wide { max-width: 1008px; width: 100%; }  /* Figma: Raw 1008 */
.cw-screen--mid  { max-width: 800px;  width: 100%; }
.cw-screen--narrow { max-width: 480px; width: 100%; }   /* prisijungimas */

/* Figma 298:3848 „Title": Varela Round 34. Tarpa iki korteliu duoda .cw-screen gap. */
.cw-wishes-lead {
	margin: 0;
	text-align: center;
	font-family: var(--cw-display);
	font-size: 34px;
	color: var(--cw-heading);
}

/* --- skirsniai (Figmoje nenupiesta - perimta puslapio tipografija) --- */
.cw-section {
	display: flex;
	align-items: center;
	gap: var(--cw-s8);
	margin: var(--cw-s32) 0 var(--cw-s8);
	font-family: var(--cw-display);   /* Varela Round, kaip puslapio antraste */
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-heading);
}
.cw-section__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--cw-surface-2);
	font-family: var(--cw-sans);
	font-size: 14px;
	font-weight: 700;
}
.cw-section__hint {
	margin: 0 0 var(--cw-s16);
	font-family: var(--cw-body);
	font-size: 16px;
	color: var(--cw-heading);
}

/* --- noru tinklelis (Figma: Child Wish Card 148:16647 / 148:17258) --- */
.cw-wishes {
	display: grid;
	grid-template-columns: repeat(auto-fit, 314.667px);
	justify-content: center;          /* maziau nei 3 norai centruojasi */
	gap: 32px;
	width: 100%;
}
.cw-wish {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s8);                /* Figma: gap-8 tarp popieriaus ir mygtuko */
	height: 100%;                     /* vienoje eiluteje - vienodas aukstis */
}
.cw-wish__note {
	flex: 1 1 auto;
	min-height: 0;
	gap: var(--cw-s16);               /* Figma: gap-16 tarp noro ir vardo */
	justify-content: flex-start;
}
.cw-wish__body {
	width: auto;
	margin: 0;
	font-family: var(--cw-hand);
	font-size: 32px;                  /* Figma: Indie Flower 32 */
	line-height: normal;
	color: #000;
	word-break: break-word;
}
.cw-wish__who {
	display: flex;
	gap: var(--cw-s8);                /* Figma: Data gap-8 */
	margin: 0;
	font-family: var(--cw-hand);
	font-size: 20px;                  /* Figma: Indie Flower 20 */
	line-height: normal;
	color: #000;
}

.cw-wish__form { margin: 0; }
.cw-wish__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 57px;                     /* Figma: Button 57 - vienodas abiem busenom */
	padding: 0 32px;                  /* Figma: px-32 */
	border: 2px solid var(--cw-border-strong);
	border-radius: var(--cw-radius);
	background: var(--cw-surface-2);  /* #cbd8e4 */
	color: var(--cw-text);            /* #0d2234 */
	font-family: var(--cw-sans);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .08));
}


/* Pasirinkta: dovana kyso 43 px virs mygtuko ir ji uzdengia. */
.cw-wish.is-picked { gap: 0; }
.cw-wish.is-picked .cw-wish__note { margin-bottom: -35px; }
.cw-wish__gift-wrap {
	position: relative;
	width: 100%;
	height: 100px;                    /* 43 + 57: korteles apacia = mygtuko apacia */
}
.cw-wish__cta--picked {
	position: absolute;
	top: 43px;                        /* Figma: Button top-43 */
	/*
	 * Kaire 6 px, kaip Figmoje (149:17377): dovanos nepermatomi pikseliai
	 * mygtuko aukstyje prasideda ties 2-6 px, tad nuo 0 mygtuko kampas
	 * issikisdavo is po dovanos. Desine lieka 0 - mygtukas per visa plotį
	 * (prasyta 2026-11-10).
	 */
	left: 6px;
	right: 0;
	width: auto;
	height: 57px;
	padding: var(--cw-s16);
	gap: var(--cw-s16);
	/* dovana kyso 5 px zemiau mygtuko, kaip Figmoje */
	justify-content: flex-end;
}
.cw-wish__gift {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	width: 96.486px;                  /* Figma: Christmas Present Image */
	height: 105px;
	object-fit: contain;
	pointer-events: none;
}

/* Pildomas noras: ta pati "Pasirinkta" geometrija, tik neaktyvi. */
.cw-wish.is-taken .cw-wish__note { opacity: .65; }
.cw-wish__cta.cw-wish__cta--taken {
	margin: 0;
	border: 2px solid var(--cw-border-strong);
	background: var(--cw-surface);
	color: var(--cw-heading);
	font-weight: 400;
	cursor: default;
	filter: none;
}

@media (max-width: 699px) {
	.cw-wishes { grid-template-columns: 1fr; }
}



.cw-info--list { align-items: flex-start; gap: var(--cw-s16); }
.cw-info--list .cw-picked { margin: 0; }
.cw-picked--plain .cw-picked__row .cw-note { width: 100%; }

/* --- apatinis pasirinktu noru blokas (Figma: Sticky Info 149:17736) --- */
.cw-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	width: min(1320px, calc(100% - 32px));   /* platesnis (prasyta 2026-11-14) */
	margin: 0 auto;                      /* centruota, ne per visa ploti */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: var(--cw-s16);
	padding: var(--cw-s16) 32px 32px;
	border-radius: 64px 64px 0 0;
	background: var(--cw-sticky);
	transform: translateY(100%);
	transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.cw-sticky.is-in { transform: translateY(0); }
.cw-sticky.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
	.cw-sticky,
	.cw-sticky__row { transition: none !important; animation: none !important; }
}
.cw-main:has(.cw-sticky) { padding-bottom: 340px; }
.cw-sticky__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--cw-s8);
	width: 100%;
	max-width: 1008px;                /* toks pat plotis kaip norų tinklelis virsuje */
	max-height: 38vh;
	overflow-y: auto;
	/*
	 * Slankiklis paslepiamas: trinant eilute jis trumpam issokdavo ir
	 * blaskydavo. Slinkimas ratuku, pirstu ir klaviatura veikia kaip veikes.
	 */
	scrollbar-width: none;        /* Firefox */
	-ms-overflow-style: none;     /* senas Edge */
}
.cw-sticky__list::-webkit-scrollbar { width: 0; height: 0; }
.cw-sticky__intro {
	margin: 0;
	font-family: var(--cw-body);      /* Figma: Roboto 16 */
	font-size: 16px;
	font-weight: 400;
	color: #fff;
}
.cw-sticky__row {
	display: flex;
	flex-wrap: nowrap;                   /* eilute niekada nesugriuva */
	align-items: stretch;                /* noras tokio pat aukscio kaip „Trinti" */
	gap: var(--cw-s8);
	width: 100%;
	overflow: hidden;
	transition: max-height .26s ease, opacity .2s ease, margin-bottom .26s ease;
	max-height: 200px;
}
.cw-sticky__row.is-out {
	max-height: 0;
	margin-bottom: calc(-1 * var(--cw-s8));
	opacity: 0;
}
.cw-sticky__row.is-new { animation: cw-row-in .3s ease both; }
@keyframes cw-row-in {
	from { max-height: 0; opacity: 0; }
	to   { max-height: 200px; opacity: 1; }
}
.cw-sticky__row .cw-note--row { align-self: stretch; }
.cw-sticky__form .cw-fbtn { height: 100%; }
.cw-sticky__num {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 14px;
	font-family: var(--cw-helv);      /* Figma: Helvetica Bold 20 */
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-align: center;
}
.cw-sticky__row .cw-note { flex: 1 1 auto; min-width: 0; }
.cw-sticky__form { flex: 0 0 auto; margin: 0; }

/* Figma mygtukas: 2px remelis, px32 py16, Bold 20 */
.cw-fbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--cw-s8);
	padding: var(--cw-s16) 32px;
	border: 2px solid var(--cw-border-strong);
	border-radius: var(--cw-radius);
	background: var(--cw-surface-2);
	color: var(--cw-text);
	font-family: var(--cw-helv);      /* Figma: Helvetica Bold 20 */
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .08));
}
.cw-fbtn--primary { background: var(--cw-border-strong); color: #fff; }

@media (max-width: 1100px) {
	.cw-sticky { padding: var(--cw-s16) var(--cw-s16) var(--cw-s24); border-radius: 32px 32px 0 0; }
	.cw-fbtn { font-size: 16px; padding: var(--cw-s12) var(--cw-s24); }
}

@media (max-width: 560px) {
	/* nebetelpa - paliekame varda, amziu slepiame */
	.cw-sticky__row .cw-wish__who span + span { display: none; }
	.cw-sticky__row .cw-wish__who { flex: 0 1 auto; }   /* krastutiniu atveju trumpeja ir vardas */
	.cw-note--row { padding: var(--cw-s8) var(--cw-s12); gap: var(--cw-s8); }
	.cw-fbtn { padding: var(--cw-s12) var(--cw-s16); }
}

/* --- sena juosta (vadovo ekranai) --- */
.cw-bar--cart,
.cw-screen .cw-bar {
	position: sticky;
	bottom: var(--cw-s16);
	margin-top: var(--cw-s24);
	padding: var(--cw-s12) var(--cw-s16);
	border: 1px solid var(--cw-border);
	border-radius: var(--cw-radius);
	background: var(--cw-canvas);
	box-shadow: 0 6px 20px rgba(13, 34, 52, .14);
	justify-content: space-between;
	flex-wrap: wrap;
}
.cw-bar__count { margin: 0; font-size: 15px; color: var(--cw-text); }

/* --- pasirinktu noru eilutes --- */
.cw-picked--plain .cw-picked__item { display: block; }

.cw-note--row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--cw-s16);
	min-height: 0;
	padding: var(--cw-s8) var(--cw-s16);   /* Figma: px-16 py-8 */
}
.cw-note--row::before {
	background-size: 848px 484.735px;
	opacity: .3;                           /* Figma: Grid Background opacity-30 */
}
.cw-note--row .cw-wish__body {
	flex: 1 1 auto;
	width: auto;                  /* perrasome .cw-note__line width:100% */
	min-width: 56px;              /* noro tekstas niekada neisnyksta visai */
	margin: 0;
	font-size: 20px;              /* Figma: Indie Flower 20 */
	line-height: normal;
	/* netelpantis tekstas nukerpamas: „Labai prasau sportiniu..." */
	overflow: hidden;
	white-space: nowrap;
	word-break: normal;
	text-overflow: ellipsis;
}
.cw-note--row .cw-wish__who {
	flex: 0 0 auto;               /* vardas nesitraukia - pirma kerpamas noro tekstas */
	min-width: 0;
	overflow: hidden;
	line-height: normal;
	white-space: nowrap;
}
/* Siaurejant: pirma kerpamas noro tekstas, tada dingsta amzius,
   ir tik kraštutiniu atveju trumpinamas vardas. */
.cw-note--row .cw-wish__who span:first-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cw-note--row .cw-wish__who span + span { flex: 0 0 auto; }
.cw-sticky__form { flex: 0 0 auto; }
.cw-sticky__form .cw-fbtn { white-space: nowrap; }

/* --- forma (senosios taisykles pakeistos .cw-info bloku) --- */
.cw-sheet__sub {
	margin: 0 0 var(--cw-s16);
	font-size: 14px;
	color: var(--cw-text);
	text-align: center;
}
.cw-sheet__title--left { text-align: left; }
.cw-btn--wide { width: 100%; justify-content: center; }

/* --- padeka --- */
.cw-done { text-align: center; margin-bottom: var(--cw-s24); }
.cw-done__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--cw-s16);
	border-radius: 50%;
	background: var(--cw-ok);
}
.cw-done__title { margin: 0 0 var(--cw-s8); font-size: 20px; font-weight: 700; color: var(--cw-text); }
.cw-done__text { margin: 0 auto; max-width: 560px; font-size: 15px; line-height: 1.5; }
.cw-done__mail { color: inherit; font-weight: 700; }

.cw-done__note {
	margin: var(--cw-s16) auto;
	max-width: 620px;
	text-align: center;
	font-size: 14px;
	color: var(--cw-text);
}
.cw-row--done { display: flex; gap: var(--cw-s12); flex-wrap: wrap; justify-content: center; }

.cw-mailpreview {
	width: 100%;
	padding: var(--cw-s24);
	border: 1px solid var(--cw-border-subtle);
	border-radius: var(--cw-radius);
	background: var(--cw-canvas);
	font-size: 15px;
	line-height: 1.5;
	color: var(--cw-text);
}
.cw-mailpreview p { margin: 0 0 var(--cw-s12); }

/* --- registracijos ekranas (Figma: 150:17944) --- */
.cw-hero--title { padding: 32px var(--cw-s24) 0; }
.cw-hero__heading {
	max-width: 1008px;
	margin: 0 auto;
	font-family: var(--cw-display);   /* Figma: Varela Round 42 */
	font-size: 42px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-text);
	text-align: center;
}

.cw-lead {
	width: 724px;                     /* Figma: Title 724, Roboto 24 */
	max-width: 100%;
	margin: 0 auto var(--cw-s24);
	font-family: var(--cw-body);
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-heading);
	text-align: center;
}

.cw-picked {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--cw-s8);
	width: 100%;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.cw-picked__intro {
	margin: 0;
	font-family: var(--cw-body);      /* Figma: Roboto 16 */
	font-size: 16px;
	font-weight: 400;
	color: var(--cw-heading);
}
.cw-picked__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--cw-s8);
	width: 100%;
}
.cw-picked__row .cw-note--row { flex: 1 1 auto; min-width: 0; }   /* Figma: Note flex-1 */
.cw-picked__form { flex: 0 0 auto; margin: 0; }
.cw-picked__form .cw-fbtn { height: 100%; white-space: nowrap; }

/* Info blokas su forma */
.cw-regform {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--cw-s24);               /* Figma: gap-24 */
	width: 100%;
	padding: 32px var(--cw-s24);      /* Figma: py-32 px-24 */
	border-radius: var(--cw-radius);
	background: var(--cw-surface);    /* #e6edf3 */
}
.cw-regform__title {
	margin: 0;
	font-family: var(--cw-helv);      /* Figma: Helvetica Bold 28 */
	font-size: 28px;
	font-weight: 700;
	line-height: normal;
	color: var(--cw-text);
}
.cw-regform__text {
	width: 100%;
	margin: 0;
	font-family: var(--cw-sans);      /* Figma: Inter Regular 18 */
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-text);
}

.cw-fields {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s8);
	width: 100%;
}
.cw-field {
	display: flex;
	flex-direction: column;
	gap: var(--cw-s8);
	width: 100%;
	margin: 0;
	padding: var(--cw-s8);            /* Figma: p-8 */
	border-radius: var(--cw-radius);
	background: #fff;
}
.cw-field__label {
	font-family: var(--cw-sans);      /* Figma: Inter Regular 16 */
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-text-2);
}
.cw-field__input {
	width: 100%;
	min-height: 23px;
	padding: 0;
	border: 0;                        /* Figma: be remelio, tik balta kortele */
	background: none;
	font-family: var(--cw-helv);      /* Figma: Helvetica Regular 20 */
	font-size: 20px;
	line-height: normal;
	color: var(--cw-text);
}
.cw-field__input:focus { outline: none; }
.cw-field:focus-within { box-shadow: 0 0 0 2px var(--cw-border-strong); }

/* Klaidingas laukas: rėmelis + paaiškinimas po laukeliu. */
.cw-field--bad { box-shadow: 0 0 0 2px var(--cw-error); }
.cw-field--bad:focus-within { box-shadow: 0 0 0 2px var(--cw-error); }
.cw-field__err {
	font-family: var(--cw-sans);
	font-size: 14px;
	line-height: 1.3;
	color: var(--cw-error);
}
.cw-consent--bad .cw-consent__box { border-color: var(--cw-error); }

/* Pasizadejimo varnele su Figma ikona */
.cw-consent {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: var(--cw-s8);
	width: 100%;
	margin: 0;
	font-family: var(--cw-sans);      /* Figma: Inter Regular 18 */
	font-size: 18px;
	line-height: normal;
	color: var(--cw-text);
	cursor: pointer;
}
.cw-consent__input {
	/* Nematomas, bet fokusuojamas ir 24x24 - kitaip narsykle neturi kur
	   parodyti klaidos burbulo ir meta „not focusable". */
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.cw-consent__box {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border: 2px solid var(--cw-text-2);
	border-radius: 50%;
	background: none;                  /* kol nepazymeta - varneles nera */
}
.cw-consent__input:checked ~ .cw-consent__box {
	border: 0;
	background: url("img/checkbox.svg") center / 24px 24px no-repeat;
}
.cw-consent__input:focus-visible ~ .cw-consent__box { box-shadow: 0 0 0 3px rgba(32, 81, 121, .4); }
.cw-consent__text { flex: 1 1 auto; }

.cw-fbtn--submit {
	width: 310px;                     /* Figma: Button 310x57 */
	max-width: 100%;
	height: 57px;
	padding: var(--cw-s16);
	gap: var(--cw-s8);
	font-size: 16px;                  /* Figma: Helvetica Bold 16 */
	justify-content: space-between;
}
.cw-fbtn--submit span { flex: 1 1 auto; text-align: left; }

@media (max-width: 699px) {
	.cw-hero--title { padding: var(--cw-s24) var(--cw-s16) 0; }
	.cw-hero__heading { font-size: 28px; }
	.cw-lead { font-size: 18px; }
	.cw-regform__title { font-size: 22px; }
	.cw-regform__text,
	.cw-consent { font-size: 16px; }
}

/* --- issokantis langas po patvirtinimo (Figma: Info 134:11985) --- */
.cw-pop {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--cw-s16);
	background: rgba(13, 34, 52, .35);
	animation: cw-pop-fade .2s ease both;
}
.cw-pop.is-out { animation: cw-pop-fade .25s ease both reverse; }
@keyframes cw-pop-fade { from { opacity: 0; } to { opacity: 1; } }

.cw-pop__card {
	position: relative;
	width: 474px;                      /* Figma: Info 474x255 */
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 48px;
	padding: 64px var(--cw-s16) 32px;  /* Figma: pt-64 px-16 pb-32 */
	border-radius: 24px;
	background: var(--cw-brand);       /* #a3ccec */
	filter: drop-shadow(2px 6px 8px rgba(0, 0, 0, .4));
	animation: cw-pop-rise .28s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes cw-pop-rise {
	from { opacity: 0; transform: translateY(16px) scale(.96); }
	to   { opacity: 1; transform: none; }
}

.cw-pop__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	line-height: 0;
}

/* Dovanos kysо virs kortelės, kaip makete */
.cw-pop__gift {
	position: absolute;
	pointer-events: none;
	height: auto;
}
/* Figma dėžutės: A 145x124 (centras 40,17), B 167x145 (centras 183,-4).
   Musu PNG kitokiu santykiu, todel derinam pagal auksti. */
.cw-pop__gift--a {
	left: -50px;
	top: -45px;
	width: 181px;                      /* auksis ~124, kaip makete */
	transform: rotate(160.7deg) scaleY(-1);
}
.cw-pop__gift--b {
	left: 77px;
	top: -77px;
	width: 212px;                      /* auksis ~145, kaip makete */
	transform: rotate(27.63deg);
}

.cw-pop__name {
	margin: 0;
	font-family: var(--cw-helv);       /* Figma: Helvetica Regular 36 */
	font-size: 36px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-text);
	text-align: center;
}
.cw-pop__title {
	margin: 0;
	font-family: var(--cw-helv);       /* Figma: Helvetica Bold 48 */
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--cw-text);
	text-align: center;
}
.cw-pop__card > .cw-pop__name { margin-bottom: -40px; }   /* Figma: List gap 8 */

@media (max-width: 520px) {
	.cw-pop__card { gap: 32px; padding-top: 56px; }
	.cw-pop__name { font-size: 26px; }
	.cw-pop__title { font-size: 34px; }
	.cw-pop__gift--a { width: 130px; left: -32px; top: -32px; }
	.cw-pop__gift--b { width: 152px; left: 56px; top: -55px; }
}

@media (prefers-reduced-motion: reduce) {
	.cw-pop, .cw-pop__card { animation: none !important; }
}

/* --- užsklanda, kai kampanija neaktyvi --- */
.cw-closed {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--cw-s16);
	width: 100%;
	padding: 56px var(--cw-s24) 64px;
	border-radius: var(--cw-radius);
	background: var(--cw-surface);
	text-align: center;
}
.cw-closed__gift { width: 150px; height: auto; }
.cw-closed__title {
	margin: 0;
	font-family: var(--cw-display);
	font-size: 34px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-heading);
}
.cw-closed__text {
	max-width: 560px;
	margin: 0;
	font-family: var(--cw-body);
	font-size: 20px;
	line-height: 1.45;
	color: var(--cw-heading);
}

@media (max-width: 699px) {
	.cw-closed { padding: 36px var(--cw-s16) 44px; }
	.cw-closed__title { font-size: 26px; }
	.cw-closed__text { font-size: 17px; }
	.cw-closed__gift { width: 110px; }
}

/* --- privatumo politika: nuoroda ir iššokantis langas --- */
.cw-privacy-line {
	margin: var(--cw-s16) 0 0;
	font-family: var(--cw-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--cw-text-2);
	text-align: center;
}
.cw-privacy-line--foot { margin: var(--cw-s32) 0 0; }
.cw-privacy-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--cw-text);
	text-decoration: underline;
	cursor: pointer;
}
.cw-privacy-link:hover { text-decoration: none; }

body.cw-modal-open { overflow: hidden; }

.cw-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--cw-s16);
}
.cw-modal[hidden] { display: none; }
.cw-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 34, 52, .55);
}
.cw-modal__box {
	position: relative;
	z-index: 1;
	width: 640px;
	max-width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	padding: var(--cw-s32);
	border-radius: var(--cw-radius);
	background: #fff;
	box-shadow: 0 12px 40px rgba(13, 34, 52, .25);
}
.cw-modal__x {
	position: absolute;
	top: var(--cw-s16);
	right: var(--cw-s16);
	display: flex;
	padding: 4px;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
}
.cw-modal__x:hover { background: var(--cw-surface); }
.cw-modal__title {
	margin: 0 var(--cw-s32) var(--cw-s24) 0;
	font-family: var(--cw-display);
	font-size: 28px;
	font-weight: 400;
	color: var(--cw-heading);
}
.cw-modal__body h3 {
	margin: var(--cw-s24) 0 var(--cw-s8);
	font-family: var(--cw-body);
	font-size: 17px;
	font-weight: 700;
	color: var(--cw-heading);
}
.cw-modal__body h3:first-child { margin-top: 0; }
.cw-modal__body p {
	margin: 0;
	font-family: var(--cw-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--cw-text);
}

/* Neprivaloma varnele - sviesesne uz pasizadejima. */
.cw-consent--optional {
	margin-top: var(--cw-s16);
	font-size: 16px;
	color: var(--cw-text-2);
}

@media (max-width: 599px) {
	.cw-modal__box { padding: var(--cw-s24) var(--cw-s16); max-height: 88vh; }
	.cw-modal__title { font-size: 24px; }
}

/* --- prisijungimas --- */
.cw-screen--narrow { gap: var(--cw-s16); }   /* 36 px tarp formos ir pranesimo per daug */
.cw-login .cw-fields { gap: var(--cw-s12); }
.cw-login__remember {
	margin-top: calc(var(--cw-s16) * -1);
	font-size: 15px;
}
/* Mygtukas tokio pat plocio kaip laukai - visas blokas vienodo krasto. */
.cw-login .cw-fbtn--submit { width: 100%; }

/* --- vaiku iejimo ekranas (Figmoje nenupiestas - perimtas uzsklandos blokas) --- */
.cw-welcome {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--cw-s16);
	width: 100%;
	padding: 48px var(--cw-s24) 56px;
	border-radius: var(--cw-radius);
	background: var(--cw-surface);
	text-align: center;
}
.cw-welcome__gift { width: 150px; height: auto; }
.cw-welcome__title {
	margin: 0;
	font-family: var(--cw-display);
	font-size: 34px;
	font-weight: 400;
	line-height: normal;
	color: var(--cw-heading);
}
.cw-welcome__text {
	max-width: 560px;
	margin: 0;
	font-family: var(--cw-body);
	font-size: 20px;
	line-height: 1.45;
	color: var(--cw-heading);
}
.cw-welcome__btn {
	width: 310px;
	max-width: 100%;
	height: 57px;
	margin-top: var(--cw-s8);
	padding: var(--cw-s16);
	font-size: 16px;
	justify-content: space-between;
	text-decoration: none;
}
.cw-welcome__hint {
	max-width: 520px;
	margin: var(--cw-s16) 0 0;
	padding-top: var(--cw-s16);
	border-top: 1px solid var(--cw-surface-2);
	font-family: var(--cw-body);
	font-size: 17px;
	line-height: 1.45;
	color: var(--cw-text-2);
}

@media (max-width: 699px) {
	.cw-welcome { padding: 32px var(--cw-s16) 40px; }
	.cw-welcome__title { font-size: 26px; }
	.cw-welcome__text { font-size: 17px; }
	.cw-welcome__gift { width: 110px; }
}

/* Tikras vardas globejo kortelese - matomas tik jam, ne viesai. */
.cw-card__real {
	display: block;
	margin-top: 2px;
	font-family: var(--cw-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--cw-text-2);
}

/* Klaidingas laukas globejo formoje. */
.cw-form__bad input { outline: 2px solid var(--cw-error); outline-offset: 1px; }
.cw-form__err {
	display: block;
	margin-top: 4px;
	font-family: var(--cw-sans);
	font-size: 14px;
	line-height: 1.3;
	color: var(--cw-error);
}

/* --- vaiko sutikimas noro formoje --- */
.cw-agree {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: var(--cw-s12);
	width: 100%;
	margin: var(--cw-s16) 0 0;
	padding: var(--cw-s16);
	border-radius: var(--cw-radius);
	background: var(--cw-surface);
	font-family: var(--cw-body);
	font-size: 16px;
	line-height: 1.45;
	color: var(--cw-heading);
	cursor: pointer;
	text-align: left;
}
.cw-agree__input {
	position: absolute;
	left: var(--cw-s16);
	top: var(--cw-s16);
	width: 24px;
	height: 24px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.cw-agree__box {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border: 2px solid var(--cw-border-strong);
	border-radius: 6px;
	background: #fff;
}
.cw-agree__input:checked + .cw-agree__box {
	background: var(--cw-border-strong)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.cw-agree__input:focus-visible + .cw-agree__box { outline: 2px solid var(--cw-text); outline-offset: 2px; }

/* ==========================================================================
   Mygtuku busena uzvedus pele.
   Vienoje vietoje, failo gale - kad nebutu nustelbta ankstesniu taisykliu
   (tai jau buvo nutike tris kartus) ir kad pridedant nauja mygtuka
   matytusi, kas jau yra.
   Neaktyvus (aria-disabled, [disabled]) ir tekstiniai (.cw-wish__cta--taken)
   elementai lieka nepakite - jie nera spaudziami.
   ========================================================================== */

.cw-btn,
.cw-fbtn,
.cw-wish__cta,
.cw-bar__add,
.cw-message__copy,
.cw-share__item,
.cw-modal__x {
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, filter .15s ease;
}

@media (prefers-reduced-motion: reduce) {
	.cw-btn,
	.cw-fbtn,
	.cw-wish__cta,
	.cw-bar__add,
	.cw-message__copy,
	.cw-share__item,
	.cw-modal__x { transition: none; }
}

/* Noro kortele ir apatines juostos „Trinti" - sviesus mygtukas. */
.cw-wish__cta:not(.cw-wish__cta--taken):hover,
.cw-fbtn:not(.cw-fbtn--primary):not([aria-disabled="true"]):not([disabled]):hover {
	background: var(--cw-surface-2-hover);
}
.cw-fbtn:not([aria-disabled="true"]):not([disabled]):hover {
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .14));
}

/* „Ispildyti norus", „Uzregistruoti" ir kiti tamsus mygtukai. */
.cw-fbtn--primary:not([aria-disabled="true"]):not([disabled]):hover,
.cw-btn--primary:not([aria-disabled="true"]):not([disabled]):hover {
	background: var(--cw-brand-strong-hover);
}

/*
 * „Ghost" mygtukas: spalvu uzraktas (body.cw-app .cw-btn--ghost) jam duoda
 * ta pati sviesu fona kaip .cw-fbtn, tad ir uzvedus pele - ta pati spalva.
 */
.cw-btn--ghost:not([aria-disabled="true"]):not([disabled]):hover {
	background: var(--cw-surface-2-hover);
}

/* Pavojingi veiksmai. */
.cw-btn--danger-solid:not([disabled]):hover { background: var(--cw-error-hover); }
.cw-btn--danger:not([disabled]):hover { color: var(--cw-error-hover); text-decoration: none; }

/* Tekstinis mygtukas po forma. !important - nes spalvu uzraktas ji fiksuoja. */
body.cw-app .cw-btn--quiet:not([disabled]):hover {
	color: var(--cw-text) !important;
	border-bottom-color: var(--cw-border-strong);
}
