/* „Пеша от вкъщи“ (20.10.2026) — _partial/walk.tpl + js/walk.js. Отделен файл, за да не се смесва с общия lipite.css.
   Цветовете и шрифтовете — от токените на темата (tokens.css). */
.wk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-4); align-items: start; }
.wk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wk-go { display: grid; grid-template-columns: 56px auto 1fr; align-items: baseline; gap: 6px; width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-left: 4px solid transparent; background: var(--c-white); color: var(--c-navy); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); }
.wk-go b { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: .9; color: var(--c-leaf-ink); text-align: right; }
.wk-go small { font-size: var(--fs-sm); font-weight: 700; color: var(--c-leaf-ink); }
.wk-go span { font-size: var(--fs-ui); font-weight: 700; padding-left: 6px; }
.wk-go:hover:not(:disabled) { border-left-color: var(--c-yellow); transform: translateX(3px); }
.wk-go.is-on { background: var(--c-navy); border-color: var(--c-navy); border-left-color: var(--c-yellow); color: var(--c-white); }
.wk-go.is-on b, .wk-go.is-on small { color: var(--c-yellow); }
.wk-go:disabled { cursor: default; }
.wk-go:focus-visible, .wk-tour:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.wk-tour { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-2); padding: 0; border: 0; background: none; color: var(--c-navy); font: inherit; font-weight: 700; font-size: var(--fs-ui); cursor: pointer; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wk-tour-i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-yellow); }
.wk-tour-i::before { content: ''; margin-left: 3px; border-left: 11px solid var(--c-navy); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.wk.is-tour .wk-tour-i::before { margin: 0; width: 10px; height: 10px; border: 0; background: var(--c-navy); }

.wk-map { position: relative; margin: 0; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 14px; background: #0752a3; box-shadow: 0 24px 60px -28px rgba(2,46,94,.6); }
.wk-svg { display: block; width: 100%; height: 100%; }
.wk-r { fill: none; stroke: rgba(255,255,255,.0); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.wk-r.is-hint { stroke: rgba(255,255,255,.28); }
.wk-r.is-on { stroke: rgba(2,46,94,.35); }
.wk-mk { fill: none; stroke: #fff; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.wk-t { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 15; }
.wk-d { fill: var(--c-navy); stroke: #fff; stroke-width: 3; transition: opacity .3s; }
.wk-d.is-off { opacity: 0; }
.wk-pin { pointer-events: none; }
.wk-pin-i { fill: var(--c-yellow); stroke: var(--c-navy); stroke-width: 2.5; transform: translateY(-40px) scale(.2); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.wk-pin-c { fill: var(--c-navy); stroke: none; }
.wk-pin.is-on .wk-pin-i { transform: none; opacity: 1; }
.wk-home-p { fill: rgba(252,185,63,.45); transform-box: fill-box; transform-origin: center; animation: wk-pulse 2.4s ease-out infinite; }
@keyframes wk-pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.wk-leaf-b { fill: var(--c-leaf); stroke: #fff; stroke-width: 6; }
.wk-leaf-v { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 4; stroke-linecap: round; }
.wk-leaf-e { fill: #fff; }
.wk-leaf-l { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.wk-leaf-bag { fill: var(--c-yellow); stroke: var(--c-navy); stroke-width: 1.4; stroke-linejoin: round; }

.wk-clock { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: rgba(2,46,94,.82); color: var(--c-white); text-align: center; box-shadow: 0 10px 30px rgba(2,46,94,.4); }
.wk-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.wk-clock-bg { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 5; }
.wk-clock-arc { fill: none; stroke: var(--c-yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.wk-clock b, .wk-clock span { color: var(--c-white); }
.wk-clock b { position: relative; font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: .85; margin-top: 14px; }
.wk-clock span { position: relative; font-size: var(--fs-label); font-weight: 700; letter-spacing: .04em; margin-top: -14px; }

/* 03.11.2026 (Петьо: „листото стига до обекта и не се отваря снимка“): снимката излиза горе — долу я закриваше Липа
   и на нисък екран беше под първия екран; вдясно стои до часовника, вляво — под бележката. */
.wk-card { position: absolute; top: 16px; width: min(44%, 300px); margin: 0; background: var(--c-white); box-shadow: 0 18px 40px rgba(2,46,94,.45); opacity: 0; transform: translateY(16px) scale(.92); transition: opacity .35s, transform .5s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; }
.wk-card.is-l { left: 16px; top: 52px; } .wk-card.is-r { right: 148px; }
.wk-card.is-on { opacity: 1; transform: none; }
.wk-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-sand-2); }
.wk-card figcaption { padding: 10px 14px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-navy); }
.wk-note { position: absolute; left: 16px; top: 14px; margin: 0; padding: 4px 10px; background: rgba(2,46,94,.72); color: #fff; font-size: var(--fs-label); }

@media (max-width: 1023px) {
	.wk { grid-template-columns: minmax(0, 1fr); }
	.wk-side { order: 2; }
	.wk-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 767px) {
	.wk { gap: var(--s-2); }
	.wk-map { aspect-ratio: 780 / 700; border-radius: 10px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
	.wk-clock { width: 86px; height: 86px; right: 10px; top: auto; bottom: 10px; }
	.wk-clock b { font-size: 38px; margin-top: 10px; }
	.wk-clock span { font-size: 11px; margin-top: -10px; }
	.wk-card { width: 42%; top: 10px; bottom: auto; }
	.wk-card img { aspect-ratio: 3 / 2; }
	.wk-card figcaption { padding: 8px 10px; font-size: var(--fs-label); }
	.wk-card.is-l { left: 10px; top: 10px; } .wk-card.is-r { right: 10px; }
	.wk-note { left: 10px; top: auto; bottom: 10px; font-size: 11px; }
	.wk-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
	.wk-list li { flex: none; scroll-snap-align: start; }
	.wk-go { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; width: auto; padding: 10px 14px; }
	.wk-go b { font-size: 34px; text-align: left; }
	.wk-go span { flex-basis: 100%; padding: 0; font-size: var(--fs-sm); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.wk-home-p { animation: none; opacity: .6; }
	.wk-card, .wk-pin-i, .wk-go { transition: none; }
}
.wk-side .h2 { margin: 0 0 10px; }
.wk-lead { margin: 0 0 var(--s-3); font-size: var(--fs-lead); line-height: 1.45; color: var(--c-muted); max-width: 26em; }
.wk-more { margin: var(--s-3) 0 0; }
.wk-wrap { margin-top: var(--s-4); }
@media (max-width: 1023px) { .wk-side { display: contents; } .wk-side > .eyebrow, .wk-side > .h2, .wk-side > .wk-lead { order: -1; } .wk > .wk-map { order: 0; } .wk-list { order: 1; } .wk-tour { order: 2; justify-self: start; } .wk-more { order: 3; } }
/* 20.10.2026 (Петьо: „празно под картата“): на компютър картата е висока колкото списъка вляво */
@media (min-width: 1024px) { .wk { align-items: stretch; } .wk-map { aspect-ratio: auto; height: 100%; min-height: 440px; } }
