#header {
    pointer-events: none;
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgb(0 0 0 / 0.05);
    transition: all cubic-bezier(0.25, 1, 0.5, 1) 400ms;
    z-index: 999;
}

#header > .main_header_top {
    pointer-events: auto;
    background: #f5f5f7;
}
#header > .main_header_top > .in {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}
#header > .main_header_top > .in > .left_side {
    gap: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#header > .main_header_top > .in > .left_side > .text_black {
    color: rgb(0 0 0 / 0.5);
}
#header > .main_header_top > .in > .left_side > .dot {
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background-color: rgb(0 0 0 / 0.2);
}
#header > .main_header_top > .in > .left_side > .try_ai {
    font-weight: 700;
    color: #6a38e5;
    transition: all 150ms cubic-bezier(0.25, 1, 0.5, 1);
    padding-left: 15px;
    background: url('../images/icons/header/ai-stars.svg') left center no-repeat;
    background-size: 10px;
}
#header > .main_header_top > .in > .left_side > .try_ai:hover {
    opacity: .8;
    text-decoration: none;
}
#header > .main_header_top > .in > .right_side {
    gap: 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#header > .main_header_top > .in > .right_side > .item {
}
#header > .main_header_top > .in > .right_side > .item > .nm {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 4px;
    color: rgb(0 0 0 / 0.5);
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 18px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .15s ease-in-out;
}
#header > .main_header_top > .in > .right_side > .item > .nm:hover {
    color: rgb(0 0 0 / 1);
}
#header > .main_header_top > .in > .right_side > .item > .nm:after {
    content: '';
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border: solid;
    border-width: 0 1px 1px 0;
    padding: 2px;
    margin: 0 1px 1px 1px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: all .1s ease-in-out;
}
#header > .main_header_top > .in > .right_side > .item.open > .nm:after {
    transform: rotate(225deg);
    top: 2px;
}

/* Change language */
#header > .main_header_top > .in > .right_side > .languages {
    position: relative;
}
#header > .main_header_top > .in > .right_side > .languages > .curentlang {
}
#header > .main_header_top > .in > .right_side > .languages > .otherlangs {
    position: absolute;
    top: 100%;
    width: 10rem;
    right: 0px;
    margin-top: 4px;
    padding: 8px 0;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    visibility: hidden;
    transition: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0.08) 0px 10px 40px;
    z-index: 1002;
}
#header > .main_header_top > .in > .right_side > .languages.open > .otherlangs {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
#header > .main_header_top > .in > .right_side > .languages > .otherlangs > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    cursor: pointer;
}
#header > .main_header_top > .in > .right_side > .languages > .otherlangs > a.active {
    background-color: rgb(245 245 247 / 1);
    color: rgb(0 0 0 / 1);
    font-weight: 700;
}
#header > .main_header_top > .in > .right_side > .languages > .otherlangs > a:hover {
    text-decoration: none;
    background-color: rgb(245 245 247 / 1);
    color: rgb(0 0 0 / 1);
}

/* Change currency */
#header > .main_header_top > .in > .right_side > .currencies {
    position: relative;
}
#header > .main_header_top > .in > .right_side > .currencies > .curentcurrency {
}
#header > .main_header_top > .in > .right_side > .currencies > .othercurrencies {
    position: absolute;
    top: 100%;
    width: 10rem;
    right: 0px;
    margin-top: 4px;
    padding: 8px 0;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    visibility: hidden;
    transition: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0.08) 0px 10px 40px;
    z-index: 1002;
}
#header > .main_header_top > .in > .right_side > .currencies.open > .othercurrencies {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
#header > .main_header_top > .in > .right_side > .currencies > .othercurrencies > span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    cursor: pointer;
}
#header > .main_header_top > .in > .right_side > .currencies > .othercurrencies > span.active {
    background-color: rgb(245 245 247 / 1);
    color: rgb(0 0 0 / 1);
    font-weight: 700;
}
#header > .main_header_top > .in > .right_side > .currencies > .othercurrencies > span:hover {
    text-decoration: none;
    background-color: rgb(245 245 247 / 1);
    color: rgb(0 0 0 / 1);
}

/* Change country */
#header > .main_header_top > .in > .right_side > .countries {
    position: relative;
}
#header > .main_header_top > .in > .right_side > .countries > .curentcountry {
}
#header > .main_header_top > .in > .right_side > .countries > .curentcountry > img {
    height: 12px;
    width: 12px;
}
.changecountry #zeelpopup > .country_select > .select_box {
    margin-bottom: 26px;
}
.changecountry #zeelpopup > .country_select > .btns {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}


#header > .main_header {
    height: 80px;
    pointer-events: auto;
    position: relative;
    background: #ffffff;
    z-index: 2;
}
html.scroll_down #header > .main_header {
    border-bottom: 1px solid #e5e7eb;
}
#header > .main_header > .in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 80px;
}
#header > .main_header > .in > .logo {
    display: block;
}
#header > .main_header > .in > .logo > img {
    display: block;
    height: 24px;
}

#header > .main_header > .in > .toggle_menu {
    display: none;
    z-index: 11;
}
#header > .main_header > .in > .toggle_menu > .in {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 12px 10px;
    position: relative;
    cursor: pointer;
    z-index: 11;
}
#header > .main_header > .in > .toggle_menu > .in > i {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #2a2b2d;
}
#header > .main_header > .toggle_menu_backdrop {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(0 0 0 / 0.4);
    backdrop-filter: blur(4px);
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}


/* notifications */
#update-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 66px;
    right: 0;
    height: 550px;
    max-height: 70vh;
    width: 380px;
    background: #faf9fe;
    box-shadow: 0px 1px 5px rgb(0 0 0 / 30%);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .2s;
    z-index: 1002;
}
#updates.open #update-menu {
    top: 56px;
    visibility: visible;
    opacity: 1;
}
#update-menu .update-header {
    position: relative;
    background: #ffffff;
    z-index: 2;
}
#update-menu .update-header h4 {
    margin: 0;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    border-bottom: 1px solid #edecf1;
}
#update-menu .nots {
    padding: 0 0 20px 0;
    position: relative;
    height: 100%;
    overflow-y: auto;
}
#update-menu .nots::-webkit-scrollbar {
    width: 4px;
}
#update-menu .nots::-webkit-scrollbar-track {
    display: none;
    background: #efefef;
}
#update-menu .nots::-webkit-scrollbar-thumb {
    display: none;
    background: #777;
}
#update-menu .nots::-webkit-scrollbar-track,
#update-menu:hover .nots::-webkit-scrollbar-thumb {
    display: block;
}
#update-menu .nots::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#update-menu .nots .note {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #edecf1;
    transition: all .2s;
    font-size: 14px;
    line-height: 18px;
}
#update-menu .nots .note.fixed {
    background: #d1e7f1;
}
#update-menu .nots .note:hover {
    background-color: #f5f5f7;
}
#update-menu .nots .note .avatar {
    position: relative;
    height: 40px;
    width: 40px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 20%);
    border-radius: 50%;
    transition: all .2s;
}
#update-menu .nots .note .avatar.svg {
    padding: 14px;
}
#update-menu .nots .note:hover .avatar {
    background-color: #fff;
}
#update-menu .nots .note .avatar.svg > img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 25px;
    max-height: 25px;
    object-fit: contain;
}
#update-menu .nots .note .avatar.not_svg > img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}
#update-menu .nots .note .info {
    flex: 1;
}
#update-menu .nots .note .info > div:last-child {
    margin-bottom: 0;
}
#update-menu .nots .note .info > .note_date {
    color: #777;
    font-size: 10px;
    margin-top: 8px;
}
.notification-edit {}
.notification-edit > .edit-label {
    display: block;
    margin-bottom: 10px;
}
.notification-edit > .notification-author {
    margin-bottom: 20px;
}
#update-menu .nots .note .info .note_edit {
    cursor: pointer;
    text-decoration: underline;
}
#update-menu .nots .note .info .publisher_name {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
#update-menu .nots .note .info .newpost_link {
    color: inherit;
    text-decoration: underline;
}

#update-menu .nots .note .nots_picture {
}
#update-menu .nots .note .nots_picture > .in {
    height: 48px;
    width: 48px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
#update-menu .nots .note .nots_picture .in > img {
    display: block;
    height: 100%;
}

#update-menu .no_notes {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#update-menu .nots_icon {
    height: 100px;
    width: 100px;
    margin-bottom: 30px;
    background: url('../images/icons/ring-gray.svg') center center no-repeat;
    background-size: contain;
    filter: grayscale(80%);
}





/* =======================================================
   Login
   ======================================================= */
#login {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
#login > .sign_in {
    color: inherit;
    padding: 5px 20px;
    line-height: 21px;
    border: 1px solid #c1c1c1;
    border-radius: 20px;
    background: #fff;
    transition: all .1s ease-in-out;
}
#login > .sign_in:hover {
    text-decoration: none;
    background: #f1f1f1;
}

#login > .right_icon {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
#login > .right_icon > img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
}
#login > .right_icon > .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50px;
}
#login > .right_icon > .icon:hover,
#login > .right_icon.open > .icon {
    background-color: rgb(245 245 247 / 1);
}
#login > .right_icon > .icon > svg,
#login > .right_icon > .icon > img {
    height: 24px;
    width: 24px;
    fill: rgb(0 0 0 / 0.6);
}
#login > .right_icon > .icon > img {
    border-radius: 50px;
}
#login .icon > .count_icon {
    position: absolute;
    top: 3px;
    right: 3px;
    height: 12px;
    min-width: 12px;
    padding: 2px;
    line-height: 8px;
    text-align: center;
    border-radius: 9px;
    font-size: 8px;
    color: #fff;
    cursor: pointer;
}
#login #carts > .icon > .carts_num {
    background-color: #0088f1;
}
#login #updates > .icon > .new_notes {
    background-color: #ef4444;
}
#login #messages > .icon > .new_messages {
    background-color: #1daa61;
}


#login #login-block {
    display: none;
}

.login-block .ui-dialog-title .logo {
    text-align: center;
}
.login-block .ui-dialog-title .logo img {
    display: block;
    margin: 0 auto;
    height: 35px;
    width: 35px;
    margin-bottom: 15px;
}
/*.login-block  .ui-dialog-titlebar-close {
    display: none;
}*/
.login-block-title {
    text-align: center;
}
.login-block-title span {
    display: block;
    font-size: 1rem;
}
.login-block-title span:first-child {
    font-weight: 100;
}
.login-block-title span:second-child {
    font-weight: 500;
}
#login-block .conter {
    max-width: 350px;
    margin: 0 auto;
}
#login-block .soc-links {
}
#login-block .soc-links .log-or {
    text-align: center;
    margin: 10px 0;
}
#login-block .soc-links a {
    display: block;
    margin-bottom: 10px;
}
#login-block .soc-links a svg {
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 26px;
    margin-top: -3px;
    margin-right: 10px;
    margin: -4px 8px -4px -10px;
    padding: 5px;
    background: #fff;
    border-radius: 2px;
}
#login-block .soc-icon {
    display: inline-block;
    vertical-align: top;
    width: 26px;
    height: 26px;
    margin: -2px 10px 0 -10px;
}
#login-block .soc-icon img {
    height: 100%;
    width: 100%;
}

#login-block .login_form {
    list-style: none;
    margin: 0;
    padding: 0;
}
#login-block .login_form li {
    margin-bottom: 20px;
}
#login-block .login_form li:first-child {
    margin-bottom: 12px;
}
#login-block .login_form li:last-child {
    margin-bottom: 0;
}
#login-block .login_form li button {
    font-size: 1rem;
}
#login-block .login_form li .forgot-password {
    margin-bottom: 0;
    text-align: right;
    margin-top: 10px;
}
#login-block .login_form li .forgot-password a {
    display: inline-block;
    font-size: .9rem;
    text-decoration: underline;
    color: inherit;
}
#login-block .login-foot {
    margin-top: 20px;
}
#login-block .login-foot .sign-up {
    display: block;
    text-align: center;
    color: inherit;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

/* speedbar */
.speedbar {
    margin-bottom: 32px;
    font-size: 11px;
    color: rgb(0 0 0 / 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}
.speedbar > .over {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
}
.speedbar a {
    color: inherit;
}
.speedbar a:hover {
    text-decoration: none;
    color: #222;
}





/* profile menu */
#profile-menu {
    position: fixed;
    top: 0;
    height: 100%;
    right: -360px;
    width: 360px;
    max-width: 100%;
    padding: 50px 20px 20px;
    background: #fff;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1002;
}
#profile-menu .profile-menu-close {
    position: absolute;
    right: 20px;
    top: 15px;
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}
#profile-menu .profile-menu-close:hover,
#update-menu .update-menu-close:hover {
    opacity: 1;
}
#profile-menu .profile-menu-close:before,
#profile-menu .profile-menu-close:after,
#update-menu .update-menu-close:before,
#update-menu .update-menu-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 19px;
    width: 2px;
    background-color: #333;
}
#profile-menu .profile-menu-close:before,
#update-menu .update-menu-close:before {
    transform: rotate(45deg);
}
#profile-menu .profile-menu-close:after,
#update-menu .update-menu-close:after {
    transform: rotate(-45deg);
}

#profile-menu .account-data {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
#profile-menu .profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 42px;
    margin-right: 15px;
    border-radius: 24px;
    overflow: hidden;
    color: #999;
}
#profile-menu .profile-link.svg {
    height: 44px;
    width: 44px;
    padding: 10px;
    border: 1px solid #b7b7b7;
    background: #f5f5f5;
}
#profile-menu .profile-link > img {
    width: fit-content;
}
#profile-menu .profile-name {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}
#profile-menu .profile-name span:nth-child(1) {
}
#profile-menu .profile-name span:nth-child(2) {
    color: #888;
}

#profile-menu .profile-links {
    list-style: none;
    margin: 30px 0;
    padding: 0 0 30px 0;
    border-bottom: 1px solid #eee;
}
#profile-menu .profile-links li {
    padding: 9px 0;
    min-height: 30px;
}
#profile-menu .profile-links li a {
    display: flex;
    align-items: center;
    color: inherit;
}
#profile-menu .profile-links li a:hover {
    text-decoration: none;
    opacity: .8;
}
#profile-menu .profile-links li a span {
    display: block;
    font-size: 1rem;
}
#profile-menu .profile-links li a:before {
    content: '';
    display: block;
    height: 16px;
    width: 16px;
    margin-right: 16px;
}
#profile-menu .profile-links li a.m_tariff > .plan {
    display: flex;
    align-items: center;
    flex: 1;
}
#profile-menu .profile-links li a.m_tariff > .plan > .dots {
    flex: 1;
    margin: 0 14px;
    height: 14px;
    border-bottom: 1px dotted;
}
#profile-menu .profile-links li a.m_tariff > .plan > .tariff {
    padding: 0 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}
#profile-menu .profile-links li a.m_tariff > .plan.free > .tariff {
    border: 1px solid #ffa7a7;
    background-color: #ffdbdb;
    color: #b70000;
}
#profile-menu .profile-links li a.m_tariff > .plan.pro > .tariff {
    border: 1px solid #56df00;
    background-color: #d7f7c2;
    color: #006908;
}
#profile-menu .profile-links li a.m_accaunt:before {
    background: url('../images/icons/profile-menu/m_accaunt.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_tariff:before {
    background: url('../images/icons/profile-menu/m_tariff.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_statistics:before {
    background: url('../images/icons/profile-menu/m_stats.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_settings:before {
    background: url('../images/icons/profile-menu/m_settings.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_admin_p:before {
    background: url('../images/icons/profile-menu/m_admin_p.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_collections:before {
    background: url('../images/icons/profile-menu/m_collections.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_moodboards:before {
    background: url('../images/icons/mood-g.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_likes:before {
    background: url('../images/icons/profile-menu/m_likes.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_downloads:before {
    background: url('../images/icons/profile-menu/m_downloads.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_stats:before {
    background: url('../images/icons/profile-menu/m_stats.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_finance:before {
    background: url('../images/icons/profile-menu/m_finance.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_countryfilter:before {
    background: url('../images/icons/profile-menu/m_countryfilter.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_userlist:before {
    background: url('../images/icons/profile-menu/m_userlist.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_promocode:before {
    background: url('../images/icons/profile-menu/m_promocode.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_translation:before {
    background: url('../images/icons/profile-menu/m_translation.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_complaints:before {
    background: url('../images/icons/profile-menu/m_complaints.svg') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_dialogues:before {
    background: url('../images/icons/mess_uu_b.png') center center no-repeat;
    background-size: contain;
}
#profile-menu .profile-links li a.m_addnews:before {
    background: url('../images/icons/profile-menu/m_addnews.svg') center center no-repeat;
    background-size: contain;
}












/* =======================================================
   1. СТИЛИ ГЛАВНЫХ ССЫЛОК (В ШАПКЕ)
   ======================================================= */
#header nav#mega-menu-wrapper {
    flex: 1;
}
#header nav#mega-menu-wrapper > .in {
    display: flex;
    justify-content: center; /* Центрируем меню как на последнем макете */
}
#header nav#mega-menu-wrapper > .in > .mob_menu_header {
    display: none;
    padding: 24px;
    border-bottom: 1px solid rgb(0 0 0 / 0.05);
}
#header nav#mega-menu-wrapper > .in > .mob_menu_header > .in {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header nav#mega-menu-wrapper > .in > .mob_menu_header > .in > .mn_name {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .5px;
}
#header nav#mega-menu-wrapper > .in > .mob_menu_header > .in > .mn_close {
    height: 24px;
    width: 24px;
    background: url(../images/icons/x-gray.svg) center center no-repeat;
    background-size: 30px;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a {
    position: relative;
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgb(0 0 0 / .7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 200ms ease;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a:hover {
    text-decoration: none;
    color: rgb(0 0 0 / 1);
}

/* Стрелочка для выпадающих меню */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > a:after {
    content: '';
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border-style: solid;
    border-width: 0 1px 1px 0;
    padding: 2px;
    margin-left: 10px;
    margin-right: 2px;
    top: -2px;
    transform: rotate(45deg);
    transition: all .1s ease-in-out;
}

/* Стили для кнопки AI Studio */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a.ai-studio {
    color: #6a38e5;
    padding-left: 15px;
    background: url(../images/icons/header/ai-stars.svg) left center no-repeat;
    background-size: 10px;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a.ai-studio:hover {
    opacity: .8;
    text-decoration: none;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a.ai-studio > .line {
    position: absolute;
    left: 0;
    bottom: 14px;
    height: 2px;
    background-color: #6a38e5;
    transition: all cubic-bezier(0.25, 1, 0.5, 1) 400ms;
    width: 0;
}
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item > a.ai-studio:hover > .line {
    width: 100%;
}


/* =======================================================
   2. ЛОКАЛЬНАЯ ОБЕРТКА DROPDOWN (Чистый CSS :hover)
   ======================================================= */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu {
    position: relative;
}

/* Скрытое состояние меню (ЗАКРЫТИЕ) */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap {
    position: absolute;
    top: 100%;
    left: -20px;
    padding-top: 46px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
    z-index: 100;
}

/* Состояние меню ПРИ НАВЕДЕНИИ (:hover) (ОТКРЫТИЕ) */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu:hover > .local-dropdown-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 200ms ease 150ms, transform 200ms ease 150ms, visibility 0s linear 150ms;
}



/* =======================================================
   3. ПРЕМИАЛЬНАЯ КАРТОЧКА С ТАБАМИ
   ======================================================= */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card {
    display: flex;
    width: 800px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 80px -15px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

/* --- ЛЕВАЯ ЧАСТЬ (Список табов) --- */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar {
    width: 33.333%;
    background: #FBFBFD;
    padding: 24px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar > .mega-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar > .mega-tabs-list > li {
    margin-bottom: 4px;
}

/* Кнопка-ссылка таба */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar > .mega-tabs-list > li > .mega-tab-btn {
    display: block;
    text-decoration: none;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0,0,0,0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 200ms ease;
    font-family: inherit;
    box-sizing: border-box;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar > .mega-tabs-list > li > .mega-tab-btn:hover {
    background: #F5F5F7;
    color: #1D1D1F;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-sidebar > .mega-tabs-list > li > .mega-tab-btn.active {
    background: #ffffff;
    color: #1D1D1F;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}


/* --- ПРАВАЯ ЧАСТЬ (Контент таба) --- */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content {
    width: 66.666%;
    padding: 32px;
    position: relative;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane.active {
    display: flex;
    animation: fadeTabIn 0.3s ease;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-body > .mega-tab-title {
    font-size: 18px;
    font-weight: 700;
    color: #1D1D1F;
    margin: 0 0 24px 0;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-body > .mega-tab-sublist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-body > .mega-tab-sublist > li > a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0,0,0,0.6);
    text-decoration: none;
    transition: color 200ms ease;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-body > .mega-tab-sublist > li > a:hover {
    color: #1D1D1F;
}

/* --- Кнопка Explore --- */
#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-explore {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FBFBFD;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 16px;
    border-radius: 12px;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 200ms ease;
}

#header nav#mega-menu-wrapper > .in > ul.main-menu > li.menu-item.drop-menu > .local-dropdown-wrap > .mega-menu-tabbed-card > .mega-tabs-content > .mega-tab-pane > .mega-tab-explore:hover {
    background: #F5F5F7;
    color: #1D1D1F;
}


/* =======================================================
   4. ОВЕРЛЕЙ И АНИМАЦИИ
   ======================================================= */
.header-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(232, 232, 237, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease 0s, visibility 300ms ease 0s;
}
html.dropdown-menu-opened .header-menu-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease 150ms, visibility 300ms ease 150ms;
}

@keyframes fadeTabIn {
    from { opacity: 0; transform: translateX(5px); }
    to { opacity: 1; transform: translateX(0); }
}















/* =====================================================
   AI SEMANTIC SEARCH (Global Header UI)
===================================================== */
#sticky-search-bar {
    position: sticky;
    top: 0px;
    padding: 16px 0;
    margin-bottom: 32px;
    background-color: #fff;
    border-bottom: 1px solid rgb(0 0 0 / 0.05);
    z-index: 50;
}
#sticky-search-bar > .in {
    display: flex;
    justify-content: center;
}
#sticky-search-bar > .in > .zp-ai-form {
    flex: 1;
    display: block;
    max-width: 640px;
    width: 100%;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container {
    display: flex;
    align-items: center;
    background-color: #F5F5F7;
    border: 1px solid transparent;
    transition: all 300ms cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 40px;
    height: 48px;
    box-sizing: border-box;
    padding: 4px 4px 4px 16px;
    position: relative;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container:focus-within,
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container.is-filled {
    background-color: #ffffff;
    border-color: #d1d1d6;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-glass-icon {
    color: #8e8e93;
    margin-right: 10px;
    display: flex;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-glass-icon > svg {
    width: 18px;
    height: 18px;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1d1d1f;
    background: transparent;
    min-width: 0;
    height: 100%;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-input::placeholder {
    color: #a1a1a6;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-image-chip {
    display: none;
    align-items: center;
    background: #F5F5F7;
    height: 36px;
    padding: 0 8px;
    border-radius: 30px;
    margin-right: 10px;
    border: 1px solid #e5e5ea;
    white-space: nowrap;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-image-chip > img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-image-chip > span {
    font-size: 11px;
    font-weight: 500;
    color: #1d1d1f;
    margin-right: 6px;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-image-chip > .zp-ai-close-btn {
    cursor: pointer;
    color: #8e8e93;
    font-size: 15px;
    line-height: 1;
    padding: 0 4px;
    transition: 0.2s;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-image-chip > .zp-ai-close-btn:hover {
    color: #000;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-camera-trigger {
    color: #8e8e93;
    cursor: pointer;
    padding: 4px;
    margin-right: 8px;
    transition: color 0.2s;
    display: flex;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-camera-trigger > svg {
    width: 20px;
    height: 20px;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-camera-trigger:hover {
    color: #000;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #333;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    height: 34px;
    padding: 0 20px;
    font-size: 12px;
    line-height: 34px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-submit-btn:hover {
    background: #1d1d1f;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-submit-btn.zp-ai-active {
    background: #10b981;
    color: #fff;
}
#sticky-search-bar > .in > .zp-ai-form > .zp-ai-container > .zp-ai-submit-btn.zp-ai-active:hover {
    background: #059669;
}