/* =====================================================================
   purr! — спокойный облик сайта (01.11, v8-106, редизайн главной).
   Владелец: «сохранить логотип, пудровый фон, розовый и лаймовый акценты и типографику; акценты спокойнее —
   без тяжёлых теней, толстых чёрных обводок и случайных пастельных плашек; одинаковые скругления, кнопки и иконки».
   Подключается после purr.css и purr-look.css (server/services/brand.js) и перекрывает их только для шапки, меню,
   нижней панели, подвала и новой главной (views/partials/home_purr.ejs). Цвета тем («Оформление сайта») —
   через переменные --lk-*.
   ===================================================================== */
html[data-brand="purr"] {
  --pc-surface: var(--lk-surface, #FFFFFF);
  --pc-surface-2: var(--lk-surface-2, #FBF3EF);
  --pc-text: var(--lk-text, #161616);
  --pc-muted: var(--lk-muted, #6E625D);
  --pc-line: var(--lk-line, rgba(22, 22, 22, 0.12));
  --pc-accent: var(--purr-cherry, #E8335F);
  --pc-accent-ink: var(--purr-cherry-ink, #C41E48);
  --pc-lime: var(--purr-lime, #C8F04B);
  --pc-r: 18px;
  --pc-r-sm: 12px;
  --pc-shadow: 0 2px 10px rgba(22, 22, 22, 0.06);
}
html[data-brand="purr"][data-look-dark] { --pc-accent-ink: var(--lk-accent, #FF7A9C); }

/* ---------- Кнопки: одна форма, без «наклейки»-тени ---------- */
html[data-brand="purr"] body.has-mobile-nav .btn,
html[data-brand="purr"] .site-header .btn,
html[data-brand="purr"] .site-footer .btn { box-shadow: none; }
html[data-brand="purr"] :is(.ph-hero, .ph-sec) .btn { border-radius: 999px; box-shadow: none; border-width: 1px; font-weight: 800; }
html[data-brand="purr"] :is(.ph-hero, .ph-sec) .btn:hover { transform: none; box-shadow: none; }
html[data-brand="purr"] :is(.ph-hero, .ph-sec) .btn:active { transform: scale(0.98) !important; box-shadow: none !important; }

/* =====================================================================
   Шапка (телефон): логотип · «Кабинет» · меню. Уезжает вместе со страницей; запись — в нижней панели.
   ===================================================================== */
html[data-brand="purr"] .hdr-acc { display: none; }
@media (max-width: 860px) {
  html[data-brand="purr"] .site-header { position: relative; background: transparent; border-bottom: 0; min-height: 0; }
  html[data-brand="purr"] .site-header .container { padding: 10px 16px; gap: 10px; }
  html[data-brand="purr"] .site-header .header-actions { gap: 8px; }
  html[data-brand="purr"] .site-header #header-booking-btn,
  html[data-brand="purr"] .site-header .header-actions .theme-btn { display: none !important; }
  html[data-brand="purr"] .site-header .header-actions .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border-radius: var(--pc-r-sm); border: 1px solid var(--pc-line); background: var(--pc-surface); color: var(--pc-text); box-shadow: none;
  }
  html[data-brand="purr"] .hdr-acc {
    display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px 0 10px; border-radius: 999px;
    border: 1px solid var(--pc-line); background: var(--pc-surface); color: var(--pc-text) !important; text-decoration: none;
    font-weight: 700; font-size: 0.9rem; line-height: 1;
  }
  html[data-brand="purr"] .hdr-acc .icon { width: 20px; height: 20px; color: var(--pc-accent-ink); }
  html[data-brand="purr"] .hdr-acc .icon .pa { fill: none; }
  html[data-brand="purr"] .hdr-acc b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pc-lime); color: #161616; font-size: 0.82rem; }
  html[data-brand="purr"] .hdr-acc:active { background: var(--pc-surface-2); }
  html[data-brand="purr"] body.booking-page .site-header { position: sticky; background: var(--lk-header, rgba(242, 225, 218, 0.96)); }
}
@media (max-width: 340px) {
  html[data-brand="purr"] .hdr-acc { width: 44px; padding: 0; justify-content: center; }
  html[data-brand="purr"] .hdr-acc span { display: none; }
}

/* =====================================================================
   Меню (телефон): смысловые группы, строки одинаковой высоты, значки — тонкой линией без цветных плашек.
   ПК: группы «раскрываются» в одну строку шапки.
   ===================================================================== */
html[data-brand="purr"] .nav-group-title { display: none; }
@media (min-width: 861px) {
  html[data-brand="purr"] .nav .nav-group { display: contents; }
}
@media (max-width: 860px) {
  html[data-brand="purr"] .nav { background: var(--lk-page, var(--purr-milk)); border-left: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  html[data-brand="purr"] .nav.nav-open { box-shadow: -10px 0 30px rgba(22, 22, 22, 0.12); }
  html[data-brand="purr"] .nav-panel-head { padding: 14px 16px 10px 20px; border-bottom: 0; }
  html[data-brand="purr"] .nav-close { width: 44px; height: 44px; border-radius: var(--pc-r-sm); }
  html[data-brand="purr"] .nav .nav-group { padding: 4px 12px 8px; }
  html[data-brand="purr"] .nav .nav-group-title {
    display: block; padding: 10px 10px 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pc-muted);
  }
  html[data-brand="purr"] .nav .nav-group a:not(.btn) {
    display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 10px; margin: 0; border: 0; border-radius: var(--pc-r-sm);
    font-family: 'Manrope', system-ui, sans-serif !important; font-size: 1rem; font-weight: 700; color: var(--pc-text);
  }
  html[data-brand="purr"] .nav .nav-group a:not(.btn):active,
  html[data-brand="purr"] .nav .nav-group a:not(.btn):hover { background: var(--pc-surface); }
  html[data-brand="purr"] .nav .nav-group a.is-current:not(.btn) { background: var(--pc-surface); color: var(--pc-accent-ink); }
  html[data-brand="purr"] .nav .nav-group a:not(.btn) .nav-ico,
  html[data-brand="purr"] .nav .nav-group a:not(.btn):nth-of-type(3n+2) .nav-ico,
  html[data-brand="purr"] .nav .nav-group a:not(.btn):nth-of-type(3n) .nav-ico,
  html[data-brand="purr"] .nav .nav-group a.is-current:not(.btn) .nav-ico {
    flex: 0 0 24px; width: 24px; height: 24px; border: 0; border-radius: 0; background: none !important; color: var(--pc-accent-ink);
  }
  html[data-brand="purr"] .nav .nav-group a:not(.btn) .nav-ico svg { width: 21px; height: 21px; }
  html[data-brand="purr"] .nav .nav-group a:not(.btn) .nav-ico .pa,
  html[data-brand="purr"] .nav .nav-group a.is-current:not(.btn) .nav-ico .pa { fill: none !important; stroke: currentColor !important; }
  html[data-brand="purr"] .nav .nav-l-desk { display: none; }
  html[data-brand="purr"] .nav .nav-group + .nav-group { border-top: 1px solid var(--pc-line); margin: 0 12px; padding-left: 0; padding-right: 0; }
  html[data-brand="purr"] .nav-panel-foot { padding: 12px 22px 0; gap: 12px; border-top: 1px solid var(--pc-line); margin: 6px 12px 0; padding-left: 10px; padding-right: 10px; }
  html[data-brand="purr"] .nav-help .nav-group-title { padding: 6px 0 6px; }
  html[data-brand="purr"] .nav-help-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  html[data-brand="purr"] .nav-help-row .btn { min-height: 44px; padding: 8px 10px; font-size: 0.88rem; white-space: normal; line-height: 1.15; border-radius: var(--pc-r-sm); background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-text); }
  html[data-brand="purr"] .nav-help-row .btn:only-child { grid-column: 1 / -1; }
  html[data-brand="purr"] .nav-theme-slot .theme-btn-menu {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; height: auto; padding: 6px 10px; border-radius: var(--pc-r-sm);
    border: 1px solid var(--pc-line); background: var(--pc-surface); color: var(--pc-text); font-weight: 700; font-size: 0.92rem; transform: none !important;
  }
  html[data-brand="purr"] .nav-theme-slot .theme-btn-menu svg { width: 20px; height: 20px; flex: 0 0 20px; }
  html[data-brand="purr"] .nav-panel-foot .nav-book { min-height: 50px; border-radius: 999px; }
  /* Открыто меню — нижняя панель и плашка cookie не мешают. */
  html[data-brand="purr"] body:has(.nav.nav-open) .mobile-nav { display: none; }
}
@media (min-width: 861px) {
  html[data-brand="purr"] .nav-theme-slot { display: none; }
  html[data-brand="purr"] .nav .nav-l-mob { display: none; }
}

/* =====================================================================
   Нижняя панель (телефон): Услуги · Работы · Записаться · Как найти. Выделена только запись.
   ===================================================================== */
@media (max-width: 860px) {
  html[data-brand="purr"] .mobile-nav {
    left: 0; right: 0; bottom: 0; border-radius: 0; border: 0; border-top: 1px solid var(--pc-line);
    background: var(--lk-header, rgba(255, 255, 255, 0.97)); box-shadow: 0 -2px 12px rgba(22, 22, 22, 0.05);
    padding: 4px 6px env(safe-area-inset-bottom, 0px); animation: none;
  }
  html[data-brand="purr"] .mobile-nav-item,
  html[data-brand="purr"] .mobile-nav-item:not(.mobile-nav-cta) {
    min-height: 56px; justify-content: center; gap: 2px; padding: 4px 2px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0; color: var(--pc-muted);
  }
  html[data-brand="purr"] .mobile-nav-item:not(.mobile-nav-cta) .mobile-nav-icon,
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta) .mobile-nav-icon {
    width: 40px; height: 28px; border: 0; border-radius: 10px; background: transparent !important; color: inherit; animation: none;
  }
  html[data-brand="purr"] .mobile-nav-item:not(.mobile-nav-cta) .mobile-nav-icon svg { width: 24px; height: 24px; }
  html[data-brand="purr"] .mobile-nav-item .pa,
  html[data-brand="purr"] .mobile-nav-item.is-active .pa { fill: none !important; stroke: currentColor !important; }
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta) { color: var(--pc-accent-ink); }
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta) .mobile-nav-label { color: var(--pc-accent-ink); }
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta)::after { display: none; }
  html[data-brand="purr"] .mobile-nav-cta { flex: 1.25; color: var(--pc-accent-ink); }
  html[data-brand="purr"] .mobile-nav-cta .mobile-nav-icon,
  html[data-brand="purr"] .mobile-nav-cta.is-active .mobile-nav-icon {
    width: 56px; height: 32px; margin: 0; border: 0; border-radius: 999px; background: var(--pc-accent); color: #fff; box-shadow: none;
  }
  html[data-brand="purr"] .mobile-nav-cta .mobile-nav-icon svg { width: 22px; height: 22px; }
  html[data-brand="purr"] .mobile-nav-cta .mobile-nav-label { color: var(--pc-accent-ink); font-weight: 800; }
  html[data-brand="purr"] body.site-page, html[data-brand="purr"] body.has-mobile-nav { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* Клавиатура открыта (поле ввода в фокусе) — панель прячется. */
  html[data-brand="purr"] body.kb-open .mobile-nav { display: none; }
  html[data-brand="purr"] body.kb-open { padding-bottom: 0; }
}
@media (max-width: 340px) {
  html[data-brand="purr"] .mobile-nav-item { font-size: 0.64rem; }
  html[data-brand="purr"] .mobile-nav-cta .mobile-nav-icon { width: 48px; }
}

/* =====================================================================
   Подвал: тёмный, компактный.
   ===================================================================== */
html[data-brand="purr"] .site-footer--compact { margin-top: 24px; }
html[data-brand="purr"] .site-footer--compact::before { display: none; }
html[data-brand="purr"] .site-footer--compact .ft-group summary { color: #fff; font-family: 'Manrope', system-ui, sans-serif !important; }
html[data-brand="purr"] .site-footer--compact .ft-groups,
html[data-brand="purr"] .site-footer--compact .ft-group { border-color: rgba(242, 225, 218, 0.14); }
html[data-brand="purr"] .site-footer--compact .ft-find { color: var(--pc-lime) !important; }
html[data-brand="purr"] .site-footer--compact .ft-social .social-row a { background: rgba(242, 225, 218, 0.08); border-radius: 50%; color: #F2E1DA; }
html[data-brand="purr"] .site-footer--compact .purr-bridge { margin-top: 12px; font-size: 0.78rem; opacity: 0.75; }

/* =====================================================================
   «Все акции»
   ===================================================================== */
html[data-brand="purr"] .promo-item { background: var(--pc-surface); border-color: var(--pc-line); border-radius: var(--pc-r); }
html[data-brand="purr"] .promo-item--fv { background: var(--pc-surface-2); }
html[data-brand="purr"] .promo-item p { color: var(--pc-muted); }

/* =====================================================================
   Новая главная (views/partials/home_purr.ejs)
   ===================================================================== */
html[data-brand="purr"] .ph-hero { padding: 6px 0 22px; color: var(--pc-text); }
html[data-brand="purr"] .ph-hero-grid { display: grid; gap: 22px; align-items: center; }
html[data-brand="purr"] .ph-kicker { margin: 4px 0 8px; font-size: 0.88rem; font-weight: 700; color: var(--pc-muted); }
html[data-brand="purr"] .ph-title { margin: 0 0 12px; font-size: clamp(2.1rem, 10vw, 4.1rem); line-height: 1.02; font-weight: 800; color: var(--pc-text); }
html[data-brand="purr"] .ph-title .ph-accent { display: block; color: var(--pc-accent); }
html[data-brand="purr"] .ph-where { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.4; }
html[data-brand="purr"] .ph-where-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; font-size: 0.95rem;
  color: var(--pc-accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
html[data-brand="purr"] .ph-where-link .icon .pa { fill: none; }
html[data-brand="purr"] .ph-cta { display: grid; gap: 10px; margin-top: 8px; }
html[data-brand="purr"] .ph-cta .btn { width: 100%; min-height: 52px; justify-content: center; font-size: 1.02rem; }
html[data-brand="purr"] .ph-cta .ph-cta-second { min-height: 48px; background: transparent; color: var(--pc-text); border: 1px solid var(--pc-line); }
html[data-brand="purr"] .ph-trust {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 6px; font-size: 0.92rem; font-weight: 600;
  color: var(--pc-text) !important; text-decoration: none;
}
html[data-brand="purr"] .ph-trust b { font-weight: 800; }
html[data-brand="purr"] .ph-star { color: var(--pc-accent); }

/* Три работы — прежняя композиция, тише: тонкая белая рамка, мягкая тень, без наклеек. */
html[data-brand="purr"] .ph-works3 { position: relative; width: 100%; max-width: 380px; height: 250px; margin: 0 auto; }
html[data-brand="purr"] .ph-w {
  position: absolute; display: block; width: 46%; aspect-ratio: 4 / 5; border-radius: var(--pc-r); overflow: hidden;
  background: var(--pc-surface-2); border: 4px solid var(--pc-surface); box-shadow: 0 6px 18px rgba(22, 22, 22, 0.1);
  transition: transform 0.25s ease;
}
html[data-brand="purr"] .ph-w img { display: block; width: 100%; height: 100%; object-fit: cover; }
html[data-brand="purr"] .ph-w1 { left: 2%; top: 22px; transform: rotate(-5deg); z-index: 1; }
html[data-brand="purr"] .ph-w2 { right: 2%; top: 0; transform: rotate(3deg); z-index: 2; }
html[data-brand="purr"] .ph-w3 { left: 27%; top: 58px; transform: rotate(-1deg); z-index: 3; }
html[data-brand="purr"] .ph-works3.n1 .ph-w1 { left: 27%; top: 10px; }
html[data-brand="purr"] .ph-works3.n2 .ph-w1 { left: 10%; }
html[data-brand="purr"] .ph-works3.n2 .ph-w2 { right: 10%; top: 30px; }
@media (hover: hover) { html[data-brand="purr"] .ph-w:hover { transform: rotate(0deg) translateY(-3px); z-index: 4; } }

/* Разделы */
html[data-brand="purr"] .ph-sec { padding: 26px 0; color: var(--pc-text); }
html[data-brand="purr"] .ph-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
html[data-brand="purr"] .ph-head h2, html[data-brand="purr"] .ph-head h3 { margin: 0; font-size: clamp(1.35rem, 5.6vw, 2rem); line-height: 1.15; }
html[data-brand="purr"] .ph-head--sub { margin-top: 26px; }
html[data-brand="purr"] .ph-head--sub h3 { font-size: clamp(1.15rem, 4.6vw, 1.5rem); }
html[data-brand="purr"] .ph-head--card h2 { font-size: 1.25rem; }
html[data-brand="purr"] .ph-head > a { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; font-size: 0.9rem; font-weight: 800; color: var(--pc-accent-ink); text-decoration: none; white-space: nowrap; }
html[data-brand="purr"] .ph-small, html[data-brand="purr"] .ph-addon, html[data-brand="purr"] .ph-sub-note { margin: 10px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--pc-muted); }
html[data-brand="purr"] .ph-small a, html[data-brand="purr"] .ph-help a, html[data-brand="purr"] .ph-fv a { color: var(--pc-accent-ink); font-weight: 800; }
html[data-brand="purr"] .ph-sub-note { margin: 0 0 10px; }

/* Вкладки */
html[data-brand="purr"] .ph-tabs, html[data-brand="purr"] .ph-subtabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 2px 16px;
}
html[data-brand="purr"] .ph-tabs::-webkit-scrollbar, html[data-brand="purr"] .ph-subtabs::-webkit-scrollbar { display: none; }
html[data-brand="purr"] :is(.ph-tab, .ph-subtab) {
  flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pc-line); background: var(--pc-surface);
  color: var(--pc-text); font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
html[data-brand="purr"] .ph-tab.is-on { background: var(--pc-text); border-color: var(--pc-text); color: var(--lk-page, #fff); }
html[data-brand="purr"] .ph-subtab { min-height: 40px; font-size: 0.88rem; background: transparent; }
html[data-brand="purr"] .ph-subtab.is-on { background: var(--pc-lime); border-color: transparent; color: #161616; }
html[data-brand="purr"] :is(.ph-tab, .ph-subtab):focus-visible { outline: 2px solid var(--pc-accent); outline-offset: 2px; }
html.ph-js[data-brand="purr"] :is(.ph-panel, .ph-subpanel, .ph-entr):not(.is-on) { display: none; }
html[data-brand="purr"] .ph-panel + .ph-panel, html[data-brand="purr"] .ph-subpanel + .ph-subpanel { margin-top: 16px; }
html.ph-js[data-brand="purr"] .ph-panel + .ph-panel, html.ph-js[data-brand="purr"] .ph-subpanel + .ph-subpanel { margin-top: 0; }

/* Услуги */
html[data-brand="purr"] .ph-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html[data-brand="purr"] .ph-item {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 6px; border-radius: var(--pc-r);
  background: var(--pc-surface); border: 1px solid var(--pc-line);
}
html[data-brand="purr"] .ph-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
html[data-brand="purr"] .ph-item-name { font-size: 1rem; font-weight: 800; line-height: 1.3; }
html[data-brand="purr"] .ph-item-price { flex: 0 0 auto; font-size: 1rem; font-weight: 800; white-space: nowrap; }
html[data-brand="purr"] .ph-item-comp, html[data-brand="purr"] .ph-item-note { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--pc-muted); }
html[data-brand="purr"] .ph-item-dur { white-space: nowrap; }
html[data-brand="purr"] .ph-levels { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 0; font-size: 0.78rem; color: var(--pc-muted); }
html[data-brand="purr"] .ph-lv { display: inline-flex; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--pc-surface-2); color: var(--pc-text); white-space: nowrap; }
html[data-brand="purr"] .ph-lv b { font-weight: 800; }
html[data-brand="purr"] .ph-lv--novice { background: rgba(200, 240, 75, 0.28); }
html[data-brand="purr"] .ph-lv--top { background: rgba(232, 51, 95, 0.1); }
html[data-brand="purr"] .ph-item-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.92rem; font-weight: 800; color: var(--pc-accent-ink); text-decoration: none; }
html[data-brand="purr"] .ph-hint { margin-top: 12px; font-size: 0.86rem; color: var(--pc-muted); }
html[data-brand="purr"] .ph-hint summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--pc-text); text-decoration: underline dotted; text-underline-offset: 4px; }
html[data-brand="purr"] .ph-hint p { margin: 0 0 4px; max-width: 60ch; line-height: 1.5; }
html[data-brand="purr"] .ph-help { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.6; }
html[data-brand="purr"] .ph-help a { display: inline-block; padding: 8px 0; }

/* Ближайшее время */
html[data-brand="purr"] .ph-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html[data-brand="purr"] .ph-slot {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: var(--pc-r);
  background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-text) !important; text-decoration: none;
}
html[data-brand="purr"] .ph-slot:active { background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-slot-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
html[data-brand="purr"] .ph-slot-txt b { font-size: 0.98rem; font-weight: 800; }
html[data-brand="purr"] .ph-slot-txt span { font-size: 0.84rem; color: var(--pc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-brand="purr"] .ph-slot-price { flex: 0 0 auto; font-weight: 800; white-space: nowrap; }
html[data-brand="purr"] .ph-ava { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-ava--txt { display: inline-flex; align-items: center; justify-content: center; background: var(--pc-lime); color: #161616; font-weight: 800; }

/* Работы и мастера */
html[data-brand="purr"] .ph-wgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
html[data-brand="purr"] .ph-wcard { display: flex; flex-direction: column; min-width: 0; }
html[data-brand="purr"] .ph-wimg { display: block; aspect-ratio: 4 / 5; border-radius: var(--pc-r); overflow: hidden; background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-wimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
html[data-brand="purr"] .ph-wcap { margin-top: 6px; font-size: 0.8rem; line-height: 1.3; color: var(--pc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-brand="purr"] .ph-wsame { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.88rem; font-weight: 800; color: var(--pc-accent-ink); text-decoration: none; }
html[data-brand="purr"] .ph-masters { list-style: none; margin: 0 -16px; padding: 2px 16px 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
html[data-brand="purr"] .ph-masters::-webkit-scrollbar { display: none; }
html[data-brand="purr"] .ph-masters li { flex: 0 0 auto; }
html[data-brand="purr"] .ph-master {
  display: flex; align-items: center; gap: 10px; min-height: 56px; max-width: 250px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-text) !important; text-decoration: none;
}
html[data-brand="purr"] .ph-master > span:last-child { display: grid; min-width: 0; }
html[data-brand="purr"] .ph-master b { font-size: 0.92rem; }
html[data-brand="purr"] .ph-master span span { font-size: 0.76rem; color: var(--pc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Карточки: акция, клуб, мастерам, доверие */
html[data-brand="purr"] .ph-card { display: block; padding: 18px; border-radius: var(--pc-r); background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-text); }
html[data-brand="purr"] a.ph-card { text-decoration: none; color: var(--pc-text) !important; }
html[data-brand="purr"] .ph-offers-grid { display: grid; gap: 12px; }
html[data-brand="purr"] .ph-promo-title { margin: 0 0 4px; font-size: 1.05rem; }
html[data-brand="purr"] .ph-promo-text { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.45; color: var(--pc-muted); }
html[data-brand="purr"] .ph-promo .btn, html[data-brand="purr"] .ph-club .btn, html[data-brand="purr"] .ph-pro .btn { min-height: 44px; margin-top: 10px; padding: 0 18px; }
html[data-brand="purr"] .ph-fv { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--pc-line); font-size: 0.88rem; line-height: 1.5; }
html[data-brand="purr"] .ph-club { background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-club h2 { margin: 0 0 10px; font-size: 1.25rem; }
html[data-brand="purr"] .ph-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
html[data-brand="purr"] .ph-perks li { position: relative; padding-left: 20px; font-size: 0.94rem; font-weight: 600; }
html[data-brand="purr"] .ph-perks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--pc-lime); box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.15); }
html[data-brand="purr"] .ph-club-bal { margin: 0; font-size: 1.05rem; }
html[data-brand="purr"] .ph-club-bal b { font-size: 1.5rem; }
html[data-brand="purr"] .ph-club-act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
html[data-brand="purr"] .ph-club-act > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 0.9rem; font-weight: 700; color: var(--pc-text); }
html[data-brand="purr"] .ph-pro-card { display: grid; gap: 4px; }
html[data-brand="purr"] .ph-pro-card h2 { margin: 0; font-size: 1.2rem; }
html[data-brand="purr"] .ph-pro-act { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-brand="purr"] .ph-trust-grid { display: grid; gap: 10px; }
html[data-brand="purr"] .ph-rating { display: grid; gap: 2px; }
html[data-brand="purr"] .ph-visually-small { margin: 0 0 2px; font-family: 'Manrope', system-ui, sans-serif !important; font-size: 0.74rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pc-muted); }
html[data-brand="purr"] .ph-rating-num { font-family: 'Unbounded', sans-serif !important; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
html[data-brand="purr"] .ph-rating-txt { font-size: 0.92rem; }
html[data-brand="purr"] .ph-link { margin-top: 6px; font-size: 0.9rem; font-weight: 800; color: var(--pc-accent-ink); }
html[data-brand="purr"] .ph-fact { display: grid; gap: 4px; }
html[data-brand="purr"] .ph-fact b { font-size: 1rem; }
html[data-brand="purr"] .ph-fact span { font-size: 0.86rem; line-height: 1.45; color: var(--pc-muted); }

/* Как найти */
html[data-brand="purr"] .ph-find-lead { margin: -4px 0 12px; font-size: 0.95rem; }
html[data-brand="purr"] .ph-entr { display: grid; gap: 12px; }
html[data-brand="purr"] .ph-entr + .ph-entr { margin-top: 18px; }
html.ph-js[data-brand="purr"] .ph-entr + .ph-entr { margin-top: 0; }
html[data-brand="purr"] .ph-video { position: relative; border-radius: var(--pc-r); overflow: hidden; background: #161616; height: min(56vh, 460px); }
html[data-brand="purr"] .ph-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #161616; }
html[data-brand="purr"] .ph-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid #fff; background: var(--pc-accent); color: #fff; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; padding-left: 4px; cursor: pointer;
}
html[data-brand="purr"] .ph-video.is-playing .ph-play { display: none; }
html[data-brand="purr"] .ph-entr-photo { display: block; border-radius: var(--pc-r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-entr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-brand="purr"] .ph-entr-text h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 1.1rem; }
html[data-brand="purr"] .ph-entr-text h3 .icon { color: var(--pc-accent); }
html[data-brand="purr"] .ph-entr-text h3 .icon .pa { fill: none; }
html[data-brand="purr"] .ph-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
html[data-brand="purr"] .ph-steps li { counter-increment: st; position: relative; padding-left: 34px; font-size: 0.95rem; line-height: 1.45; min-height: 24px; }
html[data-brand="purr"] .ph-steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--pc-lime); color: #161616; font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
html[data-brand="purr"] .ph-more-photos { margin-top: 10px; }
html[data-brand="purr"] .ph-more-photos summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 0.9rem; }
html[data-brand="purr"] .ph-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
html[data-brand="purr"] .ph-photos a { display: block; aspect-ratio: 1; border-radius: var(--pc-r-sm); overflow: hidden; }
html[data-brand="purr"] .ph-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-brand="purr"] .ph-find-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html[data-brand="purr"] .ph-find-act .btn { flex: 1 1 120px; min-height: 48px; justify-content: center; padding: 0 12px; gap: 6px; white-space: nowrap; font-size: 0.95rem; }
html[data-brand="purr"] .ph-find-act .btn-gold { flex: 1.6 1 196px; }
html[data-brand="purr"] .ph-find-act .btn .icon .pa { fill: none; }
html[data-brand="purr"] .ph-map { position: relative; display: block; border-radius: var(--pc-r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--pc-surface-2); border: 1px solid var(--pc-line); }
html[data-brand="purr"] .ph-map img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 62%; display: block; }
html[data-brand="purr"] .ph-map span { position: absolute; left: 10px; bottom: 10px; padding: 8px 12px; border-radius: 999px; background: var(--pc-surface); color: var(--pc-text); font-size: 0.85rem; font-weight: 800; }
html[data-brand="purr"] .ph-map--wide { margin-top: 12px; aspect-ratio: 16 / 7; }

/* ---------- ПК ---------- */
@media (min-width: 861px) {
  html[data-brand="purr"] .ph-hero { padding: 40px 0 40px; }
  html[data-brand="purr"] .ph-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; }
  html[data-brand="purr"] .ph-cta { display: flex; flex-wrap: wrap; }
  html[data-brand="purr"] .ph-cta .btn { width: auto; padding: 0 26px; }
  html[data-brand="purr"] .ph-works3 { max-width: 480px; height: 440px; }
  html[data-brand="purr"] .ph-w3 { top: 120px; }
  html[data-brand="purr"] .ph-w1 { top: 40px; }
  html[data-brand="purr"] .ph-sec { padding: 40px 0; }
  html[data-brand="purr"] .ph-tabs, html[data-brand="purr"] .ph-subtabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; }
  html[data-brand="purr"] .ph-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-brand="purr"] .ph-item-go { margin-top: auto; }
  html[data-brand="purr"] .ph-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-brand="purr"] .ph-wgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  html[data-brand="purr"] .ph-masters { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  html[data-brand="purr"] .ph-offers-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  html[data-brand="purr"] .ph-pro-card { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
  html[data-brand="purr"] .ph-pro-act .btn { margin-top: 0; }
  html[data-brand="purr"] .ph-trust-grid { grid-template-columns: 1fr 1fr 1fr; }
  html[data-brand="purr"] .ph-entr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  html[data-brand="purr"] .ph-find-act { max-width: 520px; }
  html[data-brand="purr"] .ph-find-act .btn { flex: 0 0 auto; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) { html[data-brand="purr"] .ph-w { transition: none; } }
@media (max-width: 860px) { html[data-brand="purr"] body.booking-page { padding-bottom: 0; } }
/* Меню открыто: крестик в панели виден (плавающей кнопки больше нет), шапка под панелью затемнена. */
@media (max-width: 860px) {
  html[data-brand="purr"] .nav .nav-close {
    visibility: visible; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border-radius: var(--pc-r-sm); border: 1px solid var(--pc-line); background: var(--pc-surface); color: var(--pc-text); font-size: 1.6rem;
  }
  html[data-brand="purr"] .site-header:has(.nav.nav-open)::after { content: ""; position: absolute; inset: 0; z-index: 79; background: rgba(20, 18, 15, 0.45); }
  html[data-brand="purr"] .nav-panel-head .eyebrow { background: none; border: 0; padding: 0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc-muted); }
}
@media (max-width: 860px) {
  html[data-brand="purr"] .nav .nav-help-row .btn { border: 1px solid var(--pc-line) !important; box-shadow: none !important; }
  html[data-brand="purr"] .nav-theme-slot .theme-btn-menu { justify-content: flex-start; }
}
html[data-brand="purr"] .site-header .brand { min-height: 44px; align-items: center; }
html[data-brand="purr"] .ph-small a { display: inline-block; padding: 12px 0; margin: -12px 0; }
/* v8-106: мазок лака под тремя фото первого экрана (тот же, что был). Шире блока — первый экран обрезает края,
   горизонтальной прокрутки нет. */
html[data-brand="purr"] .ph-hero { position: relative; overflow: hidden; }
html[data-brand="purr"] .ph-stroke { position: absolute; z-index: 0; pointer-events: none; display: block; width: 150%; left: -26%; top: -6%; animation: purr-stroke-in 1.1s var(--purr-ease-soft, ease) 0.15s both; }
html[data-brand="purr"] .ph-stroke img { display: block; width: 100%; height: auto; }
@media (min-width: 861px) { html[data-brand="purr"] .ph-stroke { width: 140%; left: -22%; top: -2%; } }
@media (prefers-reduced-motion: reduce) { html[data-brand="purr"] .ph-stroke { animation: none; } }
@media (max-width: 860px) {
  html[data-brand="purr"] .ph-stroke { width: 118%; left: -9%; top: -14%; }
  html[data-brand="purr"] .ph-works3 { margin-bottom: 34px; }
}

/* =====================================================================
   v8-106, правки владельца по телефону: «больше лайма», «лайм на кнопках, когда нажимаешь — как раньше»,
   «акции каруселью с фотками», «„Все мастера“, „Все работы“ — акцентнее».
   ===================================================================== */
/* «Все …» — лаймовые кнопки-пилюли */
html[data-brand="purr"] .ph-head > a.ph-more {
  min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--pc-lime); color: #161616 !important;
  font-size: 0.86rem; font-weight: 800; border: 1px solid rgba(22, 22, 22, 0.12);
}
html[data-brand="purr"] .ph-head > a.ph-more:active { background: #161616; color: var(--pc-lime) !important; }

/* Нажатие — лайм (как раньше): кнопки-контуры, строки меню, вкладки, карточки услуг, окна, мастера, «Кабинет», меню */
html[data-brand="purr"] :is(.ph-hero, .ph-sec, .nav, .site-header) .btn-outline:active,
html[data-brand="purr"] .ph-cta .ph-cta-second:active,
html[data-brand="purr"] .nav .nav-group a:not(.btn):active,
html[data-brand="purr"] .nav-help-row .btn:active,
html[data-brand="purr"] .nav-theme-slot .theme-btn-menu:active,
html[data-brand="purr"] :is(.ph-tab, .ph-subtab):not(.is-on):active,
html[data-brand="purr"] :is(.ph-slot, .ph-master, a.ph-card):active,
html[data-brand="purr"] .hdr-acc:active,
html[data-brand="purr"] .site-header .header-actions .nav-toggle:active { background: var(--pc-lime) !important; color: #161616 !important; border-color: rgba(22, 22, 22, 0.2) !important; }
@media (hover: hover) {
  html[data-brand="purr"] :is(.ph-hero, .ph-sec) .btn-outline:hover, html[data-brand="purr"] .ph-cta .ph-cta-second:hover { background: var(--pc-lime); color: #161616; }
}
html[data-brand="purr"] .btn-gold:active { box-shadow: 0 0 0 3px var(--pc-lime) !important; }
html[data-brand="purr"] .ph-item:active { border-color: var(--pc-lime); box-shadow: 0 0 0 2px var(--pc-lime); }
html[data-brand="purr"] .ph-item-go:active, html[data-brand="purr"] .ph-wsame:active, html[data-brand="purr"] .ph-where-link:active { background: var(--pc-lime); color: #161616; border-radius: 8px; }

/* Больше лайма: активная вкладка нижней панели — лаймовая плашка; вкладки разделов; клуб; кружки шагов уже лаймовые */
@media (max-width: 860px) {
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta) .mobile-nav-icon { background: var(--pc-lime) !important; color: #161616; }
  html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta), html[data-brand="purr"] .mobile-nav-item.is-active:not(.mobile-nav-cta) .mobile-nav-label { color: #161616; }
  html[data-brand="purr"] .mobile-nav-item:not(.mobile-nav-cta):active .mobile-nav-icon { background: var(--pc-lime) !important; }
  html[data-brand="purr"] .mobile-nav-cta:active .mobile-nav-icon { box-shadow: 0 0 0 3px var(--pc-lime); }
  html[data-brand="purr"] .nav .nav-group a.is-current:not(.btn) { background: var(--pc-lime); color: #161616; }
}
html[data-brand="purr"] .ph-tab.is-on { box-shadow: inset 0 -3px 0 var(--pc-lime); }
html[data-brand="purr"] .ph-kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--pc-lime); box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.18); vertical-align: 1px; }
html[data-brand="purr"] .ph-head h2 { position: relative; }
html[data-brand="purr"] .ph-club { background: var(--purr-lime-2, #DDF78A); border-color: rgba(22, 22, 22, 0.1); color: #161616; }
html[data-brand="purr"] .ph-club .ph-small { color: rgba(22, 22, 22, 0.7); }
html[data-brand="purr"] .ph-club .ph-perks li::before { background: #161616; box-shadow: none; }
html[data-brand="purr"] .ph-club .btn-outline { background: #161616; color: var(--pc-lime); border-color: #161616; }
html[data-brand="purr"] .ph-club .ph-club-act > a:not(.btn) { color: #161616; }
html[data-brand="purr"] .ph-lv--novice { background: var(--pc-lime); }

/* Акции — карусель с фото */
html[data-brand="purr"] .ph-offers { padding-top: 26px; }
html[data-brand="purr"] .ph-promos {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px 16px 6px; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch;
}
html[data-brand="purr"] .ph-promos::-webkit-scrollbar { display: none; }
html[data-brand="purr"] .ph-promo-card {
  position: relative; flex: 0 0 84%; max-width: 380px; min-height: 240px; scroll-snap-align: start; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--pc-r); text-decoration: none;
  background: var(--purr-cherry); color: #fff !important; border: 1px solid rgba(22, 22, 22, 0.1);
}
html[data-brand="purr"] .ph-promo-card--c1 { background: #161616; }
html[data-brand="purr"] .ph-promo-card--fv { background: var(--pc-lime); color: #161616 !important; }
html[data-brand="purr"] .ph-promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[data-brand="purr"] .ph-promo-card.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 22, 22, 0) 28%, rgba(22, 22, 22, 0.78) 100%); }
html[data-brand="purr"] .ph-promo-body { position: relative; z-index: 1; display: grid; gap: 6px; padding: 16px; }
html[data-brand="purr"] .ph-promo-until { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #fff; color: #161616; font-size: 0.76rem; font-weight: 800; }
html[data-brand="purr"] .ph-promo-card .ph-promo-title { margin: 0; font-family: 'Unbounded', sans-serif !important; font-size: 1.25rem; line-height: 1.2; color: inherit; }
html[data-brand="purr"] .ph-promo-card .ph-promo-text { margin: 0; font-size: 0.9rem; line-height: 1.4; color: inherit; opacity: 0.92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[data-brand="purr"] .ph-promo-cta { justify-self: start; margin-top: 4px; padding: 9px 16px; border-radius: 999px; background: var(--pc-lime); color: #161616; font-size: 0.88rem; font-weight: 800; }
html[data-brand="purr"] .ph-promo-card--fv .ph-promo-cta { background: #161616; color: var(--pc-lime); }
html[data-brand="purr"] .ph-promo-card:active .ph-promo-cta { background: #fff; color: #161616; }
html[data-brand="purr"] .ph-dots { display: flex; justify-content: center; gap: 6px; margin: 8px 0 14px; }
html[data-brand="purr"] .ph-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--pc-line); transition: width 0.2s ease, background 0.2s ease; }
html[data-brand="purr"] .ph-dots i.is-on { width: 20px; background: var(--pc-accent); }
html[data-brand="purr"] .ph-offers .ph-offers-grid { margin-top: 6px; }
html[data-brand="purr"] .ph-promo-card { min-height: 280px; border: 0 !important; box-shadow: none !important; }
html[data-brand="purr"] .ph-promo-card.has-photo::after { background: linear-gradient(180deg, rgba(22, 22, 22, 0) 0%, rgba(22, 22, 22, 0.2) 30%, rgba(22, 22, 22, 0.88) 72%); }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-title, html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-text { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
html[data-brand="purr"] .ph-head { flex-wrap: wrap; align-items: center; row-gap: 8px; }
html[data-brand="purr"] .ph-head h2, html[data-brand="purr"] .ph-head h3 { min-width: 0; }
/* «Почему цена зависит от мастера?» — видно, что раскрывается: кнопка со стрелкой */
html[data-brand="purr"] .ph-hint summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px;
  padding: 8px 14px; border-radius: 14px; background: var(--pc-surface); border: 1px solid var(--pc-line); text-decoration: none; color: var(--pc-text);
}
html[data-brand="purr"] .ph-hint summary::-webkit-details-marker { display: none; }
html[data-brand="purr"] .ph-hint-chev { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--pc-lime); position: relative; transition: transform 0.2s ease; }
html[data-brand="purr"] .ph-hint-chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid #161616; border-bottom: 2px solid #161616; transform: translate(-50%, -50%) rotate(45deg); }
html[data-brand="purr"] .ph-hint[open] .ph-hint-chev { transform: rotate(180deg); }
html[data-brand="purr"] .ph-hint summary:active { background: var(--pc-lime); }
html[data-brand="purr"] .ph-hint-body { padding: 10px 4px 2px; }
html[data-brand="purr"] .ph-hint-body p { margin: 0 0 10px; color: var(--pc-text); }
html[data-brand="purr"] .ph-hint-levels { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
html[data-brand="purr"] .ph-hint-levels li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: start; font-size: 0.88rem; line-height: 1.45; color: var(--pc-text); }
html[data-brand="purr"] .ph-hint-levels .ph-lv { justify-content: center; font-weight: 800; }
html[data-brand="purr"] .ph-lv--economy { background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-lv--regular { background: var(--pc-surface); border: 1px solid var(--pc-line); }
html[data-brand="purr"] .ph-hint-ex { padding: 10px 12px; border-radius: 12px; background: var(--pc-surface); font-size: 0.88rem; }
/* v8-106 (владелец: «с телефона нет бургера, когда листаешь»): шапка — логотип · «Кабинет» · меню — закреплена сверху.
   Непрозрачная, без размытия (с размытием Safari ломал закреплённую шапку). */
@media (max-width: 860px) {
  html[data-brand="purr"] .site-header { position: sticky; top: 0; z-index: 90; background: var(--lk-page, #F2E1DA); border-bottom: 1px solid var(--pc-line); }
  html[data-brand="purr"] .site-header .container { padding-top: 8px; padding-bottom: 8px; }
  html[data-brand="purr"] { scroll-padding-top: 72px; }
}

/* v8-108: стрелка «листать дальше» у рядов, которые листаются вбок (скрипт — partials/mobile_nav.ejs). */
html[data-brand="purr"] .hs-next { display: none; }
html[data-brand="purr"] .hs-on > .hs-next {
  display: flex; position: sticky; right: 0; z-index: 3; flex: 0 0 auto; align-self: center; align-items: center; justify-content: center;
  width: 40px; min-width: 40px; height: 40px; margin: 0 0 0 -4px; padding: 0; list-style: none; pointer-events: none;
  transition: opacity 0.2s ease;
}
html[data-brand="purr"] .hs-next button {
  position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(22, 22, 22, 0.15); background: var(--pc-lime); cursor: pointer; pointer-events: auto;
  box-shadow: -16px 0 14px 4px var(--lk-page, #F2E1DA);
}
html[data-brand="purr"] .hs-next button::before { content: ""; position: absolute; left: 44%; top: 50%; width: 8px; height: 8px; border-top: 2px solid #161616; border-right: 2px solid #161616; transform: translate(-50%, -50%) rotate(45deg); }
html[data-brand="purr"] .hs-next button:active { background: #161616; }
html[data-brand="purr"] .hs-next button:active::before { border-color: var(--pc-lime); }
html[data-brand="purr"] .hs-end > .hs-next { opacity: 0; }
html[data-brand="purr"] .hs-end > .hs-next button { pointer-events: none; }
html[data-brand="purr"] .nearest-list.hs-on > .hs-next { grid-row: 1; }
html[data-brand="purr"] .ph-exact { margin: 12px 0 0; font-size: 0.86rem; color: var(--pc-muted); }

/* v8-110 (владелец: «на баннере свой текст зашит в картинку, поверх наложен HTML-текст — каша»): картинка акции —
   целиком сверху, без затемнения и текста поверх; заголовок, условия и кнопка — под ней, на белой карточке. */
html[data-brand="purr"] .ph-promo-card.has-photo { justify-content: flex-start; background: var(--pc-surface); color: var(--pc-text) !important; min-height: 0; }
html[data-brand="purr"] .ph-promo-card.has-photo::after { content: none; display: none; }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-title,
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-text { text-shadow: none; color: var(--pc-text); }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-text { color: var(--pc-muted); opacity: 1; }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-body { gap: 6px; padding: 12px 14px 14px; flex: 1; align-content: start; }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-until { background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-cta { align-self: end; }
html[data-brand="purr"] .ph-promo-card { border: 1px solid var(--pc-line) !important; }
html[data-brand="purr"] .ph-promo-card .ph-promo-title { font-size: 1.12rem; }
/* v8-110 (ТЗ владельца: «cookie-уведомление компактным»): одна узкая плашка над нижней панелью. */
html[data-brand="purr"] .purr-cookie { bottom: calc(72px + env(safe-area-inset-bottom)); left: 8px; right: 8px; padding: 8px 10px; gap: 6px; border-radius: 14px; font-size: 0.76rem; line-height: 1.35; display: flex; align-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); border-width: 1px; }
html[data-brand="purr"] .purr-cookie p { flex: 1; min-width: 0; }
html[data-brand="purr"] .purr-cookie-actions { flex-wrap: nowrap; gap: 6px; }
html[data-brand="purr"] .purr-cookie-actions .btn { min-height: 34px; padding: 4px 10px; font-size: 0.76rem; box-shadow: none; }
html[data-brand="purr"] .purr-cookie { flex-wrap: wrap; }
html[data-brand="purr"] .purr-cookie p { flex: 1 1 100%; }
/* Картинка акции — целиком, в рамке 4:3 (баннер с текстом не обрезается и не растягивает карточку). */
html[data-brand="purr"] .ph-promo-card.has-photo .ph-promo-img { aspect-ratio: 4 / 3; object-fit: contain; }

/* v8-111: мастера на главной — карточкой с ближайшим окном (сразу в запись). */
html[data-brand="purr"] .ph-masters { gap: 10px; align-items: stretch; }
html[data-brand="purr"] .ph-masters li.ph-mcard { flex: 0 0 212px; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--pc-r); background: var(--pc-surface); border: 1px solid var(--pc-line); }
html[data-brand="purr"] .ph-mcard .ph-master { max-width: none; min-height: 48px; padding: 0; border: 0; border-radius: 12px; background: none; }
html[data-brand="purr"] .ph-mslot { display: grid; gap: 1px; margin-top: auto; min-height: 48px; padding: 7px 12px; border-radius: 12px; background: var(--pc-lime); color: #161616 !important; text-decoration: none; }
html[data-brand="purr"] .ph-mslot span { font-size: 0.72rem; font-weight: 700; opacity: 0.75; }
html[data-brand="purr"] .ph-mslot b { font-size: 0.92rem; font-weight: 800; }
html[data-brand="purr"] .ph-mslot.is-none { background: var(--pc-surface-2); }
html[data-brand="purr"] .ph-mslot:active { background: #161616; color: var(--pc-lime) !important; }

/* v8-111 (владелец: «добавь больше воздуха — всё сжато между блоками»): больше отступов между блоками и внутри. */
html[data-brand="purr"] .ph-hero { padding-bottom: 40px; }
html[data-brand="purr"] .ph-sec { padding: 44px 0; }
html[data-brand="purr"] .ph-sec + .ph-sec { border-top: 1px solid var(--pc-line); }
html[data-brand="purr"] .ph-head { margin-bottom: 18px; }
html[data-brand="purr"] .ph-head--sub { margin-top: 40px; }
html[data-brand="purr"] .ph-tabs, html[data-brand="purr"] .ph-subtabs { margin-bottom: 16px; }
html[data-brand="purr"] .ph-items { gap: 14px; }
html[data-brand="purr"] .ph-item { padding: 18px 18px 8px; gap: 6px; }
html[data-brand="purr"] .ph-slots { gap: 12px; }
html[data-brand="purr"] .ph-wgrid { gap: 20px 12px; }
html[data-brand="purr"] .ph-offers-grid { gap: 16px; }
html[data-brand="purr"] .ph-offers .ph-offers-grid { margin-top: 24px; }
html[data-brand="purr"] .ph-card { padding: 22px 20px; }
html[data-brand="purr"] .ph-trust-grid { gap: 14px; }
html[data-brand="purr"] .ph-find-act { margin-top: 22px; }
html[data-brand="purr"] .ph-hint, html[data-brand="purr"] .ph-exact { margin-top: 18px; }
html[data-brand="purr"] .ph-help { margin-top: 14px; }
html[data-brand="purr"] .ph-entr { gap: 16px; }
html[data-brand="purr"] .site-footer--compact { margin-top: 0; padding-top: 44px; }
html[data-brand="purr"] .site-footer--compact .ft-social { margin-top: 28px; }
html[data-brand="purr"] .site-footer--compact .ft-groups { margin-top: 20px; }
@media (min-width: 861px) {
  html[data-brand="purr"] .ph-sec { padding: 64px 0; }
  html[data-brand="purr"] .ph-masters li.ph-mcard { flex: 0 0 230px; }
}
/* v8-112: заголовки — Unbounded (жирный, без засечек); он шире антиквы — размеры чуть меньше. */
html[data-brand="purr"] .ph-title { font-size: clamp(1.9rem, 8.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; }
html[data-brand="purr"] .ph-head h2, html[data-brand="purr"] .ph-head h3 { font-size: clamp(1.2rem, 5vw, 1.8rem); }
html[data-brand="purr"] .ph-promo-card .ph-promo-title { font-size: 1.08rem; }
html[data-brand="purr"] .ph-club h2, html[data-brand="purr"] .ph-pro-card h2 { font-size: 1.12rem; }
html[data-brand="purr"] .ph-rating-num { font-size: 2rem; }
/* v8-112: строка рейтинга — обычным текстом (не рвётся на узких телефонах); подписи нижней панели помещаются на 320 px. */
html[data-brand="purr"] .ph-trust { display: block; padding: 10px 0; min-height: 44px; line-height: 1.5; }
@media (max-width: 360px) {
  html[data-brand="purr"] .mobile-nav-item, html[data-brand="purr"] .mobile-nav-item:not(.mobile-nav-cta) { font-size: 0.62rem; letter-spacing: -0.01em; }
  html[data-brand="purr"] .mobile-nav-cta .mobile-nav-icon { width: 48px; }
}
