/* Prokatavto360 — единое меню сайта */
:root {
    --pa360-header-h: 64px;
}

.pa360-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--text, #272824);
}

.pa360-site-header .pa360-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--pa360-header-h);
    width: min(1600px, 100% - 32px);
    margin: 8px auto;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    background: rgba(245, 244, 242, 0.82);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 36px rgba(39, 40, 36, 0.08);
    overflow: visible;
    transition:
        background 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        transform 0.28s ease,
        width 0.28s ease,
        margin 0.28s ease,
        height 0.28s ease;
}

/* Внутренние страницы: прикреплено к верху на всю ширину, без сужения */
.pa360-site-header:not(.pa360-site-header--hero) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: rgba(245, 244, 242, 0.92);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(39, 40, 36, 0.08);
    box-shadow: 0 8px 28px rgba(39, 40, 36, 0.06);
}

.pa360-site-header:not(.pa360-site-header--hero) .pa360-site-header-inner {
    width: min(1600px, 100% - 32px);
    max-width: 100%;
    height: var(--pa360-header-h);
    margin: 0 auto;
    padding: 0 4px 0 8px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.pa360-has-fixed-header {
    padding-top: var(--pa360-header-h);
}

/* Hero: прозрачный full-bleed до скролла */
.pa360-site-header--hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

.pa360-site-header--hero .pa360-site-header-inner {
    width: min(1600px, 100% - 32px);
    margin: 10px auto 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pa360-site-header--hero.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(245, 244, 242, 0.92);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(39, 40, 36, 0.08);
    box-shadow: 0 8px 28px rgba(39, 40, 36, 0.06);
    animation: pa360HeaderIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pa360-site-header--hero.is-scrolled .pa360-site-header-inner {
    width: min(1600px, 100% - 32px);
    max-width: 100%;
    height: var(--pa360-header-h);
    margin: 0 auto;
    padding: 0 4px 0 8px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@keyframes pa360HeaderIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Светлый текст поверх фото-hero до скролла */
.pa360-site-header--hero:not(.is-scrolled) {
    color: #fff;
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-logo {
    color: #fff;
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-logo-icon {
    background: rgba(255, 255, 255, 0.14);
    color: var(--lime, #cefe24);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-header-link,
.pa360-site-header--hero:not(.is-scrolled) .pa360-burger {
    color: rgba(255, 255, 255, 0.92);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-header-link:hover,
.pa360-site-header--hero:not(.is-scrolled) .pa360-burger:hover {
    background: rgba(255, 255, 255, 0.12);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-city-btn {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 6px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-city-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-city-picker.open .pa360-city-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: #fff;
    color: #141412;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-city-meta {
    color: rgba(255, 255, 255, 0.7);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-city-picker.open .pa360-city-meta {
    color: rgba(20, 20, 18, 0.5);
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-lang-flag {
    background: transparent;
    border: none;
    box-shadow: none;
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-profile-link.is-authed {
    background: rgba(255, 255, 255, 0.94);
    color: #141412;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.pa360-site-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.pa360-site-header .pa360-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black, #000);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.pa360-site-header .pa360-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--black, #000);
    color: var(--lime, #cefe24);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
}

.pa360-site-header .pa360-city-picker {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}

.pa360-site-header .pa360-city-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(220px, 42vw);
    padding: 8px 12px 8px 10px;
    border-radius: 999px;
    border: 1.5px solid rgba(39, 40, 36, 0.12);
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 14px rgba(39, 40, 36, 0.08);
    color: var(--text, #272824);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
}

.pa360-site-header .pa360-city-btn:hover {
    background: #fff;
    border-color: rgba(39, 40, 36, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 8px 20px rgba(39, 40, 36, 0.12);
    transform: translateY(-1px);
}

.pa360-site-header .pa360-city-picker.open .pa360-city-btn {
    background: #fff;
    border-color: rgba(39, 40, 36, 0.28);
    box-shadow: 0 0 0 3px rgba(39, 40, 36, 0.08);
}

.pa360-site-header .pa360-city-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.9;
}

.pa360-site-header .pa360-city-btn .city-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.65;
    transition: transform 0.2s;
}

.pa360-site-header .pa360-city-picker.open .city-chevron {
    transform: rotate(180deg);
}

.pa360-site-header .pa360-city-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pa360-site-header .pa360-city-meta {
    display: none;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(39, 40, 36, 0.55);
    line-height: 1;
}

.pa360-site-header .pa360-city-btn-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.pa360-site-header .city-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    transform: translateY(8px);
    width: min(360px, calc(100vw - 32px));
    background: var(--white, #fff);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    overflow: hidden;
    z-index: 260;
}

.pa360-site-header .pa360-city-picker.open .city-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Dropdown is moved to document.body when open — keep it visible & clickable */
.city-dropdown.is-mounted {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: var(--white, #fff);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    overflow: hidden;
    z-index: 1000;
}
.city-dropdown.is-mounted .city-dropdown-head {
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--border, rgba(210, 208, 204, 0.55));
}
.city-dropdown.is-mounted .city-dropdown-head p {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    margin-bottom: 10px;
}
.city-dropdown.is-mounted .city-search-wrap { position: relative; }
.city-dropdown.is-mounted .city-search-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    pointer-events: none;
}
.city-dropdown.is-mounted .city-search {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    border-radius: 12px;
    background: var(--bg, #f5f4f2);
    font: inherit;
    font-size: 0.9rem;
    outline: none;
}
.city-dropdown.is-mounted .city-list {
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    margin: 0;
    overscroll-behavior: contain;
}
.city-dropdown.is-mounted .city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text, #272824);
    text-align: left;
    cursor: pointer;
}
.city-dropdown.is-mounted .city-item:hover { background: var(--bg, #f5f4f2); }
.city-dropdown.is-mounted .city-item.active { background: rgba(206, 254, 36, 0.22); }
.city-dropdown.is-mounted .city-item-rank {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    min-width: 22px;
}
.city-dropdown.is-mounted .city-item-name { flex: 1; }
.city-dropdown.is-mounted .city-item-check {
    width: 18px;
    height: 18px;
    opacity: 0;
}
.city-dropdown.is-mounted .city-item.active .city-item-check { opacity: 1; }
.city-dropdown.is-mounted .city-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    font-size: 0.88rem;
}

.pa360-site-header .city-dropdown-head {
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--border, rgba(210, 208, 204, 0.55));
}

.pa360-site-header .city-dropdown-head p {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    margin-bottom: 10px;
}

.pa360-site-header .city-search-wrap {
    position: relative;
}

.pa360-site-header .city-search-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    pointer-events: none;
}

.pa360-site-header .city-search {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    border-radius: 12px;
    background: var(--bg, #f5f4f2);
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pa360-site-header .city-search:focus {
    border-color: rgba(206, 254, 36, 0.6);
    box-shadow: 0 0 0 3px rgba(206, 254, 36, 0.15);
}

.pa360-site-header .city-list {
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    margin: 0;
}

.pa360-site-header .city-list::-webkit-scrollbar { width: 6px; }
.pa360-site-header .city-list::-webkit-scrollbar-thumb {
    background: rgba(39, 40, 36, 0.15);
    border-radius: 999px;
}

.pa360-site-header .city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text, #272824);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.pa360-site-header .city-item:hover { background: var(--bg, #f5f4f2); }
.pa360-site-header .city-item.active { background: rgba(206, 254, 36, 0.22); }
.pa360-site-header .city-item-rank {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    min-width: 22px;
}
.pa360-site-header .city-item-name { flex: 1; }
.pa360-site-header .city-item-check {
    width: 18px;
    height: 18px;
    color: var(--black, #000);
    opacity: 0;
}
.pa360-site-header .city-item.active .city-item-check { opacity: 1; }
.pa360-site-header .city-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted, rgba(39, 40, 36, 0.64));
    font-size: 0.88rem;
}

.pa360-site-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pa360-site-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pa360-site-header .pa360-header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.pa360-site-header .pa360-header-link:hover {
    background: rgba(39, 40, 36, 0.06);
}

.pa360-site-header .pa360-header-link.is-active {
    background: rgba(206, 254, 36, 0.22);
}

.pa360-site-header .pa360-header-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* Catalog mega menu */
.pa360-site-header .pa360-catalog-drop {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.pa360-site-header .pa360-catalog-trigger {
    gap: 5px;
}
.pa360-site-header .pa360-catalog-chevron {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.55;
    transition: transform 0.25s ease;
}
.pa360-site-header .pa360-catalog-drop.is-open .pa360-catalog-chevron,
.pa360-site-header .pa360-catalog-drop:hover .pa360-catalog-chevron,
.pa360-site-header .pa360-catalog-drop:focus-within .pa360-catalog-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}
.pa360-site-header .pa360-catalog-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-42%) translateY(8px);
    width: min(760px, calc(100vw - 32px));
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 120;
}
.pa360-site-header .pa360-catalog-drop.is-open .pa360-catalog-mega,
.pa360-site-header .pa360-catalog-drop:hover .pa360-catalog-mega,
.pa360-site-header .pa360-catalog-drop:focus-within .pa360-catalog-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-42%) translateY(0);
}
.pa360-site-header .pa360-catalog-mega-panel {
    background: #141412;
    color: #fff;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
    padding: 18px 18px 16px;
    overflow: hidden;
    position: relative;
}
.pa360-site-header .pa360-catalog-mega-panel::before {
    content: '';
    position: absolute;
    inset: auto -20% -45% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 254, 36, 0.18), transparent 68%);
    pointer-events: none;
}
.pa360-site-header .pa360-catalog-mega-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.pa360-site-header .pa360-catalog-mega-eyebrow {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime, #cefe24);
}
.pa360-site-header .pa360-catalog-mega-heading {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.pa360-site-header .pa360-catalog-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(206, 254, 36, 0.16);
    color: var(--lime, #cefe24);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.pa360-site-header .pa360-catalog-mega-all svg {
    width: 14px;
    height: 14px;
}
.pa360-site-header .pa360-catalog-mega-all:hover {
    background: var(--lime, #cefe24);
    color: #141412;
}
.pa360-site-header .pa360-catalog-mega-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.pa360-site-header .pa360-catalog-mega-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    min-width: 0;
    border-radius: 14px;
    transition: transform 0.25s ease;
}
.pa360-site-header .pa360-catalog-mega-item:hover {
    transform: translateY(-3px);
}
.pa360-site-header .pa360-catalog-mega-media {
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #222;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.pa360-site-header .pa360-catalog-mega-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.pa360-site-header .pa360-catalog-mega-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.pa360-site-header .pa360-catalog-mega-item:hover .pa360-catalog-mega-media img {
    transform: scale(1.06);
}
.pa360-site-header .pa360-catalog-mega-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 2px;
}
.pa360-site-header .pa360-catalog-mega-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.pa360-site-header .pa360-catalog-mega-price {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 1100px) {
    .pa360-site-header .pa360-catalog-mega {
        width: min(640px, calc(100vw - 24px));
        transform: translateX(-55%) translateY(8px);
        left: 0;
    }
    .pa360-site-header .pa360-catalog-drop.is-open .pa360-catalog-mega,
    .pa360-site-header .pa360-catalog-drop:hover .pa360-catalog-mega,
    .pa360-site-header .pa360-catalog-drop:focus-within .pa360-catalog-mega {
        transform: translateX(-55%) translateY(0);
    }
    .pa360-site-header .pa360-catalog-mega-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .pa360-site-header .pa360-catalog-mega { display: none !important; }
}

.pa360-mobile-catalog {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pa360-mobile-catalog-head {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.pa360-mobile-catalog-link {
    flex: 1;
    min-width: 0;
}

.pa360-mobile-catalog-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: 14px;
    background: var(--bg, #f5f4f2);
    color: var(--muted, rgba(39, 40, 36, 0.64));
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.pa360-mobile-catalog-toggle:hover,
.pa360-mobile-catalog-toggle:focus-visible {
    background: rgba(206, 254, 36, 0.18);
    color: var(--text, #272824);
    outline: none;
}

.pa360-mobile-catalog-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.pa360-mobile-catalog.is-open .pa360-mobile-catalog-chevron {
    transform: rotate(180deg);
}

.pa360-mobile-catalog.is-open .pa360-mobile-catalog-toggle {
    background: rgba(206, 254, 36, 0.22);
    color: var(--text, #272824);
}

.pa360-mobile-catalog-subs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 10px;
    border-left: 2px solid rgba(39, 40, 36, 0.08);
    margin-left: 10px;
}

.pa360-mobile-catalog-subs[hidden] {
    display: none !important;
}

.pa360-mobile-cat-link {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pa360-mobile-cat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(39, 40, 36, 0.28);
    flex-shrink: 0;
}

.pa360-mobile-cat-link.is-active .pa360-mobile-cat-dot,
.pa360-mobile-cat-link:hover .pa360-mobile-cat-dot {
    background: #9bbb12;
}

.pa360-site-header .pa360-lang-link {
    gap: 7px;
}

.pa360-site-header .pa360-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    line-height: 0;
    box-shadow: none;
}

.pa360-site-header .pa360-lang-flag svg {
    display: block;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: none;
}

.pa360-site-header .pa360-profile-link.is-authed {
    background: rgba(206, 254, 36, 0.28);
    color: #141412;
    box-shadow: inset 0 0 0 1px rgba(180, 210, 20, 0.55);
    font-weight: 800;
}

.pa360-site-header .pa360-profile-link.is-authed::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
    flex-shrink: 0;
}

.pa360-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(28, 29, 26, 0.08);
    color: inherit;
}
.pa360-avatar svg { width: 16px; height: 16px; }
.pa360-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pa360-avatar.has-photo { background: #111; }
.pa360-avatar--lg { width: 44px; height: 44px; }
.pa360-avatar--lg svg { width: 22px; height: 22px; }

.pa360-profile-drop {
    position: relative;
    z-index: 40;
}
.pa360-profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(300px, calc(100vw - 24px));
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    color: #141412;
    border: 1px solid rgba(28, 29, 26, 0.08);
    box-shadow: 0 18px 48px rgba(28, 29, 26, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.pa360-profile-drop.is-open .pa360-profile-menu,
.pa360-profile-drop:hover .pa360-profile-menu,
.pa360-profile-drop:focus-within .pa360-profile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.pa360-profile-menu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 12px;
    border-bottom: 1px solid rgba(28, 29, 26, 0.08);
    margin-bottom: 10px;
}
.pa360-profile-menu-meta { min-width: 0; }
.pa360-profile-menu-meta strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #141412;
}
.pa360-profile-menu-meta span {
    display: block;
    margin-top: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(28, 29, 26, 0.55);
}
.pa360-profile-balance {
    margin: 0 0 10px;
    padding: 12px;
    border-radius: 14px;
    background: #0e0f12;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.pa360-profile-balance span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}
.pa360-profile-balance strong {
    display: block;
    margin-top: 4px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #cefe24;
}
.pa360-profile-balance p {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.35;
}
.pa360-profile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pa360-profile-menu-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1c1d1a;
    text-decoration: none;
    transition: background 0.15s;
}
.pa360-profile-menu-link:hover { background: #f3f2ef; }
.pa360-profile-logout {
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(28, 29, 26, 0.1);
    background: #f7f6f3;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    color: #b42318;
    cursor: pointer;
    transition: background 0.15s;
}
.pa360-profile-logout:hover { background: #fdecec; }

.pa360-mobile-menu-link .pa360-avatar {
    width: 26px;
    height: 26px;
    margin-right: 2px;
}

.pa360-site-header .pa360-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--text, #272824);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pa360-site-header .pa360-burger:hover {
    background: rgba(255, 255, 255, 0.78);
}

.pa360-site-header .pa360-burger.is-open {
    background: var(--lime, #cefe24);
    border-color: rgba(39, 40, 36, 0.15);
}

.pa360-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 940;
    pointer-events: none;
    visibility: hidden;
}

.pa360-mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
}

.pa360-mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(39, 40, 36, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s;
}

.pa360-mobile-menu.open .pa360-mobile-menu-backdrop { opacity: 1; }

.pa360-mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    background: var(--white, #fff);
    border-left: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    box-shadow: -12px 0 48px rgba(39, 40, 36, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding: 10px 14px 28px;
    overflow-y: auto;
}

.pa360-mobile-menu.open .pa360-mobile-menu-panel { transform: translateX(0); }

.pa360-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 4px 2px 12px;
    border-bottom: 1px solid var(--border, rgba(210, 208, 204, 0.55));
}

.pa360-mobile-menu-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted, rgba(39, 40, 36, 0.64));
}

.pa360-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(210, 208, 204, 0.55));
    background: var(--bg, #f5f4f2);
    color: var(--text, #272824);
    cursor: pointer;
}

.pa360-mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pa360-mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text, #272824);
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--bg, #f5f4f2);
    transition: background 0.15s;
}

.pa360-mobile-menu-link:hover,
.pa360-mobile-menu-link:focus-visible {
    background: rgba(206, 254, 36, 0.18);
    outline: none;
}

.pa360-mobile-menu-link svg,
.pa360-mobile-menu-link .pa360-lang-flag {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--muted, rgba(39, 40, 36, 0.64));
}

.pa360-mobile-menu-link .pa360-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    line-height: 0;
    color: inherit;
    box-shadow: none;
}

.pa360-mobile-menu-link .pa360-lang-flag svg {
    display: block;
    width: 22px;
    height: 15px;
    border-radius: 2px;
}

.pa360-mobile-menu-link.is-active,
.pa360-mobile-menu-link.is-authed {
    background: rgba(206, 254, 36, 0.22);
}

@media (max-width: 960px) {
    .pa360-site-header .pa360-header-link .label { display: none; }
    .pa360-site-header .pa360-header-link { padding: 10px; }
    .pa360-site-header .pa360-lang-link .label { display: none; }
}

@media (max-width: 720px) {
    :root { --pa360-header-h: 56px; }

    .pa360-site-header .pa360-site-header-inner { gap: 8px; }

    .pa360-site-header .pa360-logo {
        font-size: 0.95rem;
        gap: 8px;
    }

    .pa360-site-header .pa360-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.68rem;
    }

    .pa360-site-header .pa360-logo-text { display: none; }

    .pa360-site-header .pa360-city-btn {
        max-width: min(160px, 48vw);
        padding: 7px 10px 7px 9px;
        font-size: 0.82rem;
    }

    .pa360-site-header .pa360-city-meta { display: block; }

    .pa360-site-header-actions { display: none; }

    .pa360-site-header .pa360-burger { display: inline-flex; }
}

@media (min-width: 721px) {
    .pa360-mobile-menu { display: none !important; }
}


.pa360-site-header .pa360-logo--pill { gap: 0; }
.pa360-site-header .pa360-logo-pill-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: min(260px, 58vw);
    object-fit: contain;
}
.pa360-site-header--hero:not(.is-scrolled) .pa360-logo-pill-img {
    /* capsule already high-contrast on hero */
    filter: none;
}
@media (max-width: 720px) {
    .pa360-site-header .pa360-logo-pill-img { height: 34px; }
}

/* Избранное на карточках каталога */
.listing-fav.is-active {
    color: #e11d48 !important;
    background: #fff !important;
}
.listing-fav.is-active svg path {
    fill: currentColor;
}
