/* Home Goods select (избран вариант B7 „Етикети“): черно, снимка на цял екран, отделите са жълти етикети като цените по рафтовете. */
:root {
  --ink: #14110F;
  --sign: #F1C21B;
  --red-y: #9E1228;          /* handwritten red on a yellow sticker */
  --red-d: #FF5C68;          /* red lettering on black */
  --ground: #14110F;
  --ground-rgb: 20, 17, 15;
  --surface-rgb: 20, 17, 15;
  --text: #F5EEDF;
  --muted: #CFC5B3;
  --line: rgba(245, 238, 223, .16);
  --accent: var(--sign);     /* focus rings etc.: red stays lettering only */
  --btn: #F1C21B;
  --btn-hover: #FFD23A;
  --btn-ink: #14110F;
  --btn-shadow: rgba(0, 0, 0, .5);
  --hero-filter: brightness(.8) contrast(1.08) saturate(1.05);
  --hero-film: brightness(.62) contrast(1.04) saturate(.78);   /* background clips sit back, never compete with the headline */
  --hand: "Kurale", Georgia, serif;
  --display: "Kurale", Georgia, serif;   /* the sign's broad-nib lettering, in Cyrillic too */
  color-scheme: dark;
}
.hero__t { color: var(--sign); font-size: clamp(2.25rem, 4.2vw, 3.625rem); line-height: 1.08; letter-spacing: 0; }
.hero__t em { color: var(--red-d); }
.hero__lead { font-size: clamp(1rem, 1.2vw, 1.125rem); margin-top: 16px; }
.hero__act { margin-top: 26px; }
/* Kurale is wider than a condensed serif: section titles step down to keep the same weight on the page */
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: 0; }
.cats__list h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; }
.window__addr { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }

/* strip captions become stickers too */
.strip figcaption b { display: inline-block; padding: 4px 10px; background: var(--sign); color: var(--ink); font: 400 1.125rem/1.1 var(--hand); transform: rotate(-2deg); border-radius: 2px; }
.cats__list h3 { color: var(--sign); }
.cats .h2, .shelf .h2, .window .h2 { color: var(--text); }
.window__addr { color: var(--sign); }
.hours tr.is-today th { color: var(--sign); }
.hours tr.is-today th::before { font: 600 .75rem/1 var(--ui); text-transform: none; letter-spacing: 0; }
.hours td:not(.num) { font-family: var(--ui); font-size: 1rem; }
.hero__lead { text-wrap: pretty; }

/* hours data is the only mono; labels speak in the UI face */
.strip figcaption { font: 500 .8125rem/1.4 var(--ui); text-transform: none; letter-spacing: 0; }
.nw { white-space: nowrap; }
/* status: never a red fill; closed is carried by red lettering and a ring */
.dot { background: var(--muted); }
[data-status-state="open"] .dot { background: var(--sign); }
[data-status-state="closed"] .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
[data-status-state="closed"].window__status { color: var(--red-d); }
/* departments: the sticker you tapped lights its row */
.cats__list li { scroll-margin-top: 24px; transition: background-color .4s ease-out; }
.cats__list li:target { background: rgba(241, 194, 27, .1); }
.cats__list li:target h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.cats__list img { border-radius: 4px; }

/* mobile action dock (shown by vitrina.js once the hero has scrolled away) */
.dock { display: none; }

@media (max-width: 640px) {
  .hero__copy { padding-top: 108px; padding-bottom: 40px; }
  .hero__t { font-size: clamp(1.875rem, 8.4vw, 2.25rem); }
  .hero__lead { font-size: 1rem; line-height: 1.5; margin-top: 12px; }
  .hero__act { margin-top: 22px; }
  .hero__where { margin-top: 16px; font-size: .875rem; }
  .hero__act .btn { flex: 1 1 auto; justify-content: center; }
  .dock { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .32s cubic-bezier(.16,1,.3,1); }
  .dock.is-shown { transform: none; }
  .dock .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .opt { display: none; }
}

/* ---------- Header: bigger logo · social in the middle · menu on the right ---------- */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; }
.top__logo { justify-self: start; }
.top__logo img { height: 62px; }
.top__soc { justify-self: center; }


/* social: colourless icons; on hover a yellow fill rises and the icon turns ink */
.soc { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.soc li { position: relative; }
.soc__a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; isolation: isolate; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s ease-out, box-shadow .3s ease-out; }
.soc__a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sign); transform: translateY(101%); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.soc__a svg { width: 20px; height: 20px; fill: currentColor; }
.soc__tip { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); padding: 5px 9px; border-radius: 4px; background: var(--sign); color: var(--ink); font: 500 .8125rem/1 var(--ui); white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease-out, top .25s ease-out, visibility .25s; }
@media (hover: hover) {
  .soc__a:hover { color: var(--ink); box-shadow: none; }
  .soc__a:hover::before { transform: none; }
  .soc li:hover .soc__tip { opacity: 1; visibility: visible; top: calc(100% + 10px); }
}
.soc__a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; color: var(--ink); }
.soc__a:focus-visible::before { transform: none; }

/* burger + menu panel */
.burger { all: unset; justify-self: end; position: relative; z-index: 2; cursor: pointer; display: grid; align-content: center; justify-items: center; gap: 5px; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s ease-out; }
.burger:hover { background: rgba(245, 238, 223, .08); }
.burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu { position: absolute; z-index: 1; top: 12px; right: calc(var(--gut) - 12px); width: min(360px, calc(100vw - 2 * var(--gut) + 24px)); padding: 76px 28px 28px; border-radius: 4px; background: var(--ink); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
.menu[hidden] { display: none; }
.menu__nav { display: grid; }
.menu__nav a { padding: 12px 0; border-top: 1px solid var(--line); font: 400 1.75rem/1.15 var(--display); color: var(--text); text-decoration: none; }
.menu__nav a:first-child { border-top: 0; }
.menu__nav a:hover { color: var(--sign); }
.menu__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--sign); font: 600 1.0625rem/1 var(--ui); text-decoration: none; }
.menu .soc { margin-top: 22px; }
.menu .soc__tip { display: none; }

@media (max-width: 640px) {
  .top { grid-template-columns: 1fr auto; padding-top: 14px; }
  .top__logo img { height: 42px; }
  .top__soc { display: none; }
}
/* ---------- Category tags: yellow price tags with a string hole, each pointing a different way ---------- */
.rail { position: absolute; z-index: 2; right: 14px; top: 50%; transform: translateY(-50%); display: grid; justify-items: end; gap: 24px; }
.tag { --tip: 20px; --r: 0deg; display: inline-block; text-decoration: none; transform: rotate(var(--r)); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .42)); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.tag__b { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 26px 12px calc(var(--tip) + 24px); background: var(--sign); color: var(--red-y); font: 400 1.5rem/1 var(--display); white-space: nowrap; clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); transition: background-color .2s ease-out; }
.tag__b::before { content: ""; position: absolute; left: calc(var(--tip) - 1px); top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7); }
.tag--r .tag__b { padding: 12px calc(var(--tip) + 24px) 12px 26px; clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); }
.tag--r .tag__b::before { left: auto; right: calc(var(--tip) - 1px); }
.tag--a { --r: 7deg; margin-right: 14px; }     /* tip up and to the left */
.tag--b { --r: -4deg; }                         /* tip to the right */
.tag--c { --r: -13deg; margin-right: 30px; }   /* tip down and to the left */
@media (hover: hover) {
  .tag:hover { transform: rotate(calc(var(--r) * .3)) scale(1.04); }
  .tag:hover .tag__b { background: var(--btn-hover); }
}
.tag:focus-visible { outline: 2px solid var(--sign); outline-offset: 8px; }

/* Етикетите извън херото („Още в магазина“, „Заповядайте“) на телефон. */
@media (max-width: 640px) {
  .tag { --tip: 15px; }
  .tag__b { min-height: 42px; padding: 8px 18px 8px calc(var(--tip) + 18px); font-size: 1.125rem; }
  .tag--r .tag__b { padding: 8px calc(var(--tip) + 18px) 8px 18px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .tag__b { min-height: 38px; padding-block: 6px; font-size: 1.0625rem; }
}
/* Телефон: малки, прибрани етикети в десния горен ъгъл – един под друг, почти без наклон. */
@media (max-width: 640px) {
  .rail { top: 84px; right: var(--gut); transform: none; gap: 6px; }
  .rail .tag { --tip: 10px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
  .rail .tag__b { min-height: 30px; padding: 5px 12px 5px calc(var(--tip) + 12px); font-size: .9375rem; }
  .rail .tag__b::before { left: calc(var(--tip) - 1px); width: 6px; height: 6px; margin-top: -3px; }
  .rail .tag--r .tag__b { padding: 5px 12px 5px calc(var(--tip) + 12px); clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); }
  .rail .tag--r .tag__b::before { left: calc(var(--tip) - 1px); right: auto; }
  .rail .tag--a, .rail .tag--b, .rail .tag--c { --r: 0deg; margin-right: 0; }
  .rail .tag--a { --r: -2deg; }
  .rail .tag--c { --r: 2deg; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .rail { top: 76px; gap: 5px; }
  .rail .tag__b { min-height: 28px; padding-block: 4px; font-size: .875rem; }
}

/* ---------- Category pages ---------- */
.phero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(460px, 66svh, 680px); overflow: hidden; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: var(--hero-film); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--ground-rgb), .7) 0%, rgba(var(--ground-rgb), .25) 30%, rgba(var(--ground-rgb), .75) 68%, var(--ground) 100%); }
.phero__copy { width: 100%; max-width: 1440px; margin: 0 auto; padding: 140px var(--gut) clamp(32px, 5vw, 56px); }
.crumbs { margin: 0 0 14px; color: var(--muted); font-size: .9375rem; }
.crumbs a { color: var(--text); text-underline-offset: .2em; }
.crumbs span[aria-hidden] { margin: 0 .4em; opacity: .6; }
.phero__t { margin: 0; color: var(--sign); font: 400 clamp(2.5rem, 5.6vw, 4.5rem)/1.05 var(--display); text-wrap: balance; }
.phero__lead { margin: 14px 0 0; max-width: 44ch; color: var(--text); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); text-wrap: pretty; }
.subnav { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; color: var(--text); font: 500 1rem/1 var(--ui); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); background: rgba(var(--ground-rgb), .45); transition: background-color .2s ease-out, color .2s ease-out; }
.subnav a:hover { background: var(--sign); color: var(--ink); box-shadow: none; }

.sub { max-width: 1440px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; scroll-margin-top: 16px; }
.sub + .sub { border-top: 0; }
.sub__head { position: sticky; top: 32px; }
.sub__head .h2 { color: var(--sign); }
.sub__head p { margin: 16px 0 0; max-width: 36ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.gal { columns: 2; column-gap: 12px; }
.gal__a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 4px; overflow: hidden; }
.gal__a img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.gal__a:hover img { transform: scale(1.03); }
.gal__a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.others { max-width: 1440px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gut) 0; }
.others .h2 { color: var(--text); }
.others__tags { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 32px; padding-left: 8px; }
.others .tag { margin: 0; }

@media (max-width: 860px) {
  .sub { grid-template-columns: 1fr; }
  .sub__head { position: static; }
}
@media (max-width: 640px) {
  .phero { min-height: 0; }
  .phero__copy { padding-top: 116px; }
  .subnav a { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }
  .gal { column-gap: 8px; }
  .gal__a { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .soc__a::before, .burger span, .tag, .tag__b, .gal__a img { transition: none; }
  .menu.is-open { animation: none; }
}
.gal--1 { columns: 1; max-width: 760px; }

/* ---------- Visit: Google map in place of the directions button ---------- */
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #2a2622; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link { align-self: center; color: var(--text); font: 500 1rem/1.4 var(--ui); text-underline-offset: .2em; }
.map__link:hover { color: var(--sign); }

/* ---------- Visit block: prints pinned to a board. Shop photo tilted one way, the map taped over its corner the other way ---------- */
.visit { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gut) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.visit__info { display: grid; gap: 18px; align-content: start; }
.visit__info .hero__act { margin-top: 6px; align-items: center; }

.visit__stage { position: relative; aspect-ratio: 1 / .86; }
.print { position: absolute; margin: 0; padding: 10px 10px 12px; background: #F5EEDF; border-radius: 3px; box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .25); }
.print img, .print .map { display: block; width: 100%; border-radius: 0; }
.print--photo { left: 0; top: 0; width: 76%; transform: rotate(-2.5deg); }
.print--photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.print--map { right: 0; bottom: 0; width: 54%; transform: rotate(1.5deg); padding-bottom: 10px; }
.print--map .map { box-shadow: none; }
/* yellow tape holding the map */
.print--map::before, .print--map::after { content: ""; position: absolute; z-index: 1; width: 88px; height: 26px; background: rgba(241, 194, 27, .82); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.print--map::before { top: -12px; left: 18px; transform: rotate(-8deg); }
.print--map::after { bottom: -10px; right: 22px; transform: rotate(-5deg); }
.visit__tag { position: absolute; z-index: 2; top: -18px; left: 56%; --r: 9deg; pointer-events: none; }
.visit__tag .tag__b { font-size: 1.375rem; }

@media (max-width: 980px) {
  .visit { grid-template-columns: 1fr; }
  .visit__stage { max-width: 760px; }
}
@media (max-width: 640px) {
  .visit__stage { aspect-ratio: auto; display: grid; padding-top: 10px; }
  .print { position: relative; }
  .print--photo { width: 100%; transform: rotate(-1.5deg); }
  .print--map { width: 88%; margin: -6px 0 0 auto; transform: rotate(1.2deg); }
  .visit__tag { top: -6px; left: auto; right: 6px; }
  .visit__tag .tag__b { font-size: 1.125rem; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 32px; }
.faq__head p { margin: 16px 0 0; color: var(--muted); }
.faq__head a, .faq__a a { color: var(--sign); text-underline-offset: .2em; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.25 var(--display); color: var(--text); transition: color .2s ease-out; }
.faq__item summary:hover h3, .faq__item[open] h3 { color: var(--sign); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.faq__ico { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s ease-out, transform .3s cubic-bezier(.16,1,.3,1); }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--text); }
.faq__ico::after { transform: rotate(90deg); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.faq__item[open] .faq__ico { background: var(--sign); box-shadow: none; }
.faq__item[open] .faq__ico::before, .faq__item[open] .faq__ico::after { background: var(--ink); }
.faq__item[open] .faq__ico::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 24px 0; }
.faq__a p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; text-wrap: pretty; }
@media (max-width: 980px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 640px) {
  .faq__item summary { padding: 18px 0; }
  .faq__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .faq__ico, .faq__ico::after { transition: none; } }

/* ---------- Buttons never break the phone number over two lines ---------- */
.btn, .btn .num { white-space: nowrap; }
@media (max-width: 640px) {
  .dock { gap: 8px; }
  .dock .btn { padding: 10px 14px; gap: 8px; min-width: 0; }
}
@media (max-width: 360px) {
  .btn { font-size: 1rem; }
  .dock .btn { padding: 10px 12px; font-size: .9375rem; }
  .dock .btn .ico { width: 18px; height: 18px; }
}

/* ---------- Burger fills yellow on hover, like the social icons ---------- */
.burger { overflow: hidden; isolation: isolate; }
.burger::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--sign); transform: translateY(101%); transition: transform .3s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) {
  .burger:hover { background: transparent; box-shadow: none; }
  .burger:hover::before { transform: none; }
  .burger:hover span { background: var(--ink); }
}
.burger[aria-expanded="true"] { box-shadow: none; }
.burger[aria-expanded="true"]::before { transform: none; }
.burger[aria-expanded="true"] span { background: var(--ink); }
.burger:focus-visible::before { transform: none; }
.burger:focus-visible span { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .burger::before { transition: none; } }

/* ---------- Pictures (AVIF with JPEG fallback) behave like the img inside ---------- */
.gal__a picture, .print picture { display: block; }

/* ---------- Live open/closed in the hero line ---------- */
.hero__status { display: inline-flex; align-items: center; gap: 8px; margin-right: .6em; color: var(--text); font-weight: 500; }
.hero__status[data-status-state=""] { display: none; }
.hero__status[data-status-state="open"] { color: var(--sign); }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 640px) { .hero__status { display: flex; margin: 0 0 4px; } .hero__status[data-status-state=""] { display: none; } }

/* ---------- Map: a quiet fallback sits under the iframe in case Google does not load ---------- */
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; text-align: center; color: var(--text); text-decoration: none; }
.map__fallback .ico { width: 32px; height: 32px; color: var(--sign); }
.map__addr { font: 400 1.375rem/1.2 var(--display); color: var(--sign); }
.map__cta { font: 500 .9375rem/1.3 var(--ui); text-decoration: underline; text-underline-offset: .2em; }
.map iframe { z-index: 1; }

/* ---------- Footer: brand, shop, categories, social ---------- */
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); align-items: start; padding: clamp(48px, 6vw, 72px) var(--gut) clamp(32px, 4vw, 48px); max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.foot__brand img { width: min(240px, 64vw); height: auto; }
.foot__brand p, .foot__col p { margin: 12px 0 0; text-align: left; }
.foot__col p:first-child { margin-top: 0; }
.foot__h { color: var(--text); font: 600 .9375rem/1.3 var(--ui); }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--sign); text-decoration: underline; text-underline-offset: .2em; }
.foot__links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.foot .soc { margin-top: 14px; }
.foot .soc__tip { display: none; }
.foot .soc__a:hover { text-decoration: none; }
.foot__legal { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; text-align: left; }
@media (max-width: 980px) { .foot { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .foot { grid-template-columns: 1fr; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Lightbox for the category galleries ---------- */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ground); color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(0, 0, 0, .6); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); }
.lb__count { color: var(--muted); font: 500 .9375rem/1 var(--ui); font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); touch-action: pan-y; }
.lb__stage picture { display: contents; }
.lb__img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transition: opacity .2s ease-out; }
.lb__img.is-loading { opacity: .3; }
.lb__cap { margin: 0; padding: 14px var(--gut) calc(18px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: .9375rem; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(20, 17, 15, .6); }
.lb__nav--prev { left: clamp(8px, 2vw, 28px); }
.lb__nav--next { right: clamp(8px, 2vw, 28px); }
.lb .round:hover { background: var(--sign); color: var(--ink); }
.lb .round .ico { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lb__stage { padding: 0 8px; }
  .lb__nav { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
}
html.lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lb__img { transition: none; } }
@media (max-width: 640px) { .hero__where > .hero__status + .nw { display: block; margin-bottom: 2px; } }

/* ================= Feel pass (make-interfaces-feel-better) ================= */

/* 1. Press feedback: a small scale instead of a 1px nudge, on every tappable control */
.btn { transition-property: background-color, color, transform, box-shadow; }
.btn:active { transform: scale(.97); }
.soc__a, .round, .subnav a { transition-property: color, box-shadow, background-color, transform; transition-duration: .2s; transition-timing-function: ease-out; }
.soc__a:active, .burger:active, .round:active, .subnav a:active { transform: scale(.94); }
.burger { transition: background-color .2s ease-out, transform .15s ease-out; }
.tag:active { transform: rotate(calc(var(--r) * .3)) scale(.97); transition-duration: .1s; }

/* 2. Optical alignment: an icon on the left makes that side look heavier, so it gets a little less padding */
.btn:has(> .ico:first-child) { padding-left: 18px; }

/* 3. Image outlines: a faint inner edge so photos don't bleed into the dark ground */
.gal__a, .lb__stage picture { position: relative; }
.gal__a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(245, 238, 223, .1); pointer-events: none; }
.lb__img { outline: 1px solid rgba(245, 238, 223, .1); outline-offset: -1px; }

/* 4. Numbers that update live keep their width */
[data-status], .hero__status, .lb__count, .foot .num { font-variant-numeric: tabular-nums; }

/* 5. Wrapping: questions and menu links balance, short paragraphs avoid orphans */
.faq__item h3, .menu__nav a, .window__addr, .cats__list h3 { text-wrap: balance; }
.faq__head p, .foot p, .lb__cap, .visit__info p, .phero__lead { text-wrap: pretty; }

/* 6. Hit areas: small text links get at least ~40px of tappable height */
.foot__links a, .crumbs a, .map__link, .menu__tel { display: inline-block; padding-block: 8px; margin-block: -8px; }
.foot__links { gap: 14px; }
.foot__col p a { display: inline-block; padding-block: 6px; margin-block: -6px; }

/* 7. Menu: links arrive one after another, not as one block */
.menu.is-open .menu__nav a, .menu.is-open .menu__tel, .menu.is-open .soc { animation: menu-item .35s cubic-bezier(.16,1,.3,1) both; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { animation-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(5) { animation-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(6) { animation-delay: .2s; }
.menu.is-open .menu__tel { animation-delay: .24s; }
.menu.is-open .soc { animation-delay: .28s; }
@keyframes menu-item { from { opacity: 0; transform: translateY(6px); } }

/* 8. Lightbox: interruptible enter AND a soft exit (transition instead of a one-way keyframe) */
.lb { opacity: 0; transition: opacity .22s ease-out, overlay .22s allow-discrete, display .22s allow-discrete; }
.lb[open] { opacity: 1; }
@starting-style { .lb[open] { opacity: 0; } }
.lb .lb__img { transform: scale(.985); transition: opacity .2s ease-out, transform .3s cubic-bezier(.16,1,.3,1); }
.lb[open] .lb__img { transform: none; }
@starting-style { .lb[open] .lb__img { transform: scale(.985); } }

@media (prefers-reduced-motion: reduce) {
  .menu.is-open .menu__nav a, .menu.is-open .menu__tel, .menu.is-open .soc { animation: none; }
  .lb, .lb .lb__img { transition: none; transform: none; }
  .btn:active, .soc__a:active, .burger:active, .round:active, .subnav a:active, .tag:active { transform: none; }
}
.lb__stage { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.lb__stage source { display: none; }
.lb__img { grid-area: 1 / 1; }
@media (max-width: 640px) { .lb__stage { padding-bottom: 60px; } .lb__img { max-height: calc(100dvh - 210px); } }

/* ================= Motion pass (web-animation-design) ================= */
:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);        /* enter / exit */
  --ease-in-out: cubic-bezier(.645, .045, .355, 1); /* things already on screen that move or morph */
}

/* Hover = gentle "ease", short; only where a real pointer can hover (no sticky hover after a tap) */
.soc__a { transition: color .2s ease, box-shadow .2s ease, transform .12s ease-out; }
.soc__a::before, .burger::before { transition: transform .25s ease; }
.subnav a { transition: background-color .2s ease, color .2s ease, transform .12s ease-out; }
.faq__item h3 { transition: color .15s ease; }
.tag { transition: transform .25s ease; }
.tag__b { transition: background-color .15s ease; }
.gal__a img { transition: transform .3s ease; }
.btn { transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease-out; }
@media (hover: none), (pointer: coarse) {
  .btn--sign:hover { background: var(--btn); }
  .btn--line:hover { background: transparent; color: var(--text); }
  .subnav a:hover { background: rgba(var(--ground-rgb), .45); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
  .round:hover { background: transparent; }
  .lb .lb__nav:hover { background: rgba(20, 17, 15, .6); color: var(--text); }
  .lb .lb__close:hover { background: transparent; color: var(--text); }
  .gal__a:hover img { transform: none; }
  .menu__nav a:hover { color: var(--text); }
}

/* Tooltip: move with transform, not "top" (no layout work) */
.soc__tip { top: calc(100% + 10px); transform: translate(-50%, -4px); transition: opacity .15s ease-out, transform .15s ease-out, visibility .15s; }
@media (hover: hover) { .soc li:hover .soc__tip { top: calc(100% + 10px); transform: translate(-50%, 0); } }

/* Burger -> X is a morph on screen: ease-in-out */
.burger span { transition: transform .25s var(--ease-in-out), opacity .15s ease; }

/* Menu: grows from the button (top right), leaves faster and softer than it arrives */
.menu { transform-origin: top right; transition: opacity .15s ease-out, transform .15s ease-out, display .15s allow-discrete, overlay .15s allow-discrete; }
.menu[hidden] { display: none; opacity: 0; transform: scale(.97) translateY(-4px); }
.menu:not([hidden]) { opacity: 1; transform: none; transition-duration: .2s; }
@starting-style { .menu:not([hidden]) { opacity: 0; transform: scale(.97) translateY(-6px); } }
/* stagger stays inside ~300ms */
.menu.is-open .menu__nav a, .menu.is-open .menu__tel, .menu.is-open .soc { animation: menu-item .22s var(--ease-out) both; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: .025s; }
.menu.is-open .menu__nav a:nth-child(3) { animation-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .075s; }
.menu.is-open .menu__nav a:nth-child(5) { animation-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(6) { animation-delay: .125s; }
.menu.is-open .menu__tel { animation-delay: .15s; }
.menu.is-open .soc { animation-delay: .17s; }

/* Lightbox: dialog and photo move as one unit (same timing); closing ~20% faster */
.lb { transition: opacity .18s var(--ease-out), overlay .18s allow-discrete, display .18s allow-discrete; }
.lb[open] { transition-duration: .22s; }
.lb .lb__img { transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }

/* FAQ: the answer fades in when a question opens instead of popping in */
.faq__item[open] .faq__a { animation: faq-in .2s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
.faq__ico, .faq__ico::after { transition: background-color .15s ease, transform .2s var(--ease-in-out); }

/* Mobile action dock: enters/leaves the viewport, ease-out, under 300ms */
.dock { transition: transform .26s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .menu, .menu:not([hidden]), .lb, .lb .lb__img, .soc__tip, .dock, .tag, .gal__a img { transition: none; }
  .faq__item[open] .faq__a, .menu.is-open .menu__nav a, .menu.is-open .menu__tel, .menu.is-open .soc { animation: none; }
}

/* ================= Lightbox as a sliding strip ================= */
.lb__stage { display: block; padding: 0; overflow: visible; }
.lb__track { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); scroll-snap-align: center; scroll-snap-stop: always; box-sizing: border-box; }
.lb__slide picture { display: contents; }
.lb__slide .lb__img { grid-area: auto; max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lb .lb__img { transform: none; transition: none; }
.lb__nav:disabled { opacity: .25; cursor: default; pointer-events: none; }
@media (max-width: 640px) {
  .lb__slide { padding: 0 8px 60px; }
  .lb__slide .lb__img { max-height: calc(100dvh - 210px); }
}

/* ================= Floating menu button on phones and tablets ================= */
@media (max-width: 960px) {
  .burger { position: fixed; top: 12px; right: var(--gut); z-index: 40; background: rgba(20, 17, 15, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -10px rgba(0, 0, 0, .6); }
  .menu { position: fixed; z-index: 39; top: 6px; right: calc(var(--gut) - 6px); max-height: calc(100dvh - 12px); overflow-y: auto; }
}
.lb[open] { grid-template-columns: minmax(0, 1fr); }
.lb__stage, .lb__track { min-width: 0; width: 100%; }
.menu__tel { display: inline-flex; }

/* ---------- Reviews: two yellow notes pinned to the board, quoted word for word ---------- */
.reviews { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reviews__head { display: grid; gap: 14px; justify-items: start; }
.reviews__score { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.reviews__num { font: 400 2.25rem/1 var(--display); color: var(--sign); }
.reviews__link { color: var(--text); text-underline-offset: .2em; display: inline-block; padding-block: 8px; margin-block: -8px; }
.reviews__link:hover { color: var(--sign); }
.stars { display: inline-flex; gap: 2px; color: var(--sign); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.review { margin: 0; padding: 26px 26px 22px; background: var(--sign); color: var(--ink); border-radius: 3px; box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .25); }
.review .stars { color: var(--red-y); }
.review blockquote { margin: 14px 0 0; }
.review blockquote p { margin: 0; font: 400 clamp(1.25rem, 1.7vw, 1.5rem)/1.35 var(--display); color: var(--red-y); text-wrap: pretty; }
.review figcaption { margin-top: 16px; font: 600 .9375rem/1.3 var(--ui); }
.review figcaption span { font-weight: 400; opacity: .75; }
.review--a { transform: rotate(-1.8deg); }
.review--b { transform: rotate(1.6deg); margin-top: 48px; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .reviews__list { grid-template-columns: 1fr; gap: 18px; }
  .review--b { margin-top: 0; }
  .review { padding: 22px 20px 18px; }
}
@media (max-width: 380px) { .hours th, .hours td { font-size: .875rem; } .hours tr.is-today th::before { font-size: .6875rem; } }

/* ================= Hero: the headline comes out of the house =================
   The roof is the mark from favicon.svg, in sign yellow (red stays lettering only), set over „дома“
   the way it covers the H in the icon. Each line rises out from under its own floor line (clip), as if
   coming out of the house; the roof is drawn and lands on top as the first line arrives. */
.hero__ln { display: block; }
.hero__in { display: block; }
.roofed { position: relative; display: inline-block; }
.roof { position: absolute; left: -.16em; width: calc(100% + .32em); height: auto; bottom: .8em; fill: var(--sign); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__ln { clip-path: inset(-1.2em -.5em -.24em -.5em); }
  .hero__in { animation: ln-rise 1.15s var(--ease-out) .1s both; }
  .hero__ln + .hero__ln .hero__in { animation-delay: .28s; }
  .roof { animation: roof-draw .6s var(--ease-out) .75s both, roof-land .5s var(--ease-out) .75s both; }
}
@keyframes ln-rise { from { transform: translateY(118%); } }
@keyframes roof-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes roof-land { from { transform: translateY(-.25em); opacity: 0; } }

/* Bazar.bg: a quiet pointer under the galleries and beside the map link */
.bazar { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gut) 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.bazar a { color: var(--text); text-underline-offset: .2em; display: inline-block; padding-block: 8px; margin-block: -8px; }
.bazar a:hover { color: var(--sign); }

/* Gallery tiles show a closer crop (per-photo --f focus and --z zoom from tools/category-pages.py);
   the lightbox still opens the whole photo. Placed last so it beats the hover/touch resets above. */
.gal__a img { transform: scale(var(--z, 1)); transform-origin: var(--f, 50% 50%); }
@media (hover: hover) and (pointer: fine) { .gal__a:hover img { transform: scale(calc(var(--z, 1) * 1.03)); } }
@media (hover: none), (pointer: coarse) { .gal__a:hover img { transform: scale(var(--z, 1)); } }
/* Плочките в галерията винаги са 4:3 (вертикалните 3:4), дори когато снимката е по-широка; в lightbox остава цяла. */
.gal__a img { aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--f, 50% 50%); }
.gal__a img[height="720"] { aspect-ratio: 3 / 4; }
