/* Facialight Cart Offers – side cart (XootiX) kiegészítések, monokróm Facialight stílus */
.flco,
.xoo-wsc-ft-buttons-cont a.flco-checkout {
	--flco-ink: #1a1a1a;
	--flco-soft: #f5f5f5;
	--flco-line: #e4e4e4;
	--flco-muted: #6b6b6b;
	--flco-accent: #e8603c;
	--flco-red: #e8603c;
	--flco-green: #2f8a3f;
}
.flco { color: var(--flco-ink); box-sizing: border-box; }
.flco *, .flco *::before, .flco *::after { box-sizing: border-box; }
.flco p { margin: 0; }

/* ---------- Felső szállítási sáv (fejléc alján) ---------- */
.flco-top {
	flex: 1 0 100%;
	background: var(--flco-soft);
	padding: 11px 16px 13px;
	text-align: center;
	margin-top: 10px;
}
.flco-top__text {
	color: var(--flco-red);
	font-size: 14px;
	line-height: 1.35;
}
.flco-top__label { font-weight: 800; letter-spacing: .01em; }
.flco-top__sep { margin: 0 6px; opacity: .8; }
.flco-top__text strong { font-weight: 800; }
.flco-top__bar {
	height: 6px;
	margin-top: 9px;
	background: #e2e2e2;
	border-radius: 999px;
	overflow: hidden;
}
.flco-top__bar span {
	display: block;
	height: 100%;
	background: var(--flco-red);
	border-radius: 999px;
	transition: width .4s ease;
}
.flco-top.is-reached .flco-top__text { color: var(--flco-green); }
.flco-top.is-reached .flco-top__bar span { background: var(--flco-green); }

/* ---------- Ajánlatok (terméklista alatt) ---------- */
.flco-offers { padding: 4px 16px 16px; }
.flco-offers__inner { display: flex; flex-direction: column; gap: 18px; }

.flco-up {
	position: relative;
	background: var(--flco-soft);
	border: 1px solid var(--flco-line);
	border-radius: 14px;
	padding: 22px 16px 16px;
	margin-top: 10px;
	text-align: center;
}
.flco-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--flco-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.flco-up__title { font-size: 17px; font-weight: 700; line-height: 1.25; margin-bottom: 10px !important; }

.flco-list { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; display: inline-flex; flex-direction: column; gap: 6px; }
.flco-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.35; margin: 0; }
.flco-list--small { display: flex; gap: 4px; margin-bottom: 10px; }
.flco-list--small li { font-size: 12.5px; color: var(--flco-muted); }
.flco-ico { flex: 0 0 auto; margin-top: 1px; color: var(--flco-ink); }

.flco-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--flco-ink);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: opacity .15s ease, transform .15s ease;
}
.flco-btn:hover { opacity: .88; color: #fff; }
.flco-btn:active { transform: scale(.99); }
.flco-btn:disabled { opacity: .55; cursor: default; }
.flco-btn__diff { font-weight: 500; opacity: .75; font-size: 13px; }
.flco-btn--small { min-height: 38px; font-size: 13.5px; padding: 8px 14px; }
.flco-btn.is-loading { position: relative; }
.flco-btn.is-loading .flco-btn__label,
.flco-btn.is-loading .flco-btn__diff { visibility: hidden; }
.flco-btn.is-loading::after {
	content: "";
	position: absolute;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: flco-spin .7s linear infinite;
}
@keyframes flco-spin { to { transform: rotate(360deg); } }

.flco-addons { display: flex; flex-direction: column; gap: 10px; }
.flco-addons__heading { font-size: 15px; font-weight: 700; }
.flco-card {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--flco-line);
	border-radius: 14px;
	padding: 12px;
}
.flco-card__media { border-radius: 10px; overflow: hidden; background: var(--flco-soft); aspect-ratio: 1; }
.flco-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.flco-card__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.flco-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--flco-soft);
	border: 1px solid var(--flco-line);
	margin-bottom: 6px;
}
.flco-card__title { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.flco-card__product { font-size: 12.5px; color: var(--flco-muted); margin: 2px 0 4px !important; }
.flco-card__price { font-size: 15px; font-weight: 700; margin-bottom: 8px !important; }
.flco-card__price del,
.flco-pop__price del { color: var(--flco-muted); font-weight: 400; font-size: 13px; margin-right: 4px; }
.flco-card__price ins,
.flco-pop__price ins { text-decoration: none; color: var(--flco-accent); background: none; }
.flco-card .flco-btn { margin-top: auto; }

/* ---------- Lábléc: összesítő ---------- */
.flco-sum { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.flco-sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.3; }
.flco-sum__row > span:last-child { text-align: right; }
.flco-sum__row--save > span:last-child { color: var(--flco-green); font-weight: 600; }
.flco-sum__row--calc > span:last-child { font-size: 13px; color: var(--flco-muted); }
.flco-sum__row--free > span:last-child { font-weight: 600; }
.flco-sum__row--total { font-size: 16px; }
.flco-sum__row--total del { color: var(--flco-muted); font-size: 14px; margin-right: 4px; }
.flco-sum__row--total strong { font-weight: 700; }

/* ---------- Lábléc: a XootiX pénztár gombja "Pénztárhoz" + fehér lakat ---------- */
.xoo-wsc-container .xoo-wsc-ft-buttons-cont a.flco-checkout {
	grid-column: 1 / -1 !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px;
	width: 100% !important;
	min-height: 54px;
	margin: 0 !important;
	padding: 12px 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--flco-ink) !important;
	color: #fff !important;
	font-family: var(--flco-font-bold) !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	letter-spacing: .01em;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: opacity .15s ease;
}
.xoo-wsc-container .xoo-wsc-ft-buttons-cont a.flco-checkout:hover { opacity: .9; }
.xoo-wsc-container .xoo-wsc-ft-buttons-cont a.flco-checkout::after {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: -2px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2.2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2.2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Lábléc: bizalmi sor ---------- */
.flco-trust {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
}
.flco-trust li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--flco-ink);
}
.flco-trust li.flco-trust__main { flex-basis: 100%; font-size: 14px; }
.flco-trust svg { flex: 0 0 auto; }
.flco-stars { display: inline-flex; gap: 1px; color: var(--flco-ink); }
.flco-stars svg { fill: currentColor; }

/* ---------- Üres kosár ---------- */
.flco-empty { padding: 32px 16px 28px; text-align: center; background: var(--flco-soft); min-height: 100%; }
.flco-empty__title { font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 18px !important; }
.flco-btn--outline,
.flco-btn--outline:visited,
.flco-btn--outline:hover {
	background: #fff;
	color: var(--flco-ink) !important;
	border: 1.5px solid var(--flco-ink);
	text-decoration: none !important;
}
.flco-empty__heading { font-size: 18px; font-weight: 700; text-align: left; margin: 34px 0 12px !important; }
.flco-pop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flco-pop {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border-radius: 14px;
	padding: 12px 10px;
	text-align: center;
}
.flco-pop__media { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--flco-soft); margin-bottom: 10px; }
.flco-pop__media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.flco-pop__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.flco-pop__price { font-size: 14px; font-weight: 700; margin: 4px 0 !important; }
.flco-pop__desc { font-size: 12.5px; color: var(--flco-muted); line-height: 1.35; margin-bottom: 10px !important; }
.flco-pop .flco-btn { margin-top: auto; }

@media (max-width: 380px) {
	.flco-card { grid-template-columns: 68px 1fr; }
	.flco-up__title { font-size: 16px; }
	.xoo-wsc-container .xoo-wsc-ft-buttons-cont a.flco-checkout { font-size: 16px !important; }
	.flco-top__text { font-size: 13px; }
}

/* ---------- Betűtípus: az egész side cart Just Sans ----------
   A XootiX saját betűtípusát felülírjuk. A félkövér a külön feltöltött "Just Sans Semi Bold",
   font-weight nélkül (normal), így nem lesz műfélkövér / túl vastag. Az ikonbetűket nem bántjuk. */
.xoo-wsc-container {
	--flco-font: "Just Sans", sans-serif;
	--flco-font-bold: "Just Sans Semi Bold", "Just Sans", sans-serif;
}
.xoo-wsc-container,
.xoo-wsc-container :where(*:not([class*="icon"]):not([class*="xoo-wsc-bki"]):not([class*="xoo-wsch-bki"]):not(i):not(svg):not(path)) {
	font-family: var(--flco-font) !important;
	font-weight: 400 !important;
	font-synthesis: none;
}
.xoo-wsc-container .xoo-wsch-text,
.xoo-wsc-container .xoo-wsc-pname,
.xoo-wsc-container .xoo-wsc-pname a,
.xoo-wsc-container .xoo-wsc-pprice,
.xoo-wsc-container .xoo-wsc-pprice *,
.xoo-wsc-container .xoo-wsc-smr-ptotal,
.xoo-wsc-container .xoo-wsc-smr-ptotal *,
.xoo-wsc-container .xoo-wsc-ft-btn,
.xoo-wsc-container strong,
.xoo-wsc-container b,
.xoo-wsc-container h1, .xoo-wsc-container h2, .xoo-wsc-container h3, .xoo-wsc-container h4,
.xoo-wsc-container .flco-top__label,
.xoo-wsc-container .flco-top__text strong,
.xoo-wsc-container .flco-badge,
.xoo-wsc-container .flco-up__title,
.xoo-wsc-container .flco-btn,
.xoo-wsc-container .flco-btn *,
.xoo-wsc-container .flco-addons__heading,
.xoo-wsc-container .flco-tag,
.xoo-wsc-container .flco-card__title,
.xoo-wsc-container .flco-card__price,
.xoo-wsc-container .flco-card__price ins,
.xoo-wsc-container .flco-sum__row--save > span:last-child,
.xoo-wsc-container .flco-sum__row--free > span:last-child,
.xoo-wsc-container .flco-sum__row--total strong,
.xoo-wsc-container .flco-empty__title,
.xoo-wsc-container .flco-empty__heading,
.xoo-wsc-container .flco-pop__name,
.xoo-wsc-container .flco-pop__price,
.xoo-wsc-container .flco-pop__price ins {
	font-family: var(--flco-font-bold) !important;
	font-weight: 400 !important;
}
.xoo-wsc-container del,
.xoo-wsc-container del * {
	font-family: var(--flco-font) !important;
	font-weight: 400 !important;
}
.xoo-wsc-container .xoo-wsc-ft-buttons-cont a.flco-checkout::after { font-family: inherit; }
