/* =============================================================================
   SiteHeaderPro - глобальный хедер Tusovka (Модуль 2)
   Значения перенесены дословно из макета SiteHeaderPro.dc.html.
   Контейнер = max-width:1280px; padding:0 var(--tusovka-spacing-md) (совпадает
   с .header-container / .footer-container темы).
   ========================================================================== */

@keyframes shpDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shpFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes shpSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Корневая обёртка + container-query контекст. */
.shp {
    container-type: inline-size;
    font-family: var(--tusovka-font-sans, system-ui, -apple-system, sans-serif);
    color: #1f2937;
    position: relative;
}
.shp *,
.shp *::before,
.shp *::after {
    box-sizing: border-box;
}

/* Зафиксированная полупрозрачная шапка (fixed, а не sticky: родитель .shp короткий,
   sticky в нём «уезжал» вместе со страницей). Высоту компенсируем padding-top у body. */
.shp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #eef0f6;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
    transition: box-shadow .3s ease;
}
/* Отступ под фикс-шапку (высота проставляется из JS в --shp-header-h; фолбэк - десктоп). */
body {
    padding-top: var(--shp-header-h, 79px);
}
/* Под админ-баром WordPress шапку опускаем ниже панели. */
.admin-bar .shp-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .shp-header {
        top: 46px;
    }
}
.shp-header.is-compact {
    box-shadow: 0 8px 24px -12px rgba(17, 24, 39, .28);
}

.shp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--tusovka-spacing-md, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 78px;
    transition: height .32s cubic-bezier(.4, 0, .2, 1);
}
.shp-header.is-compact .shp-container {
    height: 62px;
}

/* ── LEFT: logo + nav ─────────────────────────────────────────────────── */
.shp-left {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 0;
}

.shp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: none;
}
.shp-logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5820a, #e8785b);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(245, 130, 10, .55);
    transition: width .3s ease, height .3s ease;
}
.shp-header.is-compact .shp-logo-badge {
    width: 34px;
    height: 34px;
}
.shp-logo-word {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.022em;
    background: linear-gradient(135deg, #f5820a, #e8785b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shp-nav {
    align-items: center;
    gap: 2px;
}

.shp-navlink {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 700;
    font-size: 15px;
    padding: 9px 11px;
    border-radius: 9px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.shp-navlink[data-active="true"] {
    color: #1f2937;
}
.shp-navlink::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, #f5820a, #e8785b);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.shp-navlink:hover::after,
.shp-navlink[data-active="true"]::after {
    transform: scaleX(1);
}
.shp-mega-toggle[aria-expanded="true"] {
    background: #eaf1f6;
}
.shp-chevron {
    transition: transform .22s ease;
}
.shp-mega-toggle[aria-expanded="true"] .shp-chevron,
.shp-profile-btn[aria-expanded="true"] .shp-chevron {
    transform: rotate(180deg);
}

/* ── RIGHT desktop cluster ────────────────────────────────────────────── */
.shp-right {
    align-items: center;
    gap: 9px;
    flex: none;
}

/* Декоративный индикатор языка интерфейса (десктоп). RU-only, переключение - позже. */
.shp-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 40px;
    padding: 0 12px;
    border-radius: 11px;
    background: #f4f5fb;
    border: 1.5px solid #e5e7eb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: default;
    flex: none;
    user-select: none;
}
.shp-lang-pill svg { color:#b45309; flex: none; }

.shp-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f5fb;
    border: 1.5px solid #e5e7eb;
    border-radius: 11px;
    padding: 0 12px;
    width: clamp(240px, 24vw, 340px);
    margin: 0;
}
.shp-search-field[hidden] { display: none; }
.shp-search-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    padding: 10px 0;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
}

.shp-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 0;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: background .18s ease, color .18s ease, transform .15s ease;
}
.shp-icon-btn:hover {
    background: #eaf1f6;
    color:#b45309;
}
.shp-icon-btn[aria-expanded="true"][data-shp-search-toggle] {
    background: #eaf1f6;
}

/* CTA-кнопки. */
.shp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 11px;
    color: #fff;
    flex: none;
    transition: transform .16s ease, box-shadow .26s ease, filter .2s ease;
}
.shp-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}
.shp-cta--gradient {
    background: linear-gradient(135deg, #f5820a, #e8785b);
    box-shadow: 0 8px 20px -6px rgba(245, 130, 10, .5);
}
.shp-cta--dark {
    background: #111827;
}

.shp-divider {
    width: 1px;
    height: 26px;
    background: #e5e7eb;
    margin: 0 2px;
    flex: none;
}

.shp-ghost {
    text-decoration: none;
    color: #4b5563;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.shp-ghost:hover {
    background: #eaf1f6;
    color:#b45309;
    border-color: #f8dcc1;
}

/* Member: зелёный pill карты. */
.shp-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 11px;
    flex: none;
}

/* Member: кнопка профиля. */
.shp-profile-wrap {
    position: relative;
}
.shp-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #eef0f6;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    box-shadow: 0 2px 8px -2px rgba(17, 24, 39, .14);
}
.shp-profile-btn[aria-expanded="true"] {
    border-color: #f8dcc1;
}
.shp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
/* Ф3: тихий индикатор непрочитанных сообщений в чатах встреч */
.shp-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex: none;
}
.shp-unread-dot {
    position: absolute;
    top: -1px;
    inset-inline-end: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f5820a;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(245, 130, 10, .35);
}
.shp-first-name {
    font-weight: 700;
    font-size: 13.5px;
    color: #1f2937;
}
.shp-chevron--sm {
    /* stroke задан в SVG (#9ca3af) */
    transition: transform .2s ease;
}

/* ── Dropdown (общий) ─────────────────────────────────────────────────── */
.shp-drop {
    animation: shpDrop .18s ease both;
}
.shp-drop[hidden] {
    display: none;
    animation: none;
}
.shp-fade {
    animation: shpFade .2s ease both;
}
.shp-fade[hidden] {
    display: none;
    animation: none;
}

/* Profile dropdown. */
.shp-profile-drop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 288px;
    background: #fff;
    border: 1px solid #e9e9f2;
    border-radius: 16px;
    box-shadow: 0 24px 54px -20px rgba(17, 24, 39, .5);
    overflow: hidden;
    z-index: 60;
}
.shp-drop-head {
    padding: 16px;
    background: linear-gradient(135deg, #eaf1f6, #fff7ec);
    display: flex;
    align-items: center;
    gap: 12px;
}
.shp-drop-avatar {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    flex: none;
}
.shp-drop-ident {
    min-width: 0;
}
.shp-drop-name {
    font-weight: 800;
    font-size: 15px;
}
.shp-drop-role {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 600;
}
.shp-drop-items {
    padding: 7px;
}
.shp-menu-item {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #1f2937;
    padding: 10px 11px;
    border-radius: 10px;
    transition: background .15s ease;
}
.shp-menu-item:hover {
    background: #f5f6fb;
}
.shp-menu-icon {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shp-menu-label {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}
.shp-menu-badge {
    background: #f5820a;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
}
.shp-drop-foot {
    border-top: 1px solid #f0f1f6;
    padding: 7px;
}
.shp-menu-item--danger {
    color: #dc2626;
}
.shp-menu-item--danger .shp-menu-label {
    font-weight: 700;
}
.shp-menu-icon--danger {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Mobile right cluster ─────────────────────────────────────────────── */
.shp-mobile-cluster {
    align-items: center;
    gap: 4px;
    flex: none;
}
.shp-icon-btn--mobile {
    width: 42px;
    height: 42px;
}
.shp-burger {
    color: #1f2937;
}

/* Mobile search bar (строка под шапкой). */
.shp-mobile-search {
    border-top: 1px solid #eef0f6;
    padding: 10px 14px;
    margin: 0;
}
.shp-mobile-search[hidden] { display: none; }
.shp-mobile-search-field {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f4f5fb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 13px;
}
.shp-mobile-search-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    padding: 12px 0;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
}

/* ── Megamenu ─────────────────────────────────────────────────────────── */
.shp-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eef0f6;
    box-shadow: 0 24px 44px -22px rgba(17, 24, 39, .4);
    z-index: 50;
}
.shp-mega[hidden] { display: none; }
.shp-mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px var(--tusovka-spacing-md, 1.5rem) 24px;
}
.shp-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.shp-mega-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9ca3af;
}
.shp-mega-all {
    font-size: 13px;
    font-weight: 700;
    color:#b45309;
    text-decoration: none;
}
.shp-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.shp-mega-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
    padding: 12px;
    border-radius: 13px;
    background: #eaf4fb;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.shp-mega-cat:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px rgba(17, 24, 39, .4);
}
.shp-mega-icon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shp-mega-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.shp-mega-label {
    font-weight: 700;
    font-size: 14px;
}
.shp-mega-count {
    font-size: 12px;
    color: #9ca3af;
}

/* ── Click-away overlay ───────────────────────────────────────────────── */
.shp-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
}
.shp-overlay[hidden] { display: none; }

/* ── Mobile fullscreen menu (bottom-sheet) ────────────────────────────── */
/* z-index выше плавающего виджета доступности (99990/99991) и чат-виджета,
   иначе их кнопки в правом нижнем углу перекрывают языковую строку sheet-а. */
.shp-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    animation: shpFade .2s ease both;
}
.shp-mobile-menu[hidden] {
    display: none;
    animation: none;
}
.shp-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.shp-sheet {
    position: relative;
    margin-top: auto;
    background: #fff;
    border-radius: 24px 24px 0 0;
    max-height: 92%;
    display: flex;
    flex-direction: column;
    animation: shpSlideUp .28s cubic-bezier(.34, 1.3, .5, 1) both;
}
.shp-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f1f6;
}
.shp-sheet-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.shp-sheet-badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #f5820a, #e8785b);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shp-sheet-word {
    font-weight: 800;
    font-size: 17px;
    background: linear-gradient(135deg, #f5820a, #e8785b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.shp-sheet-close {
    width: 40px;
    height: 40px;
    background: #f4f5fb;
    color: #374151;
}
.shp-sheet-body {
    overflow: auto;
    padding: 16px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.shp-sheet-search {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f4f5fb;
    border: 1.5px solid #e5e7eb;
    border-radius: 13px;
    padding: 0 13px;
    margin: 0 0 8px;
}
.shp-sheet-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    padding: 13px 0;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
}
.shp-mnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #1f2937;
    font-weight: 800;
    font-size: 20px;
    padding: 13px 2px;
    border-bottom: 1px solid #f4f5fb;
    transition: color .15s ease, padding-left .18s ease;
}
.shp-mnav:hover {
    color:#b45309;
    padding-left: 4px;
}

/* Mobile guest block. */
.shp-cta--block {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    font-size: 16px;
    padding: 15px;
    border-radius: 14px;
}
.shp-cta--block.shp-cta--gradient {
    box-shadow: 0 12px 26px -8px rgba(245, 130, 10, .55);
}
.shp-sheet-authrow {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.shp-sheet-login {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #4b5563;
    font-weight: 800;
    font-size: 15px;
    padding: 13px;
    border-radius: 13px;
    border: 1.5px solid #e5e7eb;
}
.shp-sheet-register {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 13px;
    border-radius: 13px;
    background: #111827;
}
/* Глобальный a:hover темы (0,1,1) иначе красит белый текст тёмной кнопки в #dc7000 (контраст 4.4:1) */
.shp-sheet-register:hover { color: #fff; }

/* Mobile member block. */
.shp-sheet-profile {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 15px;
    background: linear-gradient(135deg, #eaf1f6, #fff7ec);
}
.shp-sheet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    object-fit: cover;
    border: 2px solid #fff;
    flex: none;
}
.shp-sheet-ident {
    flex: 1;
    min-width: 0;
}
.shp-sheet-name {
    font-weight: 800;
    font-size: 16px;
}
.shp-sheet-role {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}
.shp-sheet-cardpill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-weight: 800;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 10px;
    flex: none;
}
.shp-sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.shp-sheet-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1f2937;
    padding: 12px;
    border-radius: 12px;
    background: #eaf4fb;
    transition: background .15s ease;
}
.shp-sheet-tile:hover {
    background: #f5f6fb;
}
.shp-menu-icon--sm {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}
.shp-sheet-tile-label {
    font-weight: 700;
    font-size: 13.5px;
}
.shp-sheet-logout {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #dc2626;
    font-weight: 800;
    font-size: 14.5px;
    padding: 13px;
    border-radius: 13px;
    border: 1.5px solid #fecaca;
}

/* Language row. */
.shp-lang-row {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f1f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shp-lang-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
}
.shp-lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f5fb;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
}
.shp-lang-soon {
    font-size: 11px;
    color: #c7cbd8;
}

/* ── Desktop / mobile switch (container-query, fallback @media) ────────── */
.shp-desktop { display: flex; }
.shp-mobile  { display: none; }

@container (max-width: 900px) {
    .shp-desktop { display: none !important; }
    .shp-mobile  { display: flex !important; }
}
@container (max-width: 480px) {
    .shp-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Фолбэк по вьюпорту, если container-queries не поддерживаются или .shp
   не является inline-size контейнером (full-width тема). Совпадает с
   мобильным паддингом темы 16px на <=780px. */
@media (max-width: 900px) {
    .shp-desktop { display: none; }
    .shp-mobile  { display: flex; }
}
@media (max-width: 780px) {
    .shp-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Узкий десктоп (901-1100): меню не должно наезжать на поиск. После «Места» ->
   «Справочник» у гостя пункты заходили на иконку поиска до ~980px (на 901 - на 71px),
   на /en/ у вошедшего - до ~930px. Текст и порог мобильного меню прежние, ужимаем
   только отступы: между логотипом и меню, внутри пунктов, справа (поиск, язык, вход).
   Запас - около 90px, это покрывает самый широкий набор (гость, RU). */
@container (max-width: 1100px) {
    .shp-left { gap: 14px; }
    .shp-nav .shp-navlink { padding-left: 7px; padding-right: 7px; }
    .shp-nav .shp-navlink::after { left: 7px; right: 7px; }
    .shp-right { gap: 6px; }
    .shp-right .shp-ghost { padding-left: 8px; padding-right: 8px; }
    .shp-right .shp-cta { padding-left: 12px; padding-right: 12px; }
    .shp-right .shp-lang-pill { padding-left: 8px; padding-right: 8px; }
}
/* Тот же фолбэк по вьюпорту, что и у переключателя выше. */
@media (max-width: 1100px) {
    .shp-left { gap: 14px; }
    .shp-nav .shp-navlink { padding-left: 7px; padding-right: 7px; }
    .shp-nav .shp-navlink::after { left: 7px; right: 7px; }
    .shp-right { gap: 6px; }
    .shp-right .shp-ghost { padding-left: 8px; padding-right: 8px; }
    .shp-right .shp-cta { padding-left: 12px; padding-right: 12px; }
    .shp-right .shp-lang-pill { padding-left: 8px; padding-right: 8px; }
}

/* body-scroll-lock при открытом мобильном меню. */
body.shp-no-scroll {
    overflow: hidden;
}

/* ── prefers-reduced-motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .shp-drop,
    .shp-fade,
    .shp-mobile-menu,
    .shp-sheet {
        animation: none !important;
    }
    .shp-navlink::after,
    .shp-icon-btn,
    .shp-cta,
    .shp-ghost,
    .shp-mega-cat,
    .shp-mnav,
    .shp-chevron,
    .shp-container,
    .shp-logo-badge,
    .shp-header {
        transition: none !important;
    }
}

/* ── Живой поиск: выпадашка подсказок ─────────────────────────────────── */
.shp-search-wrap { display: inline-flex; }
.shp-suggest {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(380px, 86vw);
    max-height: 68vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 14px;
    box-shadow: 0 24px 54px -18px rgba(17, 24, 39, .5);
    z-index: 70;
    padding: 6px;
}
.shp-suggest[hidden] { display: none; }
.shp-suggest-group {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #9ca3af;
    padding: 10px 12px 5px;
}
.shp-suggest-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
}
.shp-suggest-item.is-active,
.shp-suggest-item:hover { background: #f4f5fb; }
.shp-suggest-ic {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex: none;
    overflow: hidden;
    background: #eaf1f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#b45309;
}
.shp-suggest-ic img { width: 100%; height: 100%; object-fit: cover; }
.shp-suggest-txt { min-width: 0; display: flex; flex-direction: column; }
.shp-suggest-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shp-suggest-sub {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shp-suggest-all {
    width: 100%;
    margin-top: 4px;
    border: 0;
    border-top: 1px solid #f0f1f6;
    background: transparent;
    color:#b45309;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
}
.shp-suggest-all:hover { background: #f4f5fb; }
.shp-suggest-empty { padding: 18px 14px; color: #9ca3af; font-size: 13.5px; text-align: center; }

/* Мобильная выпадашка: во всю ширину строки поиска */
.shp-suggest--mobile {
    position: static;
    width: 100%;
    margin-top: 8px;
    max-height: 60vh;
    box-shadow: none;
    border-color: #eef0f6;
}
