/* Forcelab – продуктова страница */

/* ---------- Ключови цифри ---------- */
.summary .flpp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 18px;
	order: 0;
}
.summary .flpp-facts.is-empty {
	display: none;
}
.summary .flpp-f {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 96px;
	/* min-width остава auto: плочката не става по-тясна от най-дългата дума */
	max-width: calc(50% - 4px); /* една плочка не се разтяга на цял ред */
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	background: #f6f5f3;
	line-height: 1.2;
}
.summary .flpp-f[hidden] {
	display: none;
}
.summary .flpp-f b {
	display: block;
	color: #0a0a0a;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.01em;
	overflow-wrap: break-word; /* реже дума само ако иначе излиза от плочката */
}
.summary .flpp-f--p b s.flpp-old {
	display: inline;
	margin: 0 5px 0 0;
	color: #9a9a9a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: line-through;
}
.summary .flpp-f--promo b {
	color: #dc3c23;
}
.summary .flpp-f .flpp-nw {
	display: inline;
	margin: 0;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	white-space: nowrap;
}
/* „Спестяваш“ – отличена в червено */
.summary .flpp-f--s {
	border-color: rgba(220, 60, 35, .25);
	background: #fdeeea;
}
.summary .flpp-f--s b {
	color: #dc3c23;
	white-space: nowrap;
}
.summary .flpp-f--s span {
	color: #a8321d;
}
/* Дозите и цената на доза не се пренасят */
.summary .flpp-f--d b,
.summary .flpp-f--p b {
	white-space: nowrap;
}
.summary .flpp-f span {
	display: block;
	margin-top: 3px;
	color: #6b6b6b;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.summary .flpp-save {
	position: absolute;
	top: -9px;
	right: 8px;
	padding: 2px 7px;
	border-radius: 90px;
	background: #dc3c23;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}
.summary .flpp-save[hidden] {
	display: none;
}

/* ---------- Доверие под бутона ---------- */
.summary ul.flpp-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 16px 0 6px;
	padding: 0;
	list-style: none;
}
.summary ul.flpp-trust li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f6f5f3;
	color: #3a3a3a;
	font-size: 12.5px;
	line-height: 1.35;
}
.summary ul.flpp-trust li::before {
	display: none;
}
.summary ul.flpp-trust svg {
	flex: 0 0 22px;
	color: #dc3c23;
}
.summary ul.flpp-trust b,
.summary ul.flpp-trust strong {
	color: #0a0a0a;
	font-weight: 700;
}

/* ---------- Как се приема ---------- */
.summary .flpp-how {
	margin: 14px 0 8px;
	padding: 16px 16px 14px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 14px;
	background: #fff;
}
.summary .flpp-how__h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: #0a0a0a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}
.summary .flpp-how__h::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: rgba(0, 0, 0, .08);
}
.summary ol.flpp-how__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.summary .flpp-how--1 ol.flpp-how__list { grid-template-columns: minmax(0, 1fr); }
.summary .flpp-how--2 ol.flpp-how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary .flpp-how--4 ol.flpp-how__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary ol.flpp-how__list li.flpp-how__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 2px;
	text-align: center;
	list-style: none;
}
/* стрелка между стъпките */
.summary ol.flpp-how__list li.flpp-how__step + li.flpp-how__step::before {
	content: "";
	display: block;
	position: absolute;
	top: 23px;
	left: -5px;
	width: 7px;
	height: 7px;
	border-top: 2px solid #cfcbc5;
	border-right: 2px solid #cfcbc5;
	background: none;
	transform: translateX(-50%) rotate(45deg);
}
.summary .flpp-how__ico {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0 0 9px;
	border-radius: 50%;
	background: #f6f5f3;
	color: #dc3c23;
}
.summary .flpp-how__ico em {
	position: absolute;
	top: -3px;
	left: -3px;
	width: 19px;
	height: 19px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0a0a0a;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
	line-height: 15px;
	text-align: center;
}
.summary .flpp-how__step b {
	display: block;
	color: #0a0a0a;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.2;
}
.summary .flpp-how__step .flpp-how__s {
	display: block;
	margin-top: 3px;
	color: #6b6b6b;
	font-size: 12px;
	line-height: 1.3;
}
.summary p.flpp-how__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	padding: 9px 12px;
	border-radius: 10px;
	background: #f6f5f3;
	color: #3a3a3a;
	font-size: 12.5px;
	line-height: 1.35;
}
.summary p.flpp-how__note[hidden] {
	display: none;
}
.summary p.flpp-how__note svg {
	flex: 0 0 16px;
	color: #dc3c23;
}

/* ---------- Снимките остават видими (десктоп) ---------- */
@media (min-width: 993px) {
	.product-details-wrapper.flpp-gal-natural > .woocommerce-product-gallery {
		align-self: flex-start;
	}
	/* overflow:hidden на обвивката спира sticky; clip реже по същия начин, но не пречи. */
	.product-details-wrapper.flpp-gal-sticky {
		overflow: clip !important;
	}
	.product-details-wrapper.flpp-gal-sticky > .woocommerce-product-gallery {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: var(--flpp-top, 100px) !important;
	}
}

/* Подсказка при „Избери вариант“ */
@keyframes flppFlash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(220, 60, 35, 0); }
	30% { box-shadow: 0 0 0 4px rgba(220, 60, 35, .35); }
}
.flpp-flash {
	border-radius: 12px;
	animation: flppFlash 1.2s ease 2;
}

/* ---------- Лента „Добави в количката“ ---------- */
.flpp-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 996;
	padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, .08);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
	transform: translateY(110%);
	transition: transform .25s ease;
	visibility: hidden;
}
.flpp-bar.is-on {
	transform: none;
	visibility: visible;
}
/* Скрита, докато е отворена количката отстрани или мобилното меню */
body.drawer-open .flpp-bar.is-on,
html.fl-mm-m-lock .flpp-bar.is-on {
	transform: translateY(110%);
	visibility: hidden;
}
.flpp-bar__in {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1280px;
	margin: 0 auto;
}
.flpp-bar__img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	background: #f4f4f4;
}
.flpp-bar__img[hidden] {
	display: none;
}
.flpp-bar__txt {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.25;
}
.flpp-bar__t {
	display: block;
	overflow: hidden;
	color: #0a0a0a;
	font-size: 15px;
	font-weight: 800;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}
.flpp-bar__s {
	display: block;
	overflow: hidden;
	color: #6b6b6b;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.flpp-bar__p {
	flex: 0 0 auto;
	color: #0a0a0a;
	font-size: 18px;
	font-weight: 800;
	white-space: nowrap;
}
.flpp-bar__p del {
	margin-right: 6px;
	color: #9a9a9a;
	font-size: 13px;
	font-weight: 500;
}
.flpp-bar__p ins {
	text-decoration: none;
}
.flpp-bar .flpp-bar__btn {
	flex: 0 0 auto;
	min-width: 220px;
	min-height: 48px;
	margin: 0;
	padding: 0 26px;
	border: 0;
	border-radius: 90px;
	background: #dc3c23;
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
}
.flpp-bar .flpp-bar__btn:hover {
	background: #c0331c;
}

@media (max-width: 767px) {
	.summary .flpp-how {
		padding: 14px 12px 12px;
	}
	.summary .flpp-how--4 ol.flpp-how__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.summary .flpp-how--4 ol.flpp-how__list li.flpp-how__step:nth-child(3)::before {
		display: none;
	}
	.summary .flpp-how__ico {
		width: 48px;
		height: 48px;
	}
	.summary ol.flpp-how__list li.flpp-how__step + li.flpp-how__step::before {
		top: 20px;
	}
	.summary .flpp-how__step b {
		font-size: 13.5px;
	}
	.summary .flpp-how__step .flpp-how__s {
		font-size: 11.5px;
	}
	.summary ul.flpp-trust {
		gap: 6px;
	}
	.summary ul.flpp-trust li {
		padding: 9px 10px;
		font-size: 12px;
	}
	.flpp-bar {
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
	}
	.flpp-bar__in {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr) auto;
		grid-template-areas: "img t btn" "img p btn";
		column-gap: 10px;
		row-gap: 1px;
		align-items: center;
	}
	.flpp-bar__img {
		grid-area: img;
		width: 40px;
		height: 40px;
	}
	.flpp-bar__txt {
		grid-area: t;
		align-self: end;
	}
	.flpp-bar__t {
		font-size: 13px;
	}
	.flpp-bar__s {
		display: none;
	}
	.flpp-bar__p {
		grid-area: p;
		align-self: start;
		font-size: 14px;
	}
	.flpp-bar__p del {
		display: none;
	}
	.flpp-bar .flpp-bar__btn {
		grid-area: btn;
	}
	.flpp-bar .flpp-bar__btn {
		min-width: 0;
		min-height: 44px;
		padding: 0 18px;
		font-size: 12.5px;
	}
}

@media (max-width: 360px) {
	.summary ul.flpp-trust {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.flpp-bar {
		transition: none;
	}
	.flpp-flash {
		animation: none;
	}
}
