/* Тестовая категория: дополняет ../home-test/style.css. Сетка как на живой категории, сверху фото и Liquid Glass как на главной, идея панели из Omostate. */

.cflow { --cgap: clamp(26px, 3vw, 40px); gap: var(--cgap); padding-top: 10px; }
.ctop { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--ink); transition: color .2s; }
.crumbs a:hover { color: var(--teal); }
.crumbs span { color: var(--teal); }
.crumbs i { font-style: normal; opacity: .5; }
.ctitle { margin: 0 clamp(6px, 1.2vw, 18px) 6px; font-size: clamp(30px, 3.4vw, 50px); }

/* Шапка: фото как на главной, поверх него стекло */
.chero { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; padding: clamp(20px, 2.4vw, 32px) 14px calc(var(--cbar-h, 0px) + 28px); border-radius: var(--r-xl); background: #e9dcc8; }
.chero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.chero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(247, 241, 232, .94) 0%, rgba(247, 241, 232, .9) 52%, rgba(247, 241, 232, 0) 80%); -webkit-mask-image: linear-gradient(180deg, #000 38%, transparent 58%); mask-image: linear-gradient(180deg, #000 38%, transparent 58%); pointer-events: none; }
.chero > :not(.chero__img) { position: relative; z-index: 1; }

/* Панель фильтра: плавает на фото, на компьютере едет с экраном поверх карточек */
.cfilter { position: relative; z-index: 20; min-width: 0; margin: calc(-1 * (var(--cgap) + var(--cbar-h, 0px) + 14px)) 14px 0; }
.cbar { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px; border-radius: 40px; }
#cf-main { display: contents; }
.cf-row[hidden] { display: none; }
.cf { position: relative; flex: 1 1 auto; min-width: 96px; max-width: 260px; }
.cf__btn { position: relative; display: block; width: 100%; height: 54px; padding: 8px 28px 8px 16px; border-radius: 28px; background: rgba(255, 255, 255, .62); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.cf__btn small { display: block; overflow: hidden; color: rgba(29, 29, 31, .72); font-size: 12px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; transition: color .2s; }
.cf__btn span { display: block; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.cf__btn .chev { position: absolute; right: 12px; top: 19px; color: rgba(29, 29, 31, .7); transition: transform .2s, color .2s; }
.cf__btn:hover { background: rgba(255, 255, 255, .9); }
.cf.is-open .chev { transform: rotate(180deg); }
.cf__btn.has-value, .cf.is-open .cf__btn { background: var(--ink); color: #fff; }
.cf__btn.has-value small, .cf.is-open .cf__btn small { color: rgba(255, 255, 255, .68); }
.cf__btn.has-value .chev, .cf.is-open .cf__btn .chev { color: #fff; }
.cadv, .cmapb { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px; border-radius: 28px; background: rgba(255, 255, 255, .62); color: var(--ink); font-size: 14px; white-space: nowrap; cursor: pointer; transition: background .2s; }
.cadv:hover, .cmapb:hover, .cadv.is-open { background: rgba(255, 255, 255, .9); }
.cadv[hidden] { display: none; }
.cadv .filter__badge { position: static; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; font-size: 11px; }
.cswitch { position: relative; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 999px; background: rgba(120, 120, 128, .32); transition: background .2s; }
.cswitch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .22s cubic-bezier(.3, 1.2, .5, 1); }
.cmapb.is-on .cswitch { background: var(--teal); }
.cmapb.is-on .cswitch::after { transform: translateX(14px); }
.cf__go { flex: 0 0 auto; height: 54px; min-height: 54px; min-width: 176px; padding: 0 18px; border-radius: 28px; font-size: 14px; white-space: nowrap; }
.cf__go.is-busy, .js-show.is-busy { opacity: .75; }
.cadvp { position: absolute; right: 0; top: calc(100% + 8px); z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; width: min(760px, 100%); padding: 8px; border-radius: 34px; }
.cadvp .cf { flex: 1 1 200px; max-width: none; }
.cadvp .cf__btn { background: rgba(255, 255, 255, .8); }
.cphone { display: none; }
.sheet__id { display: none; }
@media (min-width: 1181px) {
	.cfilter { position: sticky; top: calc(var(--ctop-h, 88px) + 8px); }
}
@media (max-width: 1180px) {
	.cbar { flex-wrap: wrap; border-radius: 36px; }
	.cf { flex: 1 1 28%; max-width: none; }
	.cf__go { flex: 1 1 auto; }
}

/* Боковое дерево категорий */
.cbody { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.caside { padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--r-l); }
.caside[hidden] { display: none; }
.caside__a { display: block; padding: 8px 12px; border-radius: 14px; font-size: 15px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s; }
.caside__a:not(:first-child):not(.caside__a--child) { margin-top: 10px; }
.caside__a--child { color: var(--text); font-size: 14px; font-weight: 400; }
.caside__a:hover { background: var(--island); color: var(--ink); }
.caside__a.is-on { background: var(--ink); color: #fff; }
.cresults { min-width: 0; scroll-margin-top: 100px; }

/* Выбор */
.pop__apply { width: 100%; margin-top: 10px; }
.chip:disabled { opacity: .36; cursor: default; }
.chip:disabled:hover { background: rgba(29, 29, 31, .06); }
.pop--list { max-height: min(440px, 70vh); overflow-y: auto; }

/* Подкатегории */
.subs-wrap { display: flex; align-items: center; gap: 8px; }
.cseg { --tint: rgba(255, 255, 255, .46); --edge: 14px; --frost: 8px; flex: 1 1 auto; min-width: 0; padding: 5px; border-radius: 999px; }
.subs { --fl: 0px; --fr: 0px; position: relative; display: flex; gap: 2px; min-width: 0; border-radius: 999px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.subs.is-fade-l { --fl: 22px; }
.subs.is-fade-r { --fr: 30px; }
.subs::-webkit-scrollbar { display: none; }
.subs__thumb { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 3px 10px rgba(16, 20, 24, .28); }
.subs.is-ready .subs__thumb { transition: transform .34s cubic-bezier(.3, 1.2, .5, 1), width .34s cubic-bezier(.3, 1.2, .5, 1), opacity .2s; }
.cseg__a { position: relative; z-index: 1; flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; color: var(--ink); font-size: 14px; white-space: nowrap; transition: color .2s; }
.cseg__a i { color: rgba(29, 29, 31, .56); font-size: 12px; font-style: normal; transition: color .2s; }
.cseg__a.is-on { color: #fff; }
.cseg__a.is-on i { color: rgba(255, 255, 255, .62); }
.subs-all { --tint: rgba(255, 255, 255, .46); --edge: 12px; --frost: 8px; flex: 0 0 auto; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; }

/* Все разделы: на телефоне лист со списком как в iOS, на компьютере меню под кнопкой как в macOS */
.ssubs { display: flex; flex-direction: column; gap: 20px; }
.ssubs__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ssubs__col:empty { display: none; }
.ssub h4 { margin: 0 0 7px 14px; color: var(--muted); font-size: 13px; font-weight: 400; }
.ssub__box { overflow: hidden; border-radius: 18px; background: rgba(255, 255, 255, .78); }
.ssub__a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; font-size: 15px; line-height: 1.2; transition: background .15s; }
.ssub__a + .ssub__a::before { content: ''; position: absolute; left: 14px; right: 0; top: 0; height: 1px; background: rgba(60, 60, 67, .12); }
.ssub__a svg { flex: 0 0 auto; color: var(--teal); }
.ssub__a:hover { background: rgba(255, 255, 255, .9); }
.ssub__a.is-on { font-weight: 500; padding-right: 36px; }
.ssub__a.is-on::after { content: ''; position: absolute; right: 18px; top: 50%; width: 6px; height: 12px; margin-top: -8px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }

@media (min-width: 768px) {
	#subs-sheet { display: block; padding: 0; }
	#subs-sheet.is-open { background: transparent; }
	#subs-sheet .sheet__panel { position: fixed; width: min(860px, calc(100vw - 32px)); border-radius: 26px; box-shadow: 0 24px 70px rgba(16, 20, 24, .22), 0 2px 8px rgba(16, 20, 24, .08); transform: translateY(-6px) scale(.985); transform-origin: top right; transition: transform .18s ease, opacity .18s ease; }
	#subs-sheet.is-open .sheet__panel { transform: none; }
	#subs-sheet .sheet__head { display: none; }
	#subs-sheet #subs-body { padding: 14px; }
	.ssubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.ssubs__col { gap: 14px; }
	.ssub__box { border-radius: 14px; }
	.ssub__a { min-height: 38px; padding: 6px 12px; font-size: 14px; }
	.ssub__a + .ssub__a::before { left: 12px; }
}

/* Панель над объектами: белые капсулы с мягкой тенью */
.chead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: -6px; padding-inline: 14px; }
.idfind { display: flex; flex-direction: row-reverse; align-items: center; gap: 2px; height: 44px; padding: 0 16px 0 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 26, .07), 0 4px 14px rgba(16, 20, 24, .06); transition: box-shadow .2s; }
.chead .idfind { flex: 0 1 240px; min-width: 170px; }
.idfind:focus-within { box-shadow: 0 0 0 1.5px var(--teal), 0 4px 14px rgba(16, 20, 24, .06); }
.idfind input { flex: 1 1 auto; width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; }
.idfind button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text); transition: color .2s; }
.idfind button:hover { color: var(--ink); }
.ctools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.cbtn { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; max-width: 240px; padding: 0 14px 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 26, .07), 0 4px 14px rgba(16, 20, 24, .06); color: var(--ink); font-size: 14px; white-space: nowrap; transition: box-shadow .2s; }
.cbtn:hover, .cbtn.is-open { box-shadow: 0 0 0 1px rgba(22, 25, 26, .2), 0 4px 14px rgba(16, 20, 24, .08); }
.cbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbtn .chev { flex: 0 0 auto; transition: transform .2s; }
.cbtn.is-open .chev { transform: rotate(180deg); }
.viewsw { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 26, .07), 0 4px 14px rgba(16, 20, 24, .06); }
.viewsw button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 38px; padding: 0 10px; border-radius: 999px; color: var(--text); font-size: 13px; transition: background .2s, color .2s; }
.viewsw button:hover { color: var(--ink); }
.viewsw button.is-on { background: var(--ink); color: #fff; }

.cactive { flex: 1 1 240px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.cactive[hidden] { display: none; }
.achip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--island); color: var(--ink); font-size: 13px; }
.achip button { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted); transition: background .2s, color .2s; }
.achip button:hover { background: var(--ink); color: #fff; }
.areset { padding: 0 8px; color: var(--teal); font-size: 13px; font-weight: 500; }

/* Сетка */
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transition: opacity .2s; }
.cgrid[hidden] { display: none; }
.cgrid.is-loading { opacity: .5; pointer-events: none; }
.cgrid .oc { min-height: 460px; }
.oc__st { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.oc--sk, .lc--sk { background: linear-gradient(100deg, var(--island) 30%, var(--island-2) 50%, var(--island) 70%); background-size: 220% 100%; animation: cat-sk 1.3s linear infinite; }
.oc--sk { min-height: 460px; }
.lc--sk { min-height: 270px; border: 0; }
@keyframes cat-sk { to { background-position: -220% 0; } }

/* Список: как на живой категории */
.cgrid--list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lc { display: grid; grid-template-columns: minmax(0, 37%) minmax(0, 1fr); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lc:last-child { padding-bottom: 0; border-bottom: 0; }
.lc:hover .nc__photo img { transform: scale(1.04); }
.lc .nc__media { aspect-ratio: 711 / 500; border-radius: var(--r-l); }
.lc .nc__media .tag { left: 12px; top: 12px; }
.lc .nc__media .round-glass { right: 12px; top: 12px; bottom: auto; }
.lc .nc__media .round-glass--2 { right: 64px; }
.lc__icons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.lc__icons i { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--island); }
.lc__icons img { width: 26px; height: 26px; object-fit: contain; }
.lc__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 4px; }
.lc__name { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.lc__name:hover { color: var(--teal); }
.lc__price b { font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.lc__price small { margin-left: 8px; color: var(--muted); font-size: 13px; }
.lc__info { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 14px; line-height: 1.35; }
.lc__info b { color: var(--teal); font-weight: 400; }
.lc__desc { color: var(--text); font-size: 14px; line-height: 1.55; }
.lc__foot { margin-top: auto; padding-top: 6px; }
.lc--sk { display: block; min-height: 300px; padding: 0; border: 0; border-radius: var(--r-l); }

/* Карта */
.cmap-wrap { position: relative; }
.cmap { height: clamp(440px, 70vh, 720px); overflow: hidden; border-radius: var(--r-l); background: var(--island); }
.cmap[hidden] { display: none; }
.cmap-load { display: flex; align-items: center; justify-content: center; min-height: 80px; color: var(--muted); font-size: 14px; }
.cmap-load[hidden] { display: none; }
.mapcard { display: flex; flex-direction: column; gap: 4px; width: 230px; font-family: Inter, Arial, sans-serif; color: var(--ink); }
.mapcard img { width: 100%; height: 130px; margin-bottom: 6px; border-radius: 12px; object-fit: cover; }
.mapcard b { font-size: 16px; font-weight: 600; }
.mapcard span { font-size: 13px; line-height: 1.35; }
.mapcard a { margin-top: 4px; color: var(--teal); font-size: 13px; font-weight: 500; }

/* Пусто, ошибка, страницы */
.cstate { padding: 56px 16px; text-align: center; }
.cstate[hidden] { display: none; }
.cstate b { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.cstate p { margin-bottom: 18px; color: var(--text); font-size: 15px; }
.cmore { margin-top: 28px; text-align: center; }
.js-more[hidden] { display: none; }
.js-more.is-busy { opacity: .55; }
.cpager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.cpager[hidden] { display: none; }
.cpager .circle { font-size: 14px; }
.cpager .circle.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cdots { width: 24px; color: var(--muted); text-align: center; }

/* Смотрите также */
.clsi { display: flex; flex-wrap: wrap; gap: 8px; }
.clsi a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: 14px; line-height: 1.25; transition: background .2s, color .2s; }
.clsi a:hover { background: var(--ink); color: #fff; }
#c-lsi[hidden], #seo[hidden], .subs-wrap[hidden] { display: none; }
.seo__body > p:first-child { margin-top: 0; }
.seo__body h2, .seo__body h3 { margin: 24px 0 10px; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.seo__body p { margin: 0 0 10px; color: var(--text); font-size: 15px; line-height: 1.65; }
.seo__body a { color: var(--teal); }
.seo__body ul { margin: 0 0 10px; padding-left: 20px; color: var(--text); font-size: 15px; line-height: 1.65; }

@media (max-width: 1279px) {
	.cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgrid--list { grid-template-columns: minmax(0, 1fr); }
	.cbody { grid-template-columns: 240px minmax(0, 1fr); }
	.lc { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 1023px) {
	.cbody { grid-template-columns: minmax(0, 1fr); }
	.caside { display: none; }
}

@media (max-width: 767px) {
	.cflow { gap: 22px; padding-top: 6px; }
	.ctop { gap: 12px; }
	.crumbs { font-size: 12px; }
	.ctitle { font-size: clamp(27px, 8vw, 34px); }
	.cfilter { display: none; }
	.cphone { display: flex; align-items: center; gap: 8px; }
	.chero { gap: 10px; padding: 18px 10px 12px; border-radius: 28px; }
	.ctitle { margin: 0 8px 4px; }
	.cseg__a { padding: 0 12px; }
	.subs-wrap { gap: 6px; }
	.chead { padding-inline: 0; }
	.chead .idfind { display: none; }
	.cphone .btn { --tint: rgba(255, 255, 255, .5); --edge: 12px; --frost: 8px; position: relative; flex: 1 1 auto; gap: 8px; height: 48px; min-height: 48px; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; }
	.cphone .filter__badge { position: static; }
	.cphone .circle { --tint: rgba(255, 255, 255, .5); --edge: 12px; --frost: 8px; flex: 0 0 auto; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); }
	.cphone .circle.is-on { --tint: rgba(16, 20, 24, .78); color: #fff; }
	.sheet__id { display: block; padding: 0 16px 12px; }
	.sheet__id .idfind { height: 44px; background: rgba(255, 255, 255, .78); box-shadow: none; }
	.sheet__id .idfind input { font-size: 16px; }
	.chead { gap: 8px; }
	.cactive { flex: 1 1 100%; }
	.ctools { width: 100%; flex-wrap: nowrap; margin-left: 0; }
	.cbtn { flex: 1 1 0; min-width: 0; max-width: none; justify-content: space-between; gap: 2px; padding-inline: 12px; font-size: 13px; }
	.viewsw { flex: 0 0 auto; }
	.viewsw button { min-width: 32px; padding: 0 6px; }
	.cgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.cgrid .oc, .oc--sk { min-height: 410px; }
	.lc { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.lc--sk { min-height: 410px; }
	.lc .nc__media { border-radius: 24px; }
	.lc .nc__media .tag { left: 12px; top: 12px; padding: 6px 14px; font-size: 13px; }
	.lc .nc__media .round-glass { left: auto; right: 12px; top: 12px; bottom: auto; width: 44px; height: 44px; }
	.lc .nc__media .round-glass--2 { left: auto; right: 62px; }
	.lc .nc__media .round-glass svg { width: 18px; height: 18px; }
	.lc__icons { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.lc__name { font-size: 18px; }
	.lc__price b { font-size: 22px; }
	.cmap { height: 66vh; border-radius: 22px; }
	.cstate { padding: 36px 8px; }
	.cmore .btn { width: 100%; }
	.cpager .circle { width: 40px; height: 40px; }
	.seo__body h2, .seo__body h3 { font-size: 20px; }
}

@media (hover: none) {
	.lc:hover .nc__photo img { transform: none; }
	.lc__name:hover { color: inherit; }
	.caside__a:hover { background: none; color: inherit; }
	.caside__a.is-on:hover { background: var(--ink); color: #fff; }
	.idfind button:hover { background: none; color: var(--ink); }
	.achip button:hover { background: none; color: var(--muted); }
	.clsi a:hover { background: var(--white); color: inherit; }
	.viewsw button:not(.is-on):hover { color: var(--muted); }
}

@media (max-width: 359px) {
	.ctools { flex-wrap: wrap; }
	.cbtn { flex: 1 1 calc(50% - 4px); }
	.viewsw { margin-left: auto; }
}

/* Bottom bar: «Фильтр» instead of «Каталог» on the category */
.tabbar__filter { position: relative; }
.tabbar .filter__badge { left: calc(50% + 5px); right: auto; top: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; font-size: 10px; font-weight: 500; line-height: 1; }
#subs-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

/* Выпадающее окно с поиском и кнопками-значениями, как на Omostate */
#pop .pop__find { display: block; width: 100%; height: 42px; margin-bottom: 12px; padding: 0 16px; border: 0; border-radius: 999px; outline: 0; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(22, 25, 26, .08); color: var(--ink); font: inherit; font-size: 14px; }
#pop .pop__find:focus { box-shadow: 0 0 0 1.5px var(--teal); }
#pop .chip[hidden] { display: none; }
#pop .pair input { height: 44px; border: 0; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(22, 25, 26, .08); font-size: 14px; }
#pop .pop__apply { display: flex; width: 100%; height: 44px; min-height: 44px; margin-top: 10px; font-size: 14px; }
@media (min-width: 768px) {
	#pop { width: 360px; }
}

/* ===== Без фото (по умолчанию) ===== */
.cflow:not(.has-photo) .chero { gap: 14px; overflow: visible; padding: 0; border-radius: 0; background: none; }
.cflow:not(.has-photo) .chero::after { display: none; }
.cflow:not(.has-photo) .ctitle { margin: 0 0 4px; }

/* Подкатегории: утопленная дорожка, тёмный бегунок как был */
.cflow:not(.has-photo) .cseg { padding: 5px; background: var(--island); }
.cflow:not(.has-photo) .cseg__a i { color: var(--muted); }
.cflow:not(.has-photo) .subs-all { background: var(--island); transition: background .2s; }
.cflow:not(.has-photo) .subs-all:hover { background: var(--island-2); }

/* Панель фильтра: белая капсула приподнята над страницей, поля утоплены в неё */
.cflow:not(.has-photo) .cfilter { margin: calc(14px - var(--cgap)) 0 0; }
.cflow:not(.has-photo) .cbar { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgba(22, 25, 26, .06), 0 14px 38px rgba(16, 20, 24, .09), 0 2px 6px rgba(16, 20, 24, .04); }
.cflow:not(.has-photo) .cf__btn, .cflow:not(.has-photo) .cadv, .cflow:not(.has-photo) .cmapb { background: var(--island); }
.cflow:not(.has-photo) .cf__btn small { color: var(--muted); }
.cflow:not(.has-photo) .cf__btn:hover, .cflow:not(.has-photo) .cadv:hover, .cflow:not(.has-photo) .cmapb:hover, .cflow:not(.has-photo) .cadv.is-open { background: var(--island-2); }
.cflow:not(.has-photo) .cf__btn.has-value, .cflow:not(.has-photo) .cf.is-open .cf__btn, .cflow:not(.has-photo) .cf__btn.has-value:hover { background: var(--ink); }
.cflow:not(.has-photo) .cf__btn.has-value small, .cflow:not(.has-photo) .cf.is-open .cf__btn small { color: rgba(255, 255, 255, .68); }
.cflow:not(.has-photo) .cadvp .cf__btn { background: var(--island); }
.cflow:not(.has-photo) .cadvp .cf__btn.has-value, .cflow:not(.has-photo) .cadvp .cf.is-open .cf__btn { background: var(--ink); }

.cflow:not(.has-photo) .chead { padding-inline: 0; }

@media (max-width: 767px) {
	.cflow:not(.has-photo) .chero { gap: 12px; padding: 0; border-radius: 0; }
	.cflow:not(.has-photo) .ctitle { margin: 0 0 2px; }
	.cflow:not(.has-photo) .cphone .btn, .cflow:not(.has-photo) .cphone .circle { background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 26, .07), 0 6px 18px rgba(16, 20, 24, .08); }
	.cflow:not(.has-photo) .cphone .circle.is-on { background: var(--ink); color: #fff; }
}

.chero__img[hidden] { display: none; }
.cflow:not(.has-photo) .ctop .lqd::before, .cflow:not(.has-photo) .ctop .lqd::after,
.cflow:not(.has-photo) .cfilter .lqd::before, .cflow:not(.has-photo) .cfilter .lqd::after { display: none; }

/* Тема: без меню разделов (режим «На карте») результаты и карта занимают всю ширину, а не колонку меню */
.caside[hidden] + .cresults { grid-column: 1 / -1; }
/* Плитка: название всегда в две строки, место под статус зарезервировано — белые блоки одной высоты */
.oc__panel .oc__name { display: -webkit-box; overflow: hidden; min-height: calc(2 * 1.35em); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
