/* Serce ulubionych na okładce kafla. Renderowane WEWNĄTRZ .btk-covwrap
   (pricing.php) → PRAWY DOLNY róg okładki, nie kolidując ze wstęgą rabatu
   w prawym górnym rogu. Ikona z systemu marki: btk_icon('heart'). */
.btk-fav {
	position: absolute; top: 20px; right: 20px; z-index: 3;
	width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255, 255, 255, .92); border: 1px solid rgba(22, 24, 29, .12);
	display: grid; place-items: center; cursor: pointer; padding: 0;
	box-shadow: 0 1px 4px rgba(22, 24, 29, .14);
	transition: transform .12s ease; color: #5C5850;
}
/* w widoku kafli serce siada w prawym DOLNYM rogu okładki (covwrap = kontekst) */
.btk-covwrap > .btk-fav { top: auto; bottom: 10px; right: 10px; }
.btk-fav:hover { transform: scale(1.1); }
.btk-fav svg { width: 18px; height: 18px; }
.btk-fav svg path { fill: none; stroke: currentColor; }
.btk-fav.is-fav { color: #9D2257; } /* śliwka (promocje/ulubione) z palety marki */
.btk-fav.is-fav svg path { fill: currentColor; stroke: currentColor; }
.btk-fav:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }

/* toast „załóż konto" */
.btk-fav-toast {
	position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
	background: #23252d; color: #fff; font-size: 13.5px; line-height: 1.5;
	padding: 12px 18px; border-radius: 10px; z-index: 99999;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .3); max-width: min(92vw, 480px);
	animation: btkFavIn .25s ease;
}
.btk-fav-toast a { color: #ffd166; font-weight: 700; }
.btk-fav-toast.is-out { opacity: 0; transition: opacity .4s ease; }
@keyframes btkFavIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } }

/* #12: karta zgody na powiadomienia o spadku cen (zakładka „Ulubione") */
.btk-fav-alerts {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid rgba(22, 24, 29, .1);
	border-radius: 14px; padding: 14px 18px; margin: 0 0 22px;
	box-shadow: 0 1px 3px rgba(22, 24, 29, .05);
}
.btk-fav-alerts__ic { color: #047857; display: grid; place-items: center; flex: 0 0 auto; }
.btk-fav-alerts__ic svg { width: 22px; height: 22px; }
.btk-fav-alerts__txt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; }
.btk-fav-alerts__txt b { font-size: 14.5px; color: #20242D; }
.btk-fav-alerts__txt small { font-size: 12.5px; color: #5C5850; line-height: 1.5; }

/* przełącznik (switch) w kolorystyce marki (primary = szmaragd) */
.btk-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.btk-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.btk-switch__slider {
	position: absolute; inset: 0; border-radius: 999px; background: #cfc9be;
	transition: background .18s ease;
}
.btk-switch__slider::before {
	content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
	background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .18s ease;
}
.btk-switch input:checked + .btk-switch__slider { background: #047857; }
.btk-switch input:checked + .btk-switch__slider::before { transform: translateX(20px); }
.btk-switch input:focus-visible + .btk-switch__slider { outline: 2px solid #047857; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.btk-switch__slider, .btk-switch__slider::before { transition: none; }
}
