/* turbófogyás – termékoldal (Termek / Termek-mobil tábla) és a becsúszó kosárpanel (FL-kosarpanel / FL-kosar-mobil).
   Hatókör: minden szabály a .tf-termek (termékoldal <main>) vagy a .tf-kosarpanel (kosárpanel) gyökér alatt van.
   A pontos értékek a tervtáblák inline stílusaiból (generator/lap_termek.py, lap_fejlec.py, kozos.py). A termékkártya
   a B rész közös komponense (.tf-pcard), itt csak a rácsot adjuk. Mobil: ≤ 760 px. */

/* ================= Termékoldal ================= */
.tf-termek { background: var(--talaj); color: var(--tinta); font-family: var(--font-szoveg); }
.tf-termek .tf-pd-fent, .tf-termek .tf-pd-fent *,
.tf-termek .tf-pd-info, .tf-termek .tf-pd-info *,
.tf-termek .tf-pd-rel, .tf-termek .tf-pd-rel__in, .tf-termek .tf-pd-rel__fej { box-sizing: border-box; }
:root .tf-termek > *, :root .tf-termek .tf-pd-fent > *, :root .tf-termek .tf-pd-info > *, :root .tf-termek .tf-pd-top > * { margin-block: 0; }
.tf-termek .tf-ico { line-height: 1; flex: none; display: inline-block; }

/* A terv .sav sávja: max. 1200 px (border-box), 24 px oldalsó belső margó */
.tf-termek .tf-pd-fent, .tf-termek .tf-pd-info, .tf-termek .tf-pd-rel__in { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* Címek: .c2 (46/50) és .c3 (21/26) */
.tf-termek .tf-pd-c2 { margin: 0; font-family: var(--font-cim); font-size: 46px; line-height: 50px; font-weight: 500; letter-spacing: -.02em; color: inherit; }

/* ---------- Felső rész: morzsa + galéria + vásárlás ---------- */
.tf-termek .tf-pd-fent { padding-block: 28px 0; display: flex; flex-direction: column; gap: 24px; }
.tf-termek .tf-pd-fent > .tf-bcrumbs-wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
.tf-termek .tf-pd-fent .tf-bcrumbs { padding: 0; }
.tf-termek .tf-pd-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: start; }

/* Galéria */
.tf-termek .tf-pd-gal { position: sticky; top: 100px; align-self: start; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-termek .tf-pd-gal__track { display: block; }
.tf-termek .tf-pd-gal__slide { display: none; aspect-ratio: 1 / 1; border-radius: var(--sarok-nagy); background: var(--halvany); overflow: hidden; }
.tf-termek .tf-pd-gal__slide.is-on { display: flex; align-items: center; justify-content: center; }
.tf-termek .tf-pd-gal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf-termek .tf-pd-gal__slide.is-empty { color: var(--fold); }
.tf-termek .tf-pd-gal__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tf-termek .tf-pd-gal__thumbs button { aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--vonal); border-radius: var(--sarok); background: none; cursor: pointer; overflow: hidden; line-height: 0; }
.tf-termek .tf-pd-gal__thumbs button.is-on { border: 2px solid var(--fold); }
.tf-termek .tf-pd-gal__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tf-termek .tf-pd-gal__dots, .tf-termek .tf-pd-gal__szaml { display: none; }

/* Vásárlási oszlop */
.tf-termek .tf-pd-buy { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tf-termek .tf-pd-buy > * { margin: 0; }
.tf-termek .tf-pd-kat { font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; color: var(--fold-szoveg); align-self: flex-start; }
.tf-termek .tf-pd-kat:hover { color: var(--tinta); }
.tf-termek .tf-pd-buy > .tf-pd-title { margin-top: -12px; font-family: var(--font-cim); font-size: 50px; line-height: 54px; font-weight: 500; letter-spacing: -.025em; color: var(--tinta); }
.tf-termek .tf-pd-buy > .tf-pd-kat + .tf-pd-title { margin-top: -12px; }
.tf-termek .tf-pd-buy > .tf-pd-title:first-child { margin-top: 0; }
.tf-termek .tf-pd-buy > .tf-pd-sub { margin-top: -10px; font-size: 16px; line-height: 24px; color: var(--tinta-halvany); }
.tf-termek .tf-pd-rovid { font-size: 16px; line-height: 26px; color: var(--tinta); }
.tf-termek .tf-pd-rovid > * { margin: 0; }
.tf-termek .tf-pd-rovid > * + * { margin-top: 8px; }

/* Ár */
.tf-termek .tf-pd-arblokk { display: flex; flex-direction: column; gap: 6px; }
.tf-termek .tf-pd-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tf-termek .tf-pd-price__now { font-family: var(--font-cim); font-size: 44px; line-height: 48px; font-weight: 600; color: var(--tinta); }
.tf-termek .tf-pd-price.is-sale .tf-pd-price__now { color: var(--cseresznye); }
.tf-termek .tf-pd-price s { font-size: 16px; color: var(--tinta-halvany); }
.tf-termek .tf-pd-price__jel { background: var(--cseresznye); color: #fff; font: 700 12px/16px var(--font-szoveg); padding: 4px 8px; border-radius: var(--sarok-kicsi); align-self: center; }
.tf-termek .tf-pd-price__note { margin: 0; font-size: 14px; line-height: 21px; color: var(--tinta-halvany); }

/* Kiemelt pontok */
.tf-termek .tf-pd-pontok { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tf-termek .tf-pd-pontok li { display: flex; gap: 10px; margin: 0; font-size: 15px; line-height: 22px; }
.tf-termek .tf-pd-pontok .tf-ico { color: var(--fold); margin-top: 1px; }
.tf-termek .tf-pd-pontok b { font-weight: 700; }
.tf-termek .tf-pd-valaszto-vonal { margin: 0; height: 0; border: 0; border-top: 1px dashed var(--homok); background: none; }

/* Kiszerelés-választó (kedvezmény nélkül) */
.tf-termek .tf-pd-packs { border: 0; margin: 0; padding: 0; min-width: 0; }
.tf-termek .tf-pd-packs legend { padding: 0; margin-bottom: 14px; font: 600 14px/20px var(--font-szoveg); }
.tf-termek .tf-pd-packs__racs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tf-termek .tf-pd-pack { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22px; grid-template-areas: "nev kor" "sub sub" "ar ar"; gap: 6px; align-items: center; padding: 16px 14px 14px; border-radius: var(--sarok-nagy); border: 1px solid var(--homok); background: var(--kartya); cursor: pointer; }
.tf-termek .tf-pd-pack.is-on { border: 2px solid var(--fold); background: var(--halvany); padding: 15px 13px 13px; }
.tf-termek .tf-pd-pack:has(input:focus-visible) { outline: 2px solid var(--fokusz); outline-offset: 2px; }
.tf-termek .tf-pd-pack__nev { display: contents; }
.tf-termek .tf-pd-pack__nev strong { grid-area: nev; font-size: 15px; line-height: 20px; font-weight: 700; }
.tf-termek .tf-pd-pack__nev span { grid-area: sub; font-size: 13px; line-height: 18px; color: var(--tinta-halvany); }
.tf-termek .tf-pd-pack__kor { grid-area: kor; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--mezokeret); display: grid; place-items: center; color: #fff; }
.tf-termek .tf-pd-pack__kor .tf-ico { visibility: hidden; }
.tf-termek .tf-pd-pack.is-on .tf-pd-pack__kor { border: 0; background: var(--fold); }
.tf-termek .tf-pd-pack.is-on .tf-pd-pack__kor .tf-ico { visibility: visible; }
.tf-termek .tf-pd-pack__ar { grid-area: ar; font-family: var(--font-cim); font-size: 19px; line-height: 24px; font-weight: 700; }
.tf-termek .tf-pd-pack__cimke { position: absolute; top: -11px; left: 12px; font: 600 11px/14px var(--font-szoveg); padding: 4px 8px; border-radius: var(--sarok-kicsi); background: var(--fold); color: #f2eee4; white-space: nowrap; }
.tf-termek .tf-pd-pack.is-on .tf-pd-pack__cimke { top: -12px; left: 11px; }

/* Léptető + Kosárba */
.tf-termek .tf-pd-row { display: flex; gap: 12px; }
.tf-termek .tf-pd-qty { display: inline-flex; align-items: center; flex: none; height: 54px; border: 1px solid var(--homok); border-radius: var(--sarok); background: var(--kartya); }
.tf-termek .tf-pd-qty button { width: 46px; height: 52px; border: 0; padding: 0; background: transparent; color: var(--tinta); display: grid; place-items: center; cursor: pointer; }
.tf-termek .tf-pd-qty output { min-width: 26px; text-align: center; font: 600 16px/20px var(--font-szoveg); }
.tf-termek .tf-pd-add { flex: 1; height: 54px; border-radius: var(--sarok); border: 0; background: var(--fold-gomb); color: #fff; font: 600 16px/20px var(--font-szoveg); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; padding: 0 26px; }
.tf-termek .tf-pd-add:hover { background: var(--fold-gomb-hover); }
.tf-termek .tf-pd-add:disabled { opacity: .7; cursor: progress; }
.tf-termek .tf-pd-out { font-weight: 600; color: var(--hiba); }

/* Várható kézbesítés (KEZB) */
.tf-termek .tf-kezb { display: flex; gap: 14px; align-items: center; background: var(--halvany); border-left: 4px solid var(--fold); border-radius: var(--sarok); padding: 16px 18px; }
.tf-termek .tf-kezb__ico { color: var(--fold); }
.tf-termek .tf-kezb__txt { margin: 0; font-size: 15px; line-height: 22px; }
.tf-termek .tf-kezb__txt strong { display: block; font-size: 16px; font-weight: 700; }
.tf-termek .tf-kezb__note { color: var(--tinta-halvany); }

/* Bizalmi kártyák */
.tf-termek .tf-pd-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tf-termek .tf-pd-trust li { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--vonal); border-radius: var(--sarok-nagy); background: var(--kartya); font-size: 13px; line-height: 18px; }
.tf-termek .tf-pd-kor { width: 40px; height: 40px; border-radius: 50%; background: var(--halvany); color: var(--fold); display: grid; place-items: center; flex: none; }
.tf-termek .tf-pd-trust strong { display: block; font-size: 14px; font-weight: 700; }
.tf-termek .tf-pd-trust li > span:last-child > span { color: var(--tinta-halvany); }

/* Ragadós Kosárba sáv – csak mobilon */
.tf-termek .tf-pd-sticky { display: none; }

/* ---------- Fehér sáv: leírás, szállítás és fizetés, GYIK ---------- */
.tf-termek .tf-pd-info { max-width: none; padding-inline: 0; margin-top: 88px; background: var(--kartya); border-top: 1px solid var(--vonal); padding-block: 80px; }
.tf-termek .tf-pd-info > * { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
:root .tf-termek .tf-pd-info > * + * { margin-top: 72px; }

/* Leírás („A termékről”) – egy összefüggő blokk */
.tf-termek .tf-pd-leiras { display: flex; flex-direction: column; gap: 14px; font: 400 17px/29px var(--font-szoveg); color: var(--tinta); }
.tf-termek .tf-pd-leiras > * { margin: 0; }
.tf-termek .tf-pd-prose { display: flex; flex-direction: column; gap: 14px; }
.tf-termek .tf-pd-prose > *, .tf-termek .tf-pd-prose .tf-pi__sec > * { margin: 0; }
.tf-termek .tf-pd-prose .tf-pi__sec, .tf-termek .tf-pd-warn { display: contents; }
.tf-termek .tf-pd-leiras > .tf-pd-warn > * { margin: 0; }
.tf-termek .tf-pd-prose a { color: var(--fold-szoveg); }
.tf-termek .tf-pd-prose a:hover { color: var(--tinta); }
.tf-termek .tf-pd-prose h2, .tf-termek .tf-pd-prose h3, .tf-termek .tf-pd-h3 { margin: 14px 0 0; font-family: var(--font-cim); font-size: 21px; line-height: 26px; font-weight: 600; color: var(--tinta); letter-spacing: normal; }
.tf-termek .tf-pd-prose h4 { font: 600 18px/24px var(--font-cim); }
.tf-termek .tf-pd-prose ul, .tf-termek .tf-pd-prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.tf-termek .tf-pd-prose img { max-width: 100%; height: auto; border-radius: var(--sarok-nagy); }
.tf-termek .tf-pi__table { overflow-x: auto; }
.tf-termek .tf-pd-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; color: var(--tinta); }
.tf-termek .tf-pd-prose th { text-align: left; padding: 10px 0 14px; border-bottom: 1px solid var(--tinta); font-size: 13px; font-weight: 600; color: var(--tinta-halvany); }
.tf-termek .tf-pd-prose td { padding: 15px 0; border-bottom: 1px dashed var(--homok); }
.tf-termek .tf-pi__table th + th, .tf-termek .tf-pi__table td + td { text-align: right; }
.tf-termek .tf-pi__table th:nth-child(3), .tf-termek .tf-pi__table td:nth-child(3) { width: 110px; }
.tf-termek .tf-pi__table td:nth-child(3) { color: var(--tinta-halvany); }
.tf-termek .tf-pd-prose .tf-pi__note { font-size: 13px; line-height: 20px; color: var(--tinta-halvany); }
.tf-termek .tf-pd-prose .tf-pi__dose { display: flex; flex-direction: column; gap: 6px; }
.tf-termek .tf-pd-prose .tf-pi__dose > p { margin: 0; }
.tf-termek .tf-pd-prose .tf-pi__line { display: block; }
.tf-termek .tf-pd-warn__meta { font-size: 14px; line-height: 21px; color: var(--tinta-halvany); }

/* Szállítás és fizetés */
.tf-termek .tf-pd-ship { display: flex; flex-direction: column; gap: 10px; }
.tf-termek .tf-pd-ship > * { margin: 0; }
.tf-termek .tf-pd-ship__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.tf-termek .tf-pd-ship__grid li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 0; border-bottom: 1px dashed var(--homok); font-size: 15px; line-height: 21px; }
.tf-termek .tf-pd-ship__grid .tf-ico { color: var(--fold); }
.tf-termek .tf-pd-ship__grid b { display: block; font-weight: 700; }
.tf-termek .tf-pd-ship__grid li > span > span { color: var(--tinta-halvany); }

/* Gyakori kérdések (a D rész tf_faq_html() kimenete, itt a termékoldal kinézetével) – a terv belső .sav-ja miatt +24 px */
.tf-termek .tf-pd-info > .tf-pd-faq { padding-inline: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.tf-termek .tf-pd-faq__fej { display: flex; flex-direction: column; gap: 16px; }
.tf-termek .tf-pd-faq__fej > * { margin: 0; }
.tf-termek .tf-pd-faq__fej p { color: var(--tinta-halvany); font-size: 16px; line-height: 25px; }
.tf-termek .tf-pd-faq__fej a { font-weight: 600; color: var(--fold-szoveg); align-self: flex-start; }
.tf-termek .tf-pd-faq__fej a:hover { color: var(--tinta); }
.tf-termek .tf-pd-faq__lista { border-top: 1px solid var(--homok); }
.tf-termek .tf-pd-faq .tf-fq { border: 0; border-bottom: 1px solid var(--homok); padding: 22px 0; margin: 0; }
.tf-termek .tf-pd-faq .tf-fq > summary { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; list-style: none; cursor: pointer; min-height: 0; }
.tf-termek .tf-pd-faq .tf-fq > summary::-webkit-details-marker { display: none; }
.tf-termek .tf-pd-faq .tf-fq__q { flex: 1; margin: 0; font-family: var(--font-cim); font-size: 21px; line-height: 28px; font-weight: 500; color: var(--tinta); letter-spacing: normal; }
.tf-termek .tf-pd-faq .tf-fq__plus, .tf-termek .tf-pd-faq .tf-fq__minus { color: var(--tinta); margin-top: 4px; }
.tf-termek .tf-pd-faq .tf-fq__minus { display: none; }
.tf-termek .tf-pd-faq .tf-fq__a { margin: 12px 0 0; color: var(--tinta-halvany); font-size: 15px; line-height: 24px; }
.tf-termek .tf-pd-faq .tf-fq__a > * { margin: 0; }
.tf-termek .tf-pd-faq .tf-fq__a > * + * { margin-top: 8px; }

/* ---------- Ehhez is jól jöhet (föld sáv, lekerekített tető) ---------- */
.tf-termek .tf-pd-rel { background: var(--fold); color: #f2eee4; border-radius: 28px 28px 0 0; }
.tf-termek .tf-pd-rel__in { padding-block: 80px; display: flex; flex-direction: column; gap: 32px; }
.tf-termek .tf-pd-rel__fej { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tf-termek .tf-pd-rel__racs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; color: var(--tinta); }

@media (max-width: 1000px) and (min-width: 761px) {
	.tf-termek .tf-pd-top { gap: 40px; }
	.tf-termek .tf-pd-packs__racs { grid-template-columns: 1fr; }
	.tf-termek .tf-pd-rel__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-termek .tf-pd-info > .tf-pd-faq { padding-inline: 24px; gap: 40px; }
}

@media (max-width: 760px) {
	.tf-termek .tf-pd-fent { padding: 0; gap: 0; }
	.tf-termek .tf-pd-fent > .tf-bcrumbs-wrap { padding: 14px 20px; }
	.tf-termek .tf-pd-top { display: block; }

	/* Galéria: teljes szélességű lapozható sáv, számláló jobb alul, pöttyök alul középen */
	.tf-termek .tf-pd-gal { position: relative; top: auto; gap: 0; }
	.tf-termek .tf-pd-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.tf-termek .tf-pd-gal__track::-webkit-scrollbar { display: none; }
	.tf-termek .tf-pd-gal__slide, .tf-termek .tf-pd-gal__slide.is-on { display: flex; flex: 0 0 100%; aspect-ratio: 1 / 1; border-radius: 0; scroll-snap-align: start; align-items: center; justify-content: center; }
	.tf-termek .tf-pd-gal__thumbs { display: none; }
	.tf-termek .tf-pd-gal__szaml { display: block; position: absolute; right: 14px; bottom: 14px; background: rgba(30, 27, 20, .7); color: #fff; font-size: 12px; line-height: 16px; padding: 4px 9px; border-radius: 999px; }
	.tf-termek .tf-pd-gal__dots { display: flex; position: absolute; left: 0; right: 0; bottom: 18px; justify-content: center; gap: 6px; pointer-events: none; }
	.tf-termek .tf-pd-gal__dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .6); transition: width .2s; }
	.tf-termek .tf-pd-gal__dots i.is-on { width: 18px; background: #fff; }

	.tf-termek .tf-pd-buy { padding: 20px 20px 0; gap: 18px; }
	.tf-termek .tf-pd-kat, .tf-termek .tf-pd-valaszto-vonal { display: none; }
	.tf-termek .tf-pd-buy > .tf-pd-title, .tf-termek .tf-pd-buy > .tf-pd-kat + .tf-pd-title { margin-top: 0; font-size: 34px; line-height: 38px; }
	.tf-termek .tf-pd-buy > .tf-pd-sub { font-size: 14px; line-height: 20px; }
	.tf-termek .tf-pd-price__now { font-size: 34px; line-height: 38px; }
	.tf-termek .tf-pd-packs__racs { display: flex; flex-direction: column; gap: 14px; }
	.tf-termek .tf-pd-pack { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "kor nev ar" "kor sub ar"; gap: 0 12px; padding: 14px; }
	.tf-termek .tf-pd-pack.is-on { padding: 13px; }
	.tf-termek .tf-pd-pack__ar { font-size: 18px; }
	.tf-termek .tf-pd-row { gap: 10px; }

	/* Ragadós alsó sáv: akkor látszik, ha a fő Kosárba gomb nincs a képernyőn */
	.tf-termek .tf-pd-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 14px; padding: 10px 16px; background: var(--kartya); border-top: 1px solid var(--vonal); box-shadow: 0 -8px 24px rgba(46, 42, 32, .12); transform: translateY(110%); transition: transform .25s ease; }
	.tf-termek .tf-pd-sticky.is-on { transform: none; }
	.tf-termek .tf-pd-sticky__txt { flex: none; display: flex; flex-direction: column; }
	.tf-termek .tf-pd-sticky__ar { font-family: var(--font-cim); font-size: 21px; line-height: 24px; font-weight: 700; color: var(--tinta); }
	.tf-termek .tf-pd-sticky__ar.is-sale { color: var(--cseresznye); }
	.tf-termek .tf-pd-sticky__old { font-size: 12px; line-height: 16px; color: var(--tinta-halvany); }
	.tf-termek .tf-pd-sticky .tf-pd-add { height: 50px; }

	.tf-termek .tf-pd-info { margin-top: 44px; padding-block: 44px; }
	.tf-termek .tf-pd-info > * { padding-inline: 20px; }
	:root .tf-termek .tf-pd-info > * + * { margin-top: 48px; }
	.tf-termek .tf-pd-c2 { font-size: 30px; line-height: 34px; }
	.tf-termek .tf-pd-leiras { font-size: 15px; line-height: 25px; }
	.tf-termek .tf-pd-prose h2, .tf-termek .tf-pd-prose h3, .tf-termek .tf-pd-h3 { font-size: 18px; line-height: 23px; }
	.tf-termek .tf-pd-prose table { font-size: 14px; }
	.tf-termek .tf-pi__table th:nth-child(3), .tf-termek .tf-pi__table td:nth-child(3) { width: 56px; }

	.tf-termek .tf-pd-ship__grid { display: block; }

	.tf-termek .tf-pd-info > .tf-pd-faq { padding-inline: 20px; display: flex; flex-direction: column; gap: 12px; }
	.tf-termek .tf-pd-faq__fej p, .tf-termek .tf-pd-faq__fej a { display: none; }
	.tf-termek .tf-pd-faq .tf-fq { padding: 18px 0; }
	.tf-termek .tf-pd-faq .tf-fq__q { font-size: 18px; line-height: 24px; }
	.tf-termek .tf-pd-faq .tf-fq[open] .tf-fq__plus { display: none; }
	.tf-termek .tf-pd-faq .tf-fq[open] .tf-fq__minus { display: inline-block; }
	.tf-termek .tf-pd-faq .tf-fq__a { margin-top: 10px; font-size: 14px; line-height: 22px; }

	.tf-termek .tf-pd-rel { border-radius: 22px 22px 0 0; }
	.tf-termek .tf-pd-rel__in { padding: 44px 20px; gap: 20px; }
	.tf-termek .tf-pd-rel__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 761px) {
	.tf-termek .tf-pd-faq .tf-fq[open] .tf-fq__plus { transform: rotate(45deg); }
}
/* A ragadós sáv ne takarja el a lábléc alját (csak a termékoldalon). */
@media (max-width: 760px) {
	html:has(.tf-termek .tf-pd-sticky) body { padding-bottom: 72px; }
}

/* ================= Kosárpanel ================= */
.tf-kosarpanel { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; transition: visibility 0s linear .3s; font-family: var(--font-szoveg); color: var(--tinta); }
.tf-kosarpanel * { box-sizing: border-box; }
.tf-kosarpanel [hidden] { display: none !important; }
.tf-kosarpanel.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.tf-kosarpanel .tf-ico { line-height: 1; flex: none; display: inline-block; }
.tf-kosarpanel .tf-kp-scrim { position: absolute; inset: 0; background: rgba(30, 27, 20, .45); opacity: 0; transition: opacity .25s ease; }
.tf-kosarpanel.is-open .tf-kp-scrim { opacity: 1; }
.tf-kosarpanel .tf-kp { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--talaj); box-shadow: var(--arnyek-lebego); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; font-size: 15px; line-height: 22px; }
.tf-kosarpanel.is-open .tf-kp { transform: none; }
.tf-kosarpanel p { margin: 0; }

.tf-kosarpanel .tf-kp-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--vonal); background: var(--kartya); flex: none; }
.tf-kosarpanel .tf-kp-head h2 { margin: 0; display: flex; gap: 10px; align-items: center; font-family: var(--font-cim); font-size: 26px; line-height: 30px; font-weight: 500; color: var(--tinta); letter-spacing: normal; }
.tf-kosarpanel .tf-kp-szaml { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--cseresznye); color: #fff; font: 700 12px/24px var(--font-szoveg); text-align: center; }
.tf-kosarpanel .tf-kp-close { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--tinta); display: grid; place-items: center; cursor: pointer; }

.tf-kosarpanel .tf-kp-body { flex: 1; overflow-y: auto; padding: 18px 28px; display: flex; flex-direction: column; gap: 14px; }
.tf-kosarpanel .tf-kp-body > * { margin: 0; }
.tf-kosarpanel .tf-kp-ship { background: var(--kartya); border: 1px solid var(--vonal); border-radius: var(--sarok-nagy); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tf-kosarpanel .tf-kp-ship p { font-size: 14px; line-height: 20px; display: flex; gap: 8px; align-items: center; }
.tf-kosarpanel .tf-kp-ship p .tf-ico { color: var(--fold); }
.tf-kosarpanel .tf-kp-meter { height: 6px; border-radius: 6px; background: var(--halvany); overflow: hidden; }
.tf-kosarpanel .tf-kp-meter i { display: block; height: 100%; background: var(--fold); transition: width .3s ease; }

.tf-kosarpanel .tf-kp-items { list-style: none; padding: 0; }
.tf-kosarpanel .tf-kp-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 16px 0; margin: 0; border-bottom: 1px dashed var(--homok); }
.tf-kosarpanel .tf-kp-line__img { width: 76px; height: 76px; border-radius: var(--sarok); background: var(--halvany); overflow: hidden; display: block; }
.tf-kosarpanel .tf-kp-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf-kosarpanel .tf-kp-line__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tf-kosarpanel .tf-kp-line__fej { display: flex; justify-content: space-between; gap: 10px; }
.tf-kosarpanel .tf-kp-line__name { display: block; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--tinta); text-decoration: none; }
.tf-kosarpanel .tf-kp-line__name:hover { color: var(--fold-szoveg); }
.tf-kosarpanel .tf-kp-line__meta { display: block; font-size: 13px; line-height: 18px; color: var(--tinta-halvany); }
.tf-kosarpanel .tf-kp-line__meta:empty { display: none; }
.tf-kosarpanel .tf-kp-line__ar { text-align: right; font-family: var(--font-cim); font-size: 18px; line-height: 24px; font-weight: 700; white-space: nowrap; }
.tf-kosarpanel .tf-kp-line__ar s { display: block; font: 400 12px/16px var(--font-szoveg); color: var(--tinta-halvany); }
.tf-kosarpanel .tf-kp-line__tools { display: flex; justify-content: space-between; align-items: center; }

/* Léptető és „Törlés” (a pénztár összegzése is így néz ki – tfo-penztar.css) */
.tf-kosarpanel .tf-lepteto { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--homok); border-radius: var(--sarok); background: var(--kartya); }
.tf-kosarpanel .tf-lepteto button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--tinta); display: grid; place-items: center; cursor: pointer; }
.tf-kosarpanel .tf-lepteto output { min-width: 22px; text-align: center; font: 600 14px/20px var(--font-szoveg); }
.tf-kosarpanel .tf-torles { border: 0; background: transparent; color: var(--tinta-halvany); font: 500 13px/18px var(--font-szoveg); display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tf-kosarpanel .tf-torles:hover { color: var(--hiba); }

.tf-kosarpanel .tf-kp-empty { display: flex; flex-direction: column; gap: 6px; padding: 32px 0; text-align: center; }
.tf-kosarpanel .tf-kp-empty a { color: var(--fold-szoveg); }

.tf-kosarpanel .tf-kp-gift { display: flex; gap: 12px; align-items: flex-start; background: var(--cseresznye-halvany); border-radius: var(--sarok-nagy); padding: 14px 16px; font-size: 14px; line-height: 20px; }
.tf-kosarpanel .tf-kp-gift .tf-ico { color: var(--cseresznye); }
.tf-kosarpanel .tf-kp-gift strong { display: block; }

.tf-kosarpanel .tf-kp-reco { display: flex; flex-direction: column; gap: 10px; }
.tf-kosarpanel .tf-kp-reco__title { font-size: 14px; font-weight: 700; }
.tf-kosarpanel .tf-kp-reco__card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--vonal); border-radius: var(--sarok-nagy); background: var(--kartya); }
.tf-kosarpanel .tf-kp-reco__img { width: 56px; height: 56px; border-radius: var(--sarok); background: var(--halvany); overflow: hidden; display: block; }
.tf-kosarpanel .tf-kp-reco__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf-kosarpanel .tf-kp-reco__nev { display: block; font-size: 14px; line-height: 19px; font-weight: 700; color: var(--tinta); text-decoration: none; }
.tf-kosarpanel .tf-kp-reco__ar { font-size: 13px; color: var(--tinta-halvany); }
.tf-kosarpanel .tf-kp-reco__add { width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--sarok); background: var(--fold-gomb); color: #fff; display: grid; place-items: center; cursor: pointer; }
.tf-kosarpanel .tf-kp-reco__add:hover { background: var(--fold-gomb-hover); }

.tf-kosarpanel .tf-kp-foot { flex: none; padding: 18px 28px 22px; border-top: 1px solid var(--vonal); background: var(--kartya); display: flex; flex-direction: column; gap: 12px; }
.tf-kosarpanel .tf-kp-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.tf-kosarpanel .tf-kp-sum strong { font-family: var(--font-cim); font-size: 26px; line-height: 30px; font-weight: 700; }
.tf-kosarpanel .tf-kp-note { margin-top: -6px !important; font-size: 13px; line-height: 18px; color: var(--tinta-halvany); }
.tf-kosarpanel .tf-kp-go { height: 54px; width: 100%; border-radius: var(--sarok); background: var(--fold-gomb); color: #fff; font: 600 16px/20px var(--font-szoveg); display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.tf-kosarpanel .tf-kp-go:hover { background: var(--fold-gomb-hover); color: #fff; }
.tf-kosarpanel .tf-kp-trust { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; line-height: 17px; color: var(--tinta-halvany); }
.tf-kosarpanel .tf-kp-trust li { display: inline-flex; gap: 5px; align-items: center; margin: 0; }
.tf-kosarpanel .tf-kp-trust .tf-ico { color: var(--fold); }
html.tf-lock { overflow: hidden; }

@media (max-width: 760px) {
	.tf-kosarpanel .tf-kp { width: 100%; }
	.tf-kosarpanel .tf-kp-head { padding: 18px; }
	.tf-kosarpanel .tf-kp-body { padding: 18px; }
	.tf-kosarpanel .tf-kp-foot { padding: 18px 18px 22px; }
	.tf-kosarpanel .tf-kp-line { grid-template-columns: 64px minmax(0, 1fr); }
	.tf-kosarpanel .tf-kp-line__img { width: 64px; height: 64px; }
}
