/* Началната: hero, „Ние ви гарантираме“, цветни ленти, лента с лога (т. 27, 28, 30). Шорткодове: inc/home-trust.php. */
.lkh-hero, .lkh-trust, .lkh-band, .lkh-brands {
	--g: #5e7a16; --g-h: #4f6713; --blue: #2b639c; --apr: #a8530f; --amb: #f2b134; --lil: #6a4c9c; --cream: #fbf7f4;
	margin: 0 0 12px;
}
.lkh-btn { display: inline-block; padding: 9px 16px; border-radius: 6px; background: var(--g); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; }
a:hover > .lkh-feat-tx .lkh-btn, .lkh-btn:hover { background: var(--g-h); color: #fff; }
.lkh-btn--line { background: #fff; color: var(--g); box-shadow: inset 0 0 0 1.5px var(--g); }
.lkh-btn--line:hover { background: var(--g); }
.lkh-btn--light { background: #fff; color: #222; }
.lkh-btn--light:hover { background: var(--cream); color: #222; }
.lkh-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .01em; opacity: .85; }

/* ---- hero (02.12.2026): вляво слайдер с фиксирана височина, вдясно две плочки; равни височини ---- */
.lkh-hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 12px; --hh: 384px; }
.lkh-hero--solo { grid-template-columns: minmax(0, 1fr); }
/* Проба (PLAN ред 84): когато списъкът „Всички категории“ е отворен на началната (setup/50), горният блок се мести
 * вдясно от него (270 px + 12 отстъп) и се качва до хедъра, за да са на една линия и с еднаква височина. */
@media (min-width: 1200px) {
	body:has(.whb-header .wd-dropdown-cats.wd-opened) .lkh-hero { margin-left: 282px; margin-top: -40px; }
}
.lkh-s--cream { --t: var(--cream); --k: #4f6713; }
.lkh-s--amber { --t: #fff1d6; --k: #7a4f00; }
.lkh-s--green { --t: #eef2e2; --k: #4f6713; }
.lkh-s--lilac { --t: #f0e9f6; --k: #5f4580; }
.lkh-s--blue { --t: #e4eff7; --k: #2b5a85; }
.lkh-s--rose { --t: #fde9e5; --k: #a3261b; }
.lkh-sl { position: relative; height: var(--hh); border-radius: 8px; overflow: hidden; background: var(--cream); }
.lkh-sl-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lkh-sl-track::-webkit-scrollbar { display: none; }
.lkh-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: var(--t); display: flex; align-items: center; overflow: hidden; }
.lkh-sl-media { position: absolute; top: 0; right: 0; width: 62%; height: 100%; }
.lkh-sl-img { width: 100%; height: 100%; object-fit: cover; object-position: right center; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.lkh-sl-tx { position: relative; max-width: 50%; padding: 24px 32px 44px 44px; }
.lkh-sl-tx .lkh-kicker { color: var(--k); font-size: 13px; text-transform: none; margin-bottom: 6px; opacity: 1; }
.lkh-sl-h { font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: #222; font-weight: 700; }
.lkh-sl-tx p { font-size: 16px; line-height: 1.45; margin: 0 0 16px; color: #333; }
.lkh-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 !important; }
/* лога на марките: 3 × 2 бели плочки вдясно */
.lkh-logos { position: absolute; inset: 0 32px 0 auto; width: 88%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 104px; gap: 12px; align-content: center; }
.lkh-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: #222; font-weight: 700; text-align: center; }
.lkh-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.lkh-logo:hover { box-shadow: 0 0 0 2px var(--g); }
/* стрелки, точки, пауза: само с JS (без JS редът се плъзга) */
.lkh-sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; min-height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.92); color: #222; font-size: 26px; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.18); cursor: pointer; opacity: 0; transition: opacity .2s; }
.lkh-sl-prev { left: 8px; } .lkh-sl-next { right: 8px; }
.lkh-sl:hover .lkh-sl-arrow, .lkh-sl-arrow:focus-visible { opacity: 1; }
.lkh-sl-nav { position: absolute; left: 44px; bottom: 14px; display: flex; align-items: center; gap: 4px; }
.lkh-sl .lkh-dot, .lkh-sl .lkh-sl-pause { flex: 0 0 24px; width: 24px; height: 24px; min-width: 0; min-height: 0; border: 0; border-radius: 0; padding: 0; margin: 0; background: none; box-shadow: none; line-height: 0; cursor: pointer; position: relative; color: #222; }
.lkh-sl .lkh-dot::before { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 4px; background: rgba(34,34,34,.3); transition: all .2s; }
.lkh-sl .lkh-dot[aria-current]::before { left: 3px; width: 18px; background: #222; }
.lkh-sl .lkh-sl-pause::before { content: ""; position: absolute; left: 7px; top: 7px; width: 4px; height: 10px; border-left: 3px solid; border-right: 3px solid; box-sizing: border-box; width: 10px; }
.lkh-sl.is-stopped .lkh-sl-pause::before { left: 8px; top: 6px; width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid; border-right: 0; }
.lkh-sl button:focus-visible { outline: 2px solid #222; outline-offset: 1px; }
/* плочки вдясно: две една над друга, общо колкото слайдера */
.lkh-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; height: var(--hh); }
.lkh-tile { position: relative; display: flex; overflow: hidden; border-radius: 8px; background: var(--t); color: #222; min-height: 0; }
.lkh-tile .lkh-sl-img { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-position: right bottom; }
.lkh-tile-tx { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; max-width: 54%; }
.lkh-tile .lkh-kicker { color: var(--k); opacity: 1; }
.lkh-tile-off { display: inline-block; background: #c62828; color: #fff; font-weight: 700; font-size: 15px; line-height: 1; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.lkh-tile-h { font-size: 22px; line-height: 1.15; font-weight: 700; }
.lkh-tile-p { font-size: 13px; line-height: 1.35; color: #333; }
.lkh-tile-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--g); }
.lkh-tile-more::after { content: " \203A"; }
.lkh-tile:hover .lkh-tile-more { text-decoration: underline; }
.lkh-tile:hover { box-shadow: inset 0 0 0 2px var(--k); }
/* Тясна плочка (до отвореното меню на началната, телефон): снимката по-малка и вдясно, зад текста преливка в цвета
 * на плочката, за да не стъпва текстът върху снимката (преглед 02.12.2026). */
.lkh-tile { container-type: inline-size; }
@container (max-width: 320px) {
	.lkh-tile .lkh-sl-img { width: 52%; }
	.lkh-tile-tx { max-width: 66%; z-index: 1; }
	.lkh-tile-tx::before { content: ""; position: absolute; inset: 0 -28px 0 0; z-index: -1; background: linear-gradient(90deg, var(--t) 72%, transparent); }
	.lkh-tile-h { font-size: 20px; }
}
/* лента на марка: логото в бяла плочка над заглавието */
.lkh-band-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; padding: 6px 10px; height: 52px; max-width: 160px; }
.lkh-band-logo img { max-height: 40px; width: auto; object-fit: contain; }

.lkh-feat { background: var(--amb); color: #222; flex: 1; }

/* Голяма плочка с продукт (hero и ленти): бяла снимка, текстът под нея */
.lkh-feat { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 8px; color: inherit; min-width: 0; }
.lkh-feat-img { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; aspect-ratio: 4 / 3; overflow: hidden; }
.lkh-feat-img img { max-height: 100%; width: auto; object-fit: contain; }
.lkh-feat-tx { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; width: 100%; }
.lkh-feat-name { font-size: 14px; line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; }
.lkh-feat-price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.lkh-feat-price del { display: none; }
.lkh-feat-price ins { text-decoration: none; }
.lkh-feat-price .lkc-off { margin-right: 6px; }
.lkh-feat .lkh-btn { margin-top: 2px; }

/* ---- „Ние ви гарантираме“ (02.12.2026, „по-сериозно, по-стегнато“): нисък бял ред, 4 равни клетки с тънки
   разделители, тъмни линейни икони без цветни кръгове, телефоните тъмни (връзки tel:). Заглавието е само за екранни четци. ---- */
/* 02.12.2026: светлозелена лента (блокът беше твърде бял) и по-големи зелени икони. */
.lkh-trust { position: relative; background: #eef2e2; border: 1px solid #d5ddbd; border-radius: 8px; padding: 12px 0; }
.lkh-trust .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lkh-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.lkh-trust-item { margin: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-left: 1px solid #d5ddbd; min-width: 0; }
.lkh-trust-item:first-child { border-left: 0; }
.lkh-ic { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: #4f6713; }
.lkh-ic svg { width: 34px; height: 34px; }
.lkh-tx { display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 17px; color: #444; min-width: 0; }
.lkh-tx strong { font-size: 14px; line-height: 18px; font-weight: 700; color: #222; }
.lkh-tx > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lkh-tx a { color: #222; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lkh-tx a:hover { text-decoration: underline; }

/* ---- цветна лента: текст | 4–5 еднакви плочки без бутон (бели върху наситения фон, т. 26); до ~300 px ---- */
.lkh-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4.6fr); gap: 12px; align-items: stretch; padding: 12px; border-radius: 8px; background: var(--band); color: #fff; }
.lkh-band.lkh--blue { --band: var(--blue); }
.lkh-band.lkh--apricot { --band: var(--apr); }
.lkh-band.lkh--amber { --band: var(--amb); color: #222; }
.lkh-band.lkh--green { --band: #4f6713; } /* лента на марка (62): бял текст 6,4:1 */
.lkh-band-tx { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 4px 8px; }
.lkh-band-h { font-size: 24px; line-height: 1.15; margin: 0; color: inherit; }
.lkh-band-tx p { margin: 0; font-size: 14px; line-height: 1.4; opacity: .92; }
.lkh-band .lkh-feat { background: #fff; color: #222; padding: 10px; gap: 6px; }
.lkh-band .lkh-feat-img { aspect-ratio: auto; height: 104px; }
.lkh-band .lkh-feat .lkh-kicker { color: var(--band); opacity: 1; }
.lkh-band.lkh--amber .lkh-feat .lkh-kicker, .lkh-band.lkh--amber .lkh-band-tx .lkh-kicker { color: #5a3b00; }
.lkh-band .lkh-feat .lkh-kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lkh-band .lkh-feat-price { font-size: 18px; }
.lkh-band .lkh-feat-tx { flex: 1; }
.lkh-band-minis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.lkh-band .lkh-feat:hover .lkh-feat-name { text-decoration: underline; }
.lkh-band a:focus-visible, .lkh-hero a:focus-visible, .lkh-trust a:focus-visible { outline: 2px solid #222; outline-offset: 2px; }

/* ---- лента с лога (wd/brands): една линия, сиви, 40 px ---- */
.lkh-brands { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; padding: 12px 14px 6px; }
.lkh-brands-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.lkh-brands-head .lkh-t { font-size: 20px; font-weight: 700; color: #222; }
.lkh-brands-head a { color: var(--g); font-weight: 600; font-size: 14px; white-space: nowrap; }

@media (max-width: 1024px) {
	.lkh-hero { grid-template-columns: minmax(0, 1fr); --hh: 340px; }
	.lkh-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 150px; }
	.lkh-trust { padding: 0; }
	.lkh-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lkh-trust-item { padding: 8px 10px; border-top: 1px solid #d5ddbd; }
	.lkh-trust-item:nth-child(odd) { border-left: 0; }
	.lkh-trust-item:nth-child(-n+2) { border-top: 0; }
	.lkh-band { grid-template-columns: minmax(0, 1fr); }
	/* плочките се плъзгат хоризонтално; следващата се подава, за да се вижда, че има още */
	.lkh-band-minis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
	.lkh-band-minis::-webkit-scrollbar { display: none; }
	.lkh-band .lkh-feat { flex: 0 0 calc((100% - 36px) / 3.4); scroll-snap-align: start; }
}
@media (max-width: 600px) {
	/* телефон: снимка горе (ниска ивица), текст отдолу; височината е една за всички слайдове */
	.lkh-hero { gap: 8px; --hh: 296px; }
	.lkh-slide { flex-direction: column; align-items: stretch; }
	.lkh-sl-media { position: relative; width: 100%; height: 112px; flex: 0 0 112px; }
	.lkh-sl-img { -webkit-mask-image: none; mask-image: none; object-position: right center; }
	.lkh-logos { inset: 0; width: auto; padding: 10px 12px 0; grid-auto-rows: 44px; gap: 6px; }
	.lkh-logo { padding: 6px; }
	.lkh-logo img { max-height: 30px; }
	.lkh-sl-tx { max-width: none; padding: 8px 12px 0; }
	.lkh-sl-tx .lkh-kicker { font-size: 12px; margin-bottom: 2px; }
	.lkh-sl-h { font-size: 20px; margin-bottom: 4px; }
	.lkh-sl-tx p { font-size: 13px; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.lkh-sl-tx p.lkh-hero-btns { display: flex; overflow: visible; }
	.lkh-hero .lkh-btn { padding: 8px 14px; }
	.lkh-sl-arrow { display: none; }
	.lkh-sl-nav { left: auto; right: 8px; bottom: 8px; background: rgba(255,255,255,.85); border-radius: 14px; padding: 0 4px; }
	.lkh-hero-side { height: 92px; gap: 8px; }
	.lkh-tile-tx { max-width: 64%; padding: 8px 10px; gap: 3px; }
	.lkh-tile .lkh-sl-img { width: 44%; }
	.lkh-tile-h { font-size: 15px; }
	.lkh-tile-off { font-size: 13px; padding: 4px 6px; }
	.lkh-tile-p, .lkh-tile .lkh-kicker { display: none; }
	.lkh-tile-more { font-size: 13px; }
	.lkh-band-logo { height: 44px; }
	.lkh-trust-item { align-items: flex-start; gap: 8px; padding: 8px; }
	.lkh-ic { flex-basis: 26px; height: 26px; margin-top: 1px; }
	.lkh-ic svg { width: 26px; height: 26px; }
	.lkh-tx { font-size: 12px; line-height: 16px; }
	.lkh-tx strong { font-size: 13px; line-height: 17px; }
	.lkh-tx > * { white-space: normal; }
	.lkh-band { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 10px; }
	.lkh-band-h { font-size: 22px; }
	.lkh-band-tx { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.lkh-band-tx .lkh-kicker, .lkh-band-tx p { flex-basis: 100%; }
	.lkh-band-minis { gap: 8px; }
	.lkh-band .lkh-feat { flex-basis: calc((100% - 8px) / 2.35); }
	.lkh-band .lkh-feat { padding: 8px; }
	.lkh-band .lkh-feat-img { height: 96px; }
	.lkh-band .lkh-feat-name { font-size: 13px; }
	.lkh-band .lkh-feat-price { font-size: 16px; }
	.lkh-kicker-more { display: none; } /* на телефон само „№1“: категорията е в заглавието на лентата */
}
