/* Нова карта на обява (listing card v2) - 31.10.2026. Само в обхват .lc / .lc-checky / .lc-col. */
.lc-col { margin-bottom: 24px; display: flex; }
.lc-col > .lc, .lc-col > .lc-checky { width: 100%; }
.lc-slide { height: auto; display: flex; }
.lc-slide > .lc { width: 100%; }

.lc {
	--lc-blue: #120CE8; --lc-ink: #0F172A; --lc-muted: #4B5563; --lc-line: #E5E7EB; --lc-orange: #FF6A2A;
	position: relative; display: flex; flex-direction: column; background: #FFF; border: 1px solid var(--lc-line);
	border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.06); color: var(--lc-ink);
	font-family: Montserrat, Arial, sans-serif; text-align: left;
	container-type: inline-size; container-name: lc;
}
.lc--hot { border: 2px solid var(--lc-orange); }

.lc__media { position: relative; aspect-ratio: 4 / 3; background: #E5E7EB; overflow: hidden; }
.lc__media .swiper, .lc__media .swiper-wrapper, .lc__media .swiper-slide, .lc__media .swiper-slide a { height: 100%; }
.lc__media .swiper { position: relative !important; overflow: hidden !important; }
.lc__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc__media .swiper-pagination { display: none !important; }
.lc__media .swiper-button-prev, .lc__media .swiper-button-next {
	width: 40px; height: 40px; margin-top: -20px; border-radius: 999px; border: 0; background: rgba(255,255,255,.88);
	color: var(--lc-ink); opacity: 0; transition: opacity .15s; padding: 0;
}
.lc__media .swiper-button-prev::after, .lc__media .swiper-button-next::after { font-size: 16px; font-weight: 700; }
.lc__media:hover .swiper-button-prev, .lc__media:hover .swiper-button-next,
.lc__media .swiper-button-prev:focus-visible, .lc__media .swiper-button-next:focus-visible { opacity: 1; }
.lc__media .swiper-button-disabled { opacity: 0 !important; }
@media (hover: none) { .lc__media .swiper-button-prev, .lc__media .swiper-button-next { display: none; } }

.lc__badge { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.lc__badge--hot { background: var(--lc-orange); color: #111; }
.lc__gift { position: absolute; z-index: 5; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: #FFF; color: #9A3412; font-size: 11px; font-weight: 700; line-height: 1.1; }
.lc__count { position: absolute; z-index: 5; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: rgba(15,23,42,.72); color: #FFF; font-size: 12px; font-weight: 600; line-height: 1.2; }
.lc__count b { font-weight: 600; }
.lc__inactive { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 5px; background: #DC2626; color: #FFF; font-size: 12px; text-align: center; }

/* Любими: AjaxAction подменя съдържанието с inline стилове, затова !important */
.lc__fav { position: absolute; z-index: 6; top: 8px; right: 8px; }
.lc__fav a, .lc__fav a.addtofav {
	position: static !important; display: flex !important; align-items: center; justify-content: center;
	width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 999px !important;
	background: rgba(255,255,255,.92) !important; color: var(--lc-ink) !important; font-size: 20px !important; cursor: pointer; text-indent: 0 !important;
}
.lc__fav a i { display: none !important; }
.lc__fav a::before { content: ''; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lc__fav a.active::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6A2A' stroke='%23FF6A2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }

.lc__body { display: flex; flex-direction: column; gap: 12px; flex-grow: 1; padding: 16px; }
.lc__head { display: flex; flex-direction: column; gap: 4px; }
.lc__kicker { font-size: 13px; font-weight: 500; color: var(--lc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc__title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 400;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc__title a { color: var(--lc-ink); text-decoration: none; }
.lc__title a:hover b { color: var(--lc-blue); }
.lc__title b { font-weight: 700; }
.lc__title span { color: #374151; }
.lc__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lc__media, .lc__cta, .lc__seller { position: relative; z-index: 2; }

.lc__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lc__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: #F1F3F7; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.lc__chip svg { color: var(--lc-muted); flex: none; }

.lc__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; row-gap: 2px; }
.lc__amount { font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: var(--lc-ink); white-space: nowrap; }
.lc__dds { font-size: 12px; color: var(--lc-muted); text-align: right; white-space: nowrap; }

.lc__seller { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--lc-line); }
.lc__seller-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: #EEF0FE; color: var(--lc-blue); }
.lc__seller-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.lc__seller-txt b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc__seller-txt span { font-size: 12px; color: var(--lc-muted); }
.lc__seller-link { color: inherit; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc__seller-link:hover b, .lc__seller-link:focus-visible b { color: var(--lc-blue); text-decoration: underline; }

.lc__cta { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.lc__cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lc__cta-row--one { grid-template-columns: 1fr; }
.lc__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 10px;
	font-size: 13px; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none !important; text-transform: none; }
.lc__btn--main { min-height: 48px; background: var(--lc-blue); border: 1.5px solid var(--lc-blue); color: #FFF !important; font-size: 15px; font-weight: 700; }
.lc__btn--main:hover { background: #0A08A8; border-color: #0A08A8; }
.lc__btn--line { background: #FFF; border: 1.5px solid var(--lc-blue); color: var(--lc-blue) !important; }
.lc__btn--line:hover { background: #EEF0FE; }
.lc__btn:focus-visible, .lc__title a:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
@media (min-width: 768px) { .lc__title { min-height: 2.7em; } }

/* Тясна карта (3 в ред на десктоп, слайдерите): по-малки шрифтове и отстъпи, иконите остават */
@container lc (max-width: 300px) {
	.lc__body { padding: 14px; gap: 10px; }
	.lc__kicker { font-size: 12px; }
	.lc__title { font-size: 15px; }
	.lc__chips { gap: 4px; }
	.lc__chip { font-size: 11.5px; padding: 4px 6px; gap: 4px; }
	.lc__chip svg { width: 12px; height: 12px; }
	.lc__amount { font-size: 22px; }
	.lc__dds { font-size: 11px; }
	.lc__seller { gap: 8px; padding-top: 10px; }
	.lc__seller-ico { width: 32px; height: 32px; }
	.lc__seller-ico svg { width: 16px; height: 16px; }
	.lc__seller-txt b { font-size: 13px; }
	.lc__seller-txt span { font-size: 11px; }
	.lc__btn--main { min-height: 44px; font-size: 14px; }
	.lc__btn--main svg { width: 16px; height: 16px; }
	.lc__cta-row { gap: 6px; grid-template-columns: auto minmax(0, 1fr); }
	.lc__btn--line { min-height: 40px; font-size: 11.5px; gap: 4px; padding: 0 4px; letter-spacing: -.01em; }
	.lc__btn--line svg { width: 13px; height: 13px; flex: none; }
	.lc__badge { top: 10px; left: 10px; font-size: 11px; padding: 5px 9px; }
}
@container lc (max-width: 262px) {
	.lc__body { padding: 12px; }
	.lc__cta-row { gap: 5px; }
	.lc__btn--line { font-size: 11px; padding: 0 3px; gap: 3px; letter-spacing: -.02em; }
	.lc__btn--line svg { width: 12px; height: 12px; }
}
@container lc (min-width: 301px) and (max-width: 340px) {
	.lc__cta-row { grid-template-columns: auto minmax(0, 1fr); }
	.lc__btn--line { font-size: 12.5px; padding: 0 8px; }
	.lc__title { font-size: 16px; }
	.lc__chip { font-size: 12.5px; }
	.lc__amount { font-size: 24px; }
}
.lc__amount--text { font-size: 20px; }
.lc-col > a > img { display: block; max-width: 360px; margin: 0 auto; }

/* 2026-11-01: последен слайд „Виж всички N снимки“ (в картата са до 6) */
.lc__more-slide a { display: flex; align-items: center; justify-content: center; background: #EEF2F8; color: var(--lc-blue, #120CE8); text-decoration: none; }
.lc__more-in { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-align: center; }
.lc__more-slide a:hover .lc__more-in, .lc__more-slide a:focus-visible .lc__more-in { text-decoration: underline; }
