/* ThikiShop - Back in Stock form 2.6 (13 Oct 2026). Scoped to .thk-bis; colours, font and radii come from the
   Woodmart theme variables (fallbacks = thikishop.gr values), so the form follows the theme if it changes. */
.thk-bis {
	--bis-accent: var(--wd-primary-color, #2e6bc6);
	--bis-accent-hover: var(--btn-accented-bgcolor-hover, #2a61b4);
	--bis-accent-ring: rgba(46, 107, 198, .2);
	--bis-ink: var(--wd-title-color, #242424);
	--bis-text: var(--wd-text-color, #555);
	--bis-muted: #6f7a8c;
	--bis-line: var(--wd-form-brd-color, rgba(0, 0, 0, .1));
	--bis-radius: var(--wd-form-brd-radius, 5px);
	--bis-tint: #f3f7fd;
	--bis-tint-line: #d9e4f5;
	--bis-ok: #1d8348;
	--bis-ok-tint: #f0f9f3;
	--bis-ok-line: #cde9d7;
	--bis-err: #b50808;
	--bis-err-tint: #fdf2f2;
	--bis-info: #7a5600;
	--bis-info-tint: #fff7e3;
	margin: 16px 0 24px;
	max-width: 640px;
	color: var(--bis-text);
	font-family: var(--wd-text-font, Inter, Arial, Helvetica, sans-serif);
	font-size: 14px;
	line-height: 1.55;
}
.thk-bis [hidden] { display: none !important; }
.thk-bis *, .thk-bis *::before, .thk-bis *::after { box-sizing: border-box; }
.thk-bis svg { display: block; }
.thk-bis p { margin: 0; }
.thk-bis .thk-bis__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.thk-bis .thk-bis__panel {
	background: var(--bis-tint);
	border: 1px solid var(--bis-tint-line);
	border-radius: calc(var(--bis-radius) + 3px);
	padding: 18px 18px 16px;
}
.thk-bis .thk-bis__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.thk-bis .thk-bis__titles { min-width: 0; }
.thk-bis .thk-bis__badge {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--bis-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 1px var(--bis-tint-line), 0 2px 6px -2px rgba(17, 38, 77, .18);
}
.thk-bis .thk-bis__badge svg { width: 20px; height: 20px; transform-origin: 50% 15%; }
.thk-bis .thk-bis__panel--form:hover .thk-bis__badge svg,
.thk-bis .thk-bis__panel--form:focus-within .thk-bis__badge svg { animation: thk-bis-ring .9s ease 1; }
.thk-bis .thk-bis__title { color: var(--bis-ink); font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 3px; }
.thk-bis .thk-bis__lead { font-size: 14px; line-height: 1.55; }

/* email + button */
.thk-bis .thk-bis__row { display: flex; flex-wrap: wrap; gap: 10px; }
.thk-bis .thk-bis__field { position: relative; flex: 1 1 230px; min-width: 0; }
.thk-bis .thk-bis__field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	color: #8b95a7;
	pointer-events: none;
	transition: color .2s ease;
}
.thk-bis .thk-bis__input {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 42px;
	border: var(--wd-form-brd-width, 2px) solid var(--bis-line);
	border-radius: var(--bis-radius);
	background: #fff;
	color: var(--bis-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.thk-bis .thk-bis__input::placeholder { color: #98a1b1; opacity: 1; }
.thk-bis .thk-bis__input:hover { border-color: rgba(0, 0, 0, .18); }
.thk-bis .thk-bis__input:focus { outline: none; border-color: var(--bis-accent); box-shadow: 0 0 0 3px var(--bis-accent-ring); }
.thk-bis .thk-bis__field:focus-within .thk-bis__field-icon { color: var(--bis-accent); }
.thk-bis .thk-bis__field.is-invalid .thk-bis__input { border-color: var(--bis-err); box-shadow: 0 0 0 3px rgba(181, 8, 8, .12); }
.thk-bis .thk-bis__field.is-invalid .thk-bis__field-icon { color: var(--bis-err); }

.thk-bis .thk-bis__btn {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: var(--bis-radius);
	background: var(--bis-accent);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(17, 38, 77, .14);
	transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.thk-bis .thk-bis__btn:focus { outline: none; }
.thk-bis .thk-bis__btn:focus-visible { outline: 2px solid var(--bis-accent); outline-offset: 2px; }
.thk-bis .thk-bis__btn:active { transform: translateY(0); box-shadow: none; }
.thk-bis .thk-bis__btn-icon svg { width: 17px; height: 17px; transform-origin: 50% 15%; }
.thk-bis .thk-bis__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: thk-bis-spin .7s linear infinite;
}
@media (hover: hover) {
	.thk-bis .thk-bis__btn:hover { background: var(--bis-accent-hover); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(46, 107, 198, .7); }
	.thk-bis .thk-bis__btn:hover .thk-bis__btn-icon svg { animation: thk-bis-ring .9s ease 1; }
}
.thk-bis.is-busy .thk-bis__btn { cursor: progress; transform: none; box-shadow: none; background: var(--bis-accent-hover); }
.thk-bis.is-busy .thk-bis__btn-icon { display: none; }
.thk-bis.is-busy .thk-bis__spinner { display: inline-block; }
.thk-bis.is-busy .thk-bis__input { background: #f7f9fc; }

/* consent */
.thk-bis .thk-bis__consent {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bis-text);
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}
.thk-bis .thk-bis__consent-input { position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; opacity: 0; cursor: pointer; }
.thk-bis .thk-bis__box {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(0, 0, 0, .22);
	border-radius: 4px;
	background: #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.thk-bis .thk-bis__box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.thk-bis .thk-bis__consent:hover .thk-bis__box { border-color: var(--bis-accent); }
.thk-bis .thk-bis__consent-input:checked + .thk-bis__box { background: var(--bis-accent); border-color: var(--bis-accent); }
.thk-bis .thk-bis__consent-input:checked + .thk-bis__box svg { opacity: 1; transform: scale(1); }
.thk-bis .thk-bis__consent-input:focus-visible + .thk-bis__box { box-shadow: 0 0 0 3px var(--bis-accent-ring); }
.thk-bis .thk-bis__consent.is-invalid .thk-bis__box { border-color: var(--bis-err); box-shadow: 0 0 0 3px rgba(181, 8, 8, .12); }
.thk-bis .thk-bis__consent a { color: var(--bis-accent); text-decoration: underline; text-underline-offset: 2px; }

/* messages */
.thk-bis .thk-bis__msg { display: none; margin: 8px 0 0; padding: 10px 12px; border-radius: var(--bis-radius); font-size: 13.5px; line-height: 1.45; }
.thk-bis .thk-bis__msg.is-error { display: flex; gap: 8px; align-items: flex-start; background: var(--bis-err-tint); color: var(--bis-err); }
.thk-bis .thk-bis__msg.is-info { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--bis-info-tint); color: var(--bis-info); }
.thk-bis .thk-bis__msg svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; }
.thk-bis .thk-bis__msg-text { flex: 1 1 200px; }
.thk-bis .thk-bis__reload {
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0 14px;
	border: 1px solid currentColor;
	border-radius: var(--bis-radius);
	background: #fff;
	color: inherit;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.thk-bis .thk-bis__note { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--bis-muted); font-size: 12.5px; }
.thk-bis .thk-bis__note svg { flex: 0 0 14px; width: 14px; height: 14px; }

/* done */
.thk-bis .thk-bis__panel--done { display: flex; gap: 14px; align-items: flex-start; background: var(--bis-ok-tint); border-color: var(--bis-ok-line); }
.thk-bis .thk-bis__badge--ok { color: var(--bis-ok); box-shadow: 0 0 0 1px var(--bis-ok-line), 0 2px 6px -2px rgba(17, 77, 38, .18); }
.thk-bis .thk-bis__done-title:focus { outline: none; }
.thk-bis .thk-bis__email { color: var(--bis-ink); font-weight: 600; overflow-wrap: anywhere; }
.thk-bis .thk-bis__link {
	display: inline;
	height: auto;
	min-height: 0;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--bis-accent);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.thk-bis .thk-bis__link:focus-visible { outline: 2px solid var(--bis-accent); outline-offset: 2px; border-radius: 2px; }

/* motion */
.thk-bis .is-in { animation: thk-bis-in .35s ease both; }
.thk-bis .is-in .thk-bis__tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: thk-bis-draw .45s .15s ease forwards; }
.thk-bis .is-shake { animation: thk-bis-shake .36s ease 1; }
@keyframes thk-bis-spin { to { transform: rotate(360deg); } }
@keyframes thk-bis-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes thk-bis-draw { to { stroke-dashoffset: 0; } }
@keyframes thk-bis-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-11deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-3deg); } }
@keyframes thk-bis-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* phones: stacked, full-width 50px tap targets; 16px text so iOS does not zoom */
@media (max-width: 575px) {
	.thk-bis { margin: 14px 0 22px; }
	.thk-bis .thk-bis__panel { padding: 16px 14px 14px; }
	.thk-bis .thk-bis__head { gap: 12px; margin-bottom: 12px; }
	.thk-bis .thk-bis__row { flex-direction: column; gap: 10px; }
	.thk-bis .thk-bis__field { flex: 0 0 auto; }
	.thk-bis .thk-bis__input { height: 50px; }
	.thk-bis .thk-bis__btn { width: 100%; height: 50px; font-size: 14px; }
	.thk-bis .thk-bis__consent { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.thk-bis *, .thk-bis *::before, .thk-bis *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
	.thk-bis .thk-bis__spinner { animation: thk-bis-spin 1.6s linear infinite !important; }
	.thk-bis .is-in .thk-bis__tick { stroke-dashoffset: 0; }
}
