.pc-header {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 120;
    height: var(--headerHeight);
    background: rgba(255, 251, 245, 0.92);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    border-bottom: 0.0625rem solid rgba(43, 33, 64, 0.06);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pc-header.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ОСНОВА: grid вместо flex */
.pc-header__bar {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

/* левая колонка */
.pc-nav--desktop {
    justify-self: start;
    min-width: 0;
}

/* центр */
.pc-header__logo-wrap {
    grid-column: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.pc-header__logo-sun {
    position: absolute;
    width: 6.5rem;
    height: 6.5rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6.5rem;
    border: 2px solid rgba(232, 168, 58, 0.25);
    background: rgba(255, 251, 245, 0.95);
    box-shadow: 0 0 1.5rem rgba(232, 168, 58, 0.12);
}

.pc-header__logo-link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    text-decoration: none;
}

.pc-header__logo-link img,
.pc-header__logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.pc-header__logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

/* правая колонка */
.pc-header__right {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.pc-header__lang {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-header__lang:empty {
    display: none;
}

.pc-header__actions--desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* ── Language switcher ── */
.pc-lang-switcher {
    position: relative;
    font-size: 0.75rem;
    cursor: pointer;
}

.pc-lang-switcher .wpm-language-switcher,
.pc-lang-switcher > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-lang-switcher .pc-lang-current {
    position: relative;
}

.pc-lang-switcher .pc-lang-current > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999rem;
    background: rgba(43, 33, 64, 0.04);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pc-lang-switcher .pc-lang-current > a:hover {
    background: rgba(123, 92, 255, 0.08);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.pc-lang-switcher img {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999rem;
    object-fit: cover;
}

.pc-lang-switcher .pc-lang-code {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.pc-lang-switcher .pc-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    min-width: 5.25rem;
    padding: 0.35rem;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(43, 33, 64, 0.06);
    display: none;
    z-index: 10;
}

.pc-lang-switcher.is-open .pc-lang-dropdown {
    display: block;
}

.pc-lang-switcher .pc-lang-dropdown li {
    margin: 0;
}

.pc-lang-switcher .pc-lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    text-decoration: none;
    color: var(--text);
    transition: background 0.16s ease, color 0.16s ease;
}

.pc-lang-switcher .pc-lang-dropdown a:hover {
    background: rgba(123, 92, 255, 0.06);
    color: var(--accent-1);
}

.pc-header__instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
    color: var(--accent-1);

}
.hc_bx {padding-left: 4rem;}
.pc-header__instagram:hover {
    transform: scale(1.1);
}

.pc-header__phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.pc-header__phone:hover {
    color: var(--accent-1);
}

.pc-nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
html[lang='uz-UZ'] .pc-nav__list a {
    font-size: .8rem;
}
.pc-nav__list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 160ms ease;
    white-space: nowrap;
    font-size: 1rem;
    font-family: "Bad Script";
}

.pc-nav__list a:hover {
    color: var(--accent-1);
}

.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999rem;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    user-select: none;
    cursor: pointer;
}

.pc-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), #d06840);
    border: none;
    box-shadow: 0 0.25rem 1rem rgba(224, 123, 94, 0.25);
}

.pc-btn--primary:hover {
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.375rem 1.25rem rgba(224, 123, 94, 0.35);
}

.pc-burger {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--touch-target, 2.75rem);
    min-height: var(--touch-target, 2.75rem);
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--text);
    transition: background 160ms ease;
    grid-column: 3;
}

.pc-burger:hover {
    background: rgba(43, 33, 64, 0.06);
}

.pc-burger__icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* mobile menu */
.pc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.pc-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pc-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(240, 235, 248, 0.98) 100%);
    backdrop-filter: blur(1.5rem);
    -webkit-backdrop-filter: blur(1.5rem);
    cursor: default;
}

.pc-mobile-menu__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    min-width: var(--touch-target, 2.75rem);
    min-height: var(--touch-target, 2.75rem);
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(43, 33, 64, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pc-mobile-menu__close:hover {
    background: rgba(43, 33, 64, 0.12);
    color: var(--accent-1);
}
.pc_mobile_text {
    display: none;
}
.pc-mobile-menu__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 1.25rem 2rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.pc-nav__list--mobile {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    list-style: none;
    margin: 0;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.pc-nav__list--mobile li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(43, 33, 64, 0.06);
    min-width: 0;
}

.pc-nav__list--mobile li:last-child {
    border-bottom: none;
}

.pc-nav__list--mobile a {
    display: block;
    min-height: var(--touch-target, 2.75rem);
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease;
    min-width: 0;
    word-wrap: break-word;
    box-sizing: border-box;
    line-height: 1.4;
}

.pc-nav__list--mobile a:hover {
    color: var(--accent-1);
    background: rgba(123, 92, 255, 0.06);
}

.pc-mobile-menu__lang {
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.pc-mobile-menu__lang:empty {
    display: none;
}

.pc-mobile-menu__lang .pc-lang-switch-wrap {
    display: flex;
    justify-content: center;
}

.pc-mobile-menu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(43, 33, 64, 0.08);
    flex-shrink: 0;
    min-width: 0;
}

.pc-mobile-menu__instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 50%, #dc2743 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 18rem;
    justify-content: center;
    box-sizing: border-box;
}

.pc-mobile-menu__instagram:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1.5rem rgba(225, 48, 108, 0.35);
}

.pc-mobile-menu__phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pc-mobile-menu__phone:hover {
    color: var(--accent-1);
}

/* mobile-first */
.pc-nav--desktop,
.pc-header__right {
    display: none;
}

@media (min-width: 48rem) {
    .pc-header {
        height: 5rem;
    }

    .pc-header__bar {
        grid-template-columns: 1fr auto 1fr;
    }

    .pc-header__logo-link {
        width: 5.5rem;
        height: 5.5rem;
    }

    .pc-header__logo-sun {
        width: 6.5rem;
        height: 6.5rem;
    }

    .pc-nav--desktop,
    .pc-header__right {
        display: flex;
    }

    .pc-burger {
        display: none;
    }

    .pc-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 47.9375rem) {
    .pc-header__bar {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .pc_mobile_text {
        display: block;
    }
    .pc-header .pc_mobile_text h2 {
        font-size: 0.9rem !important;
        font-weight: 600;
    }
	.pc-mobile-menu__instagram svg path {
		stroke:#fff;
	}
    .pc-header__logo-wrap {
        grid-column: 1;
        width: max-content;
    }

    .pc-burger {
        grid-column: 3;
    }

    .pc-header__logo-link {
        width: 3rem;
        height: 3rem;
    }

    .pc-header__logo-sun {
        width: 3.75rem;
        height: 3.75rem;
    }
    .hc_bx {
        padding-left: unset;
    }
}

html.pc-menu-open,
html.pc-menu-open body {
    overflow: hidden;
    overflow-x: hidden;
    height: 100%;
    position: relative;
}

.pc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* WPML language switcher */
.pc-lang-switch-wrap {
    display: inline-block;
}

.pc-lang-switch {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    box-shadow: var(--card-shadow);
    width: max-content;
}

.pc-lang-switch__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.625rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.05em;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pc-lang-switch__item:hover {
    background: rgba(43, 33, 64, 0.06);
    color: var(--accent-1);
}

.pc-lang-switch__item:focus {
    outline: none;
}

.pc-lang-switch__item:focus-visible {
    box-shadow: 0 0 0 2px var(--c-body-bg), 0 0 0 4px var(--accent-1);
}

.pc-lang-switch__item:active {
    transform: translateY(1px);
}

.pc-lang-switch__item.is-active {
    background: var(--text);
    color: #fff;
}

.pc-lang-switch__item.is-active:hover {
    background: var(--text);
    color: rgba(255, 255, 255, 0.9);
}

.pc-lang-switch__item.is-active:focus-visible {
    box-shadow: 0 0 0 2px var(--c-body-bg), 0 0 0 4px var(--accent-gold);
}

.pc-lang-switch__flag {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(43, 33, 64, 0.12);
}

.pc-lang-switch__item.is-active .pc-lang-switch__flag {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pc-lang-switch__code {
    display: inline-block;
}
@media(max-width:768px) {
	.pc-header {
		top:0;
	}
	
}