/* Dažnai perkama kartu – Little Kaj */
.lkfbt {
	--fb-accent: #d1bcaf;
	--fb-accent-ink: #8c6a55;
	--fb-ink: #2e2723;
	--fb-muted: #8d827b;
	--fb-soft: #faf6f3;
	--fb-line: #eee5df;
	--fb-sale: #b5573b;
	clear: both;
	margin: 28px 0 8px;
	padding: 22px 18px 18px;
	border-radius: 20px;
	background: var(--fb-soft);
	font-family: inherit;
	color: var(--fb-ink);
}
.lkfbt-title {
	margin: 0 0 16px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--fb-ink);
	text-transform: none;
}
.lkfbt-list { display: grid; gap: 10px; }

.lkfbt-item {
	display: grid;
	grid-template-columns: 26px 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px 14px 14px;
	border: 1px solid var(--fb-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(46, 39, 35, .04);
	transition: opacity .25s, box-shadow .25s, border-color .25s;
}
.lkfbt-item:hover { box-shadow: 0 8px 22px rgba(46, 39, 35, .07); }
.lkfbt-item.is-unchecked { opacity: .55; }
.lkfbt-item.is-unchecked .lkfbt-img img { filter: grayscale(.5); }
.lkfbt-item.is-unavailable .lkfbt-price { opacity: .4; }

/* Checkbox */
.lkfbt-check {
	position: relative;
	display: inline-flex;
	width: 26px;
	height: 26px;
	margin: 0;
	cursor: pointer;
}
.lkfbt-check input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.lkfbt-check span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid #d9cbc1;
	border-radius: 8px;
	background: #fff;
	color: transparent;
	transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.lkfbt-check span svg { width: 16px; height: 16px; }
.lkfbt-check input:checked + span {
	background: var(--fb-ink);
	border-color: var(--fb-ink);
	color: #fff;
}
.lkfbt-check input:focus-visible + span { outline: 2px solid var(--fb-accent); outline-offset: 2px; }
.lkfbt-check:active span { transform: scale(.92); }

/* Image */
.lkfbt-img {
	display: block;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--fb-soft);
}
.lkfbt .lkfbt-img img {
	float: none !important;
	width: 72px !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 72px !important;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .4s;
}
.lkfbt-item:hover .lkfbt-img img { transform: scale(1.04); }

/* Info */
.lkfbt-name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
}
.lkfbt-name a { color: var(--fb-ink) !important; text-decoration: none; }
.lkfbt-name a:hover { color: var(--fb-accent-ink) !important; }
.lkfbt-this {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--fb-soft);
	color: var(--fb-accent-ink);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
.lkfbt-attr { margin-top: 8px; }
.lkfbt-attr-label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--fb-muted); }
.lkfbt-attr-label b { color: var(--fb-ink); font-weight: 600; }
.lkfbt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lkfbt button.lkfbt-chip {
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 5px 11px !important;
	border: 1px solid var(--fb-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--fb-ink) !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	transition: border-color .2s, background .2s, color .2s;
}
.lkfbt button.lkfbt-chip:hover { border-color: var(--fb-accent) !important; }
.lkfbt button.lkfbt-chip.is-on {
	border-color: var(--fb-ink) !important;
	background: var(--fb-ink) !important;
	color: #fff !important;
}
.lkfbt button.lkfbt-chip.is-color {
	width: 26px !important;
	height: 26px !important;
	padding: 0 !important;
	border: 2px solid #fff !important;
	background: var(--c) !important;
	box-shadow: 0 0 0 1px var(--fb-line) !important;
}
.lkfbt button.lkfbt-chip.is-color.is-on { box-shadow: 0 0 0 2px var(--fb-ink) !important; }
.lkfbt button.lkfbt-chip.is-off {
	opacity: .35;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Price */
.lkfbt-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
	white-space: nowrap;
}
.lkfbt-price del, .lkfbt-price del .amount {
	color: var(--fb-muted) !important;
	font-size: 13px;
	font-weight: 400;
}
.lkfbt-price ins, .lkfbt-price ins .amount {
	color: var(--fb-sale) !important;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}
.lkfbt.is-not-enough .lkfbt-price del { display: none; }
.lkfbt.is-not-enough .lkfbt-price ins { color: var(--fb-ink) !important; }

/* Footer */
.lkfbt-foot { margin-top: 16px; }
.lkfbt-sum {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 22px;
	margin-bottom: 14px;
	font-size: 16px;
	color: var(--fb-ink);
}
.lkfbt-sum b { font-size: 19px; font-weight: 700; }
.lkfbt-saved-wrap { color: var(--fb-sale); }
.lkfbt-saved-wrap b { color: var(--fb-sale); }
.lkfbt button.lkfbt-btn {
	display: block;
	width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 12px 20px !important;
	border: 0 !important;
	border-radius: 35px !important;
	background: var(--fb-ink) !important;
	color: #fff !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background .2s, box-shadow .2s, transform .15s, opacity .2s;
}
.lkfbt button.lkfbt-btn:hover { background: #000 !important; box-shadow: 0 10px 24px rgba(46, 39, 35, .2) !important; }
.lkfbt button.lkfbt-btn:active { transform: scale(.99); }
.lkfbt button.lkfbt-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none !important; }
.lkfbt button.lkfbt-btn.loading { opacity: .7; pointer-events: none; }
.lkfbt button.lkfbt-btn.loading::after {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-left: 10px;
	border: 2px solid #fff;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: lkfbt-spin .7s linear infinite;
}
@keyframes lkfbt-spin { to { transform: rotate(360deg); } }
.lkfbt-msg {
	display: none;
	margin-top: 10px;
	text-align: center;
	font-size: 13px;
	color: var(--fb-sale);
}
.lkfbt-msg.is-ok { color: #2f7a4a; }
.lkfbt-msg.is-shown { display: block; }

@media (max-width: 600px) {
	.lkfbt { padding: 18px 12px 14px; border-radius: 16px; }
	.lkfbt-title { font-size: 18px; }
	.lkfbt-item {
		grid-template-columns: 24px 60px minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
	}
	.lkfbt-img, .lkfbt .lkfbt-img img { width: 60px !important; height: 60px !important; }
	.lkfbt-price {
		grid-column: 3;
		flex-direction: row;
		align-items: baseline;
		justify-content: flex-start;
		gap: 8px;
	}
	.lkfbt-price ins, .lkfbt-price ins .amount { font-size: 15px; }
	.lkfbt-sum { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.lkfbt * { transition: none !important; animation: none !important; }
}
