/* FitNamai prekių palyginimas v1.2.0 – ruda / kreminė / auksinė paletė */
:root {
	--fpp-black: #000000;
	--fpp-dark: #1F150C;
	--fpp-brown: #412D15;
	--fpp-cream: #E1DCC9;
	--fpp-bg: #F6F3EA;
	--fpp-gold: #D4AF37;
	--fpp-gold-d: #B8892E;
	--fpp-line: rgba(65, 45, 21, .14);
	--fpp-shadow: 0 -10px 40px rgba(31, 21, 12, .28);
}

/* ---------- Mygtukas (auksinis) ----------
   „html body button.fpp-btn“ + !important – kad temos (Hello Elementor) bendras
   button stilius (rožinis kraštas, kampuotas) neperrašytų mygtuko. */
html body button.fpp-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: .5em;
	box-sizing: border-box !important;
	font-family: inherit; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .07em; text-transform: uppercase;
	color: #000 !important; border: 0 !important; border-radius: 999px !important; outline: 0;
	background: linear-gradient(135deg, #F3D97A 0%, var(--fpp-gold) 45%, var(--fpp-gold-d) 100%) !important;
	box-shadow: 0 4px 14px rgba(212, 175, 55, .35) !important;
	width: auto; height: auto; min-width: 0 !important; min-height: 0 !important;
	padding: .95em 1.6em !important; margin: 12px 0 0; cursor: pointer; line-height: 1 !important;
	text-decoration: none !important; animation: none !important;
	transition: filter .2s, transform .15s, box-shadow .2s;
}
html body button.fpp-btn:hover { filter: brightness(1.07); transform: translateY(-1px); color: #000 !important; }
html body button.fpp-btn:focus-visible { outline: 2px solid var(--fpp-brown) !important; outline-offset: 3px; }
html body button.fpp-btn:active { transform: scale(.96); }
html body button.fpp-btn .fpp-ico { flex: none; display: block; width: 20px; height: 20px; }
html body button.fpp-btn.is-active {
	background: var(--fpp-black) !important; color: var(--fpp-gold) !important;
	box-shadow: inset 0 0 0 1.5px var(--fpp-gold) !important; filter: none;
}
html body button.fpp-btn--single.is-active .fpp-btn__txt::after { content: " \2713"; }

/* Prekių kortelėse – auksinis apvalus ženkliukas viršuje KAIRĖJE
   (dešinėje yra „Akcija!“ lipdukas, todėl jie nebesusiduria) */
ul.products li.product { position: relative; }
html body ul.products li.product button.fpp-btn--loop {
	position: absolute !important; top: 10px !important; left: 10px !important; right: auto !important; bottom: auto !important;
	z-index: 6 !important; margin: 0 !important;
	width: 40px !important; height: 40px !important; padding: 0 !important; border-radius: 50% !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .22) !important;
}
html body ul.products li.product button.fpp-btn--loop.is-active { box-shadow: inset 0 0 0 1.5px var(--fpp-gold), 0 3px 10px rgba(0, 0, 0, .22) !important; }
html body button.fpp-btn--loop .fpp-btn__txt {
	position: absolute; left: calc(100% + 8px); right: auto; top: 50%; transform: translateY(-50%);
	white-space: nowrap; font-size: 11px !important; line-height: 1 !important; padding: 6px 10px; border-radius: 999px;
	background: var(--fpp-black); color: var(--fpp-gold) !important;
	opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s;
}
html body button.fpp-btn--loop:hover .fpp-btn__txt,
html body button.fpp-btn--loop:focus-visible .fpp-btn__txt { opacity: 1; visibility: visible; }

/* ---------- Apatinė juosta ---------- */
#fpp-root { font-family: inherit; }
html.fpp-has-bar body { padding-bottom: 92px; }
.fpp-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
	background: var(--fpp-dark); color: var(--fpp-cream);
	border-top: 2px solid var(--fpp-gold); box-shadow: var(--fpp-shadow);
	animation: fpp-up .35s cubic-bezier(.2, .8, .2, 1);
}
.fpp-bar[hidden] { display: none; }
.fpp-bar.is-bounce { animation: fpp-bounce .5s; }
.fpp-bar__in {
	max-width: 1200px; margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; gap: 18px;
}
.fpp-bar__slots { display: flex; gap: 8px; flex: none; }
.fpp-slot {
	position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--fpp-bg);
	display: flex; align-items: center; justify-content: center; overflow: visible;
	border: 1.5px solid var(--fpp-gold);
}
.fpp-slot img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; padding: 3px; box-sizing: border-box; }
.fpp-slot.is-empty {
	background: transparent; border: 1.5px dashed rgba(225, 220, 201, .4);
	color: rgba(225, 220, 201, .55); font-size: 22px; font-weight: 300;
}
.fpp-bar.is-one .fpp-slot.is-empty:nth-child(2) { border-color: var(--fpp-gold); color: var(--fpp-gold); animation: fpp-pulse 1.6s infinite; }
.fpp-slot__load { width: 18px; height: 18px; border: 2px solid var(--fpp-cream); border-top-color: var(--fpp-brown); border-radius: 50%; animation: fpp-spin .8s linear infinite; }
.fpp-slot__rm {
	position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; padding: 0;
	border-radius: 50%; border: 0; cursor: pointer; font-size: 14px; line-height: 20px;
	background: var(--fpp-black); color: var(--fpp-cream);
}
.fpp-slot__rm:hover { background: var(--fpp-gold); color: var(--fpp-black); }
.fpp-bar__msg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; }
.fpp-bar__msg strong { color: var(--fpp-gold); font-size: 15px; }
.fpp-bar__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpp-bar__hint { opacity: .8; font-size: 13px; }
.fpp-bar__act { display: flex; align-items: center; gap: 14px; flex: none; }
.fpp-cta {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
	padding: 13px 22px; border: 0; border-radius: 999px; color: var(--fpp-black);
	background: linear-gradient(135deg, #F3D97A 0%, var(--fpp-gold) 45%, var(--fpp-gold-d) 100%);
	box-shadow: 0 4px 14px rgba(212, 175, 55, .35); transition: transform .15s, filter .2s;
}
.fpp-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.fpp-cta[hidden] { display: none; }
.fpp-link {
	background: none; border: 0; padding: 4px; cursor: pointer; font: inherit; font-size: 13px;
	color: var(--fpp-cream); opacity: .8; text-decoration: underline; text-underline-offset: 3px;
}
.fpp-link:hover { opacity: 1; color: var(--fpp-gold); }

/* ---------- Palyginimo skydelis ---------- */
.fpp-backdrop {
	position: fixed; inset: 0; z-index: 99991; background: rgba(0, 0, 0, .45);
	opacity: 0; pointer-events: none; transition: opacity .25s;
}
#fpp-root.is-open .fpp-backdrop { opacity: 1; pointer-events: auto; }
html.fpp-lock, html.fpp-lock body { overflow: hidden; }
.fpp-panel {
	position: fixed; left: 50%; bottom: 0; z-index: 99992; transform: translateX(-50%);
	width: min(1200px, 100%); max-height: min(78vh, 760px);
	display: flex; flex-direction: column;
	background: var(--fpp-bg); color: var(--fpp-dark);
	border-radius: 18px 18px 0 0; box-shadow: var(--fpp-shadow); overflow: hidden;
	animation: fpp-sheet .38s cubic-bezier(.2, .8, .2, 1);
}
.fpp-panel[hidden] { display: none; }
.fpp-panel__head {
	display: flex; align-items: center; gap: 16px; padding: 14px 20px;
	background: var(--fpp-black); color: var(--fpp-cream); border-bottom: 2px solid var(--fpp-gold);
}
.fpp-panel__title {
	display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0;
	font-size: 18px; font-weight: 700; letter-spacing: .03em; color: var(--fpp-cream);
}
.fpp-panel__title .fpp-ico { color: var(--fpp-gold); width: 24px; height: 24px; }
.fpp-x {
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(225, 220, 201, .35);
	background: transparent; color: var(--fpp-cream); font-size: 24px; line-height: 1; cursor: pointer; padding: 0;
}
.fpp-x:hover { background: var(--fpp-gold); color: var(--fpp-black); border-color: var(--fpp-gold); }

.fpp-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; user-select: none; }
.fpp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fpp-switch__ui { width: 36px; height: 20px; border-radius: 999px; background: rgba(225, 220, 201, .25); position: relative; transition: background .2s; }
.fpp-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--fpp-cream); transition: transform .2s; }
.fpp-switch input:checked + .fpp-switch__ui { background: var(--fpp-gold); }
.fpp-switch input:checked + .fpp-switch__ui::after { transform: translateX(16px); background: var(--fpp-black); }
.fpp-switch input:focus-visible + .fpp-switch__ui { outline: 2px solid var(--fpp-gold); outline-offset: 2px; }

.fpp-panel__body { overflow: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.fpp-msg { padding: 40px 20px; text-align: center; }
.fpp-scroll { min-width: 100%; }
.fpp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: calc(150px + var(--fpp-cols, 2) * 190px); margin: 0; font-size: 14px; }
.fpp-table th, .fpp-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--fpp-line); text-align: center; vertical-align: middle; background: transparent; }
.fpp-table tbody th, .fpp-th-lbl {
	position: sticky; left: 0; z-index: 2; width: 150px; text-align: left;
	background: #EFEADC; color: var(--fpp-brown); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.fpp-table thead th { position: sticky; top: 0; z-index: 3; background: var(--fpp-bg); border-bottom: 2px solid var(--fpp-cream); vertical-align: top; }
.fpp-table thead .fpp-th-lbl { z-index: 4; background: #EFEADC; }
.fpp-table tbody tr:nth-child(even) td { background: rgba(225, 220, 201, .28); }
.fpp-table tr.is-diff th { box-shadow: inset 3px 0 0 var(--fpp-gold); }
#fpp-root.fpp-only-diff tr.is-same:not(.fpp-row-price) { display: none; }

.fpp-prod { position: relative; }
.fpp-prod__img { position: relative; display: block; margin: 4px auto 10px; width: 120px; height: 120px; background: #fff; border-radius: 12px; border: 1px solid var(--fpp-cream); overflow: hidden; }
.fpp-prod__img img { width: 100%; height: 100%; object-fit: contain; }
.fpp-prod__name { display: block; color: var(--fpp-dark); font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; }
.fpp-prod__name:hover { color: var(--fpp-brown); text-decoration: underline; }
.fpp-prod__rm {
	position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; border-radius: 50%;
	border: 1px solid var(--fpp-line); background: #fff; color: var(--fpp-brown); font-size: 18px; line-height: 1; cursor: pointer;
}
.fpp-prod__rm:hover { background: var(--fpp-black); color: var(--fpp-cream); }
.fpp-badge {
	position: absolute; top: 6px; left: 6px; z-index: 1; padding: 3px 8px; border-radius: 999px;
	font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fpp-black);
	background: linear-gradient(135deg, #F3D97A, var(--fpp-gold) 50%, var(--fpp-gold-d));
}
.fpp-price { font-weight: 800; color: var(--fpp-brown); font-size: 16px; }
.fpp-price del { opacity: .55; font-weight: 400; font-size: 13px; margin-right: 4px; }
.fpp-price ins { text-decoration: none; background: none; }
.fpp-best { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--fpp-dark); color: var(--fpp-gold); }
.fpp-stock.is-in { color: #2F6B2F; font-weight: 600; }
.fpp-stock.is-out { color: #8A2B1E; font-weight: 600; }
.fpp-warr { font-weight: 700; color: var(--fpp-brown); }
.fpp-none { opacity: .4; }
.fpp-row-cart td { border-bottom: 0; padding-bottom: 20px; }
.fpp-cart {
	display: inline-block; padding: 11px 18px; border-radius: 999px; text-decoration: none;
	background: var(--fpp-brown); color: var(--fpp-cream) !important; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	transition: background .2s, color .2s;
}
.fpp-cart:hover { background: var(--fpp-black); color: var(--fpp-gold) !important; }
.fpp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kai skydelis atidarytas, juosta lieka po juo (rodoma tik su atidaryta lentele mobiliuose) */
#fpp-root.is-open .fpp-bar { z-index: 99993; }
#fpp-root.is-open .fpp-panel { bottom: var(--fpp-bar-h, 82px); border-radius: 18px 18px 0 0; max-height: calc(100vh - var(--fpp-bar-h, 82px) - 40px); }

/* ---------- Pranešimas (toast) ---------- */
#fpp-root.is-open .fpp-toast { bottom: auto; top: 24px; }
.fpp-toast {
	position: fixed; left: 50%; bottom: 104px; z-index: 99995; transform: translate(-50%, 20px);
	padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
	background: var(--fpp-black); color: var(--fpp-cream); border: 1px solid var(--fpp-gold);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
	max-width: calc(100% - 32px); text-align: center;
}
.fpp-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.fpp-toast.is-warn { background: var(--fpp-gold); color: var(--fpp-black); }

@keyframes fpp-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fpp-sheet { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes fpp-bounce { 0%, 100% { transform: none; } 30% { transform: translateY(-8px); } 60% { transform: translateY(2px); } }
@keyframes fpp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .5); } 50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); } }
@keyframes fpp-spin { to { transform: rotate(360deg); } }

/* ---------- Telefonai ---------- */
@media (max-width: 767px) {
	html.fpp-has-bar body { padding-bottom: 130px; }
	.fpp-bar__in { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 12px; }
	.fpp-slot { width: 44px; height: 44px; }
	.fpp-bar__msg { flex-basis: calc(100% - 210px); font-size: 13px; }
	.fpp-bar__msg strong { font-size: 13px; }
	.fpp-bar__name, .fpp-bar__hint { font-size: 12px; }
	.fpp-bar.is-one .fpp-bar__msg { flex-basis: 100%; order: 3; }
	.fpp-bar__act { width: 100%; justify-content: space-between; }
	.fpp-bar.is-one .fpp-bar__act { width: auto; margin-left: auto; }
	.fpp-cta { flex: 1; justify-content: center; padding: 12px 16px; }
	.fpp-panel__head { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
	.fpp-panel__title { font-size: 16px; }
	.fpp-switch { order: 3; width: 100%; }
	.fpp-table { min-width: calc(108px + var(--fpp-cols, 2) * 150px); font-size: 13px; }
	.fpp-table th, .fpp-table td { padding: 10px 8px; }
	.fpp-table tbody th, .fpp-th-lbl { width: 108px; font-size: 10.5px; }
	.fpp-prod__img { width: 84px; height: 84px; }
	.fpp-prod__name { font-size: 12.5px; }
	.fpp-cart { padding: 10px 12px; font-size: 11px; }
	.fpp-toast { bottom: 140px; font-size: 13px; }
	html body ul.products li.product button.fpp-btn--loop { width: 36px !important; height: 36px !important; top: 8px !important; left: 8px !important; }
	html body button.fpp-btn--loop .fpp-btn__txt { display: none !important; }
	#fpp-root.is-open .fpp-bar__slots, #fpp-root.is-open .fpp-bar__msg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fpp-bar, .fpp-panel, .fpp-slot, .fpp-bar.is-bounce { animation: none !important; }
}

/* ---------- Apsauga nuo temos bendro button stiliaus (Hello Elementor) ---------- */
html body #fpp-root button { font-family: inherit; text-transform: none; letter-spacing: normal; min-height: 0; min-width: 0; box-sizing: border-box; animation: none; }
html body #fpp-root .fpp-cta { border: 0 !important; border-radius: 999px !important; padding: 13px 22px !important; color: #000 !important; background: linear-gradient(135deg, #F3D97A 0%, var(--fpp-gold) 45%, var(--fpp-gold-d) 100%) !important; text-transform: uppercase; letter-spacing: .07em; font-size: 13px !important; font-weight: 800 !important; }
html body #fpp-root .fpp-cta:hover { color: #000 !important; }
html body #fpp-root .fpp-link { border: 0 !important; border-radius: 0 !important; padding: 4px !important; background: none !important; color: var(--fpp-cream) !important; font-size: 13px !important; }
html body #fpp-root .fpp-link:hover { color: var(--fpp-gold) !important; background: none !important; }
html body #fpp-root .fpp-slot__rm { border: 0 !important; border-radius: 50% !important; padding: 0 !important; width: 20px !important; height: 20px !important; line-height: 20px !important; font-size: 14px !important; background: var(--fpp-black) !important; color: var(--fpp-cream) !important; }
html body #fpp-root .fpp-slot__rm:hover { background: var(--fpp-gold) !important; color: #000 !important; }
html body #fpp-root .fpp-x { border: 1px solid rgba(225, 220, 201, .35) !important; border-radius: 50% !important; padding: 0 !important; width: 36px !important; height: 36px !important; font-size: 24px !important; line-height: 1 !important; background: transparent !important; color: var(--fpp-cream) !important; }
html body #fpp-root .fpp-x:hover { background: var(--fpp-gold) !important; color: #000 !important; border-color: var(--fpp-gold) !important; }
html body #fpp-root .fpp-prod__rm { border: 1px solid var(--fpp-line) !important; border-radius: 50% !important; padding: 0 !important; width: 28px !important; height: 28px !important; font-size: 18px !important; line-height: 1 !important; background: #fff !important; color: var(--fpp-brown) !important; }
html body #fpp-root .fpp-prod__rm:hover { background: #000 !important; color: var(--fpp-cream) !important; }
@media (max-width: 767px) { html body #fpp-root .fpp-cta { padding: 12px 16px !important; } }
