:root {
    --ps-header-pattern: url('/images/header-xor-pattern.png');
    --ps-header-pattern-size: 128px 64px;
}

#header .navbar.navbar-default,
#header .navbar.navbar-static-top {
    background-color: #151a20;
    background-image: var(--ps-header-pattern) !important;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: var(--ps-header-pattern-size);
}

#header .navbar-brand {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(180, 204, 238, .2));
    text-shadow: 0 1px 0 rgba(255, 255, 255, .38), 0 0 12px rgba(220, 230, 242, .58), 0 0 28px rgba(126, 153, 190, .34), 0 0 46px rgba(17, 31, 51, .72) !important;
    transition: color .18s ease, filter .18s ease, text-shadow .18s ease, transform .18s ease;
}

.logo-glow-day #header .navbar-brand {
    color: #fff5d7;
    filter: drop-shadow(0 0 9px rgba(255, 191, 58, .36));
    text-shadow: 0 1px 0 rgba(80, 54, 0, .24), 0 0 12px rgba(255, 238, 168, .74), 0 0 28px rgba(255, 181, 41, .46), 0 0 46px rgba(137, 79, 0, .44) !important;
}

.logo-glow-day #header .navbar-brand:hover,
.logo-glow-day #header .navbar-brand:focus {
    color: #ffd95c;
    filter: drop-shadow(0 0 10px rgba(255, 196, 54, .42));
    text-shadow: 0 1px 0 rgba(80, 54, 0, .28), 0 0 12px rgba(255, 235, 156, .78), 0 0 28px rgba(255, 187, 54, .52), 0 0 48px rgba(141, 88, 0, .5) !important;
    transform: translateY(-1px);
}

.logo-glow-night #header .navbar-brand {
    color: #f8fbff;
    filter: drop-shadow(0 0 9px rgba(198, 215, 238, .34));
    text-shadow: 0 1px 0 rgba(255, 255, 255, .42), 0 0 12px rgba(231, 238, 248, .76), 0 0 28px rgba(137, 164, 199, .46), 0 0 46px rgba(26, 47, 76, .66) !important;
}

.logo-glow-night #header .navbar-brand:hover,
.logo-glow-night #header .navbar-brand:focus {
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(223, 234, 247, .5));
    text-shadow: 0 1px 0 rgba(255, 255, 255, .48), 0 0 14px rgba(248, 251, 255, .88), 0 0 30px rgba(185, 204, 230, .58), 0 0 50px rgba(72, 104, 145, .52) !important;
    transform: translateY(-1px);
}

.logo-season-holiday #header .navbar-brand {
    background-image: url('/images/logo.newyart.png');
}

.new-message {
    right: 50px;
    top: 16px;
}

@media (min-width: 768px) {
    #header .header-right.g {
        margin-top: 17px;
    }
}

.authorized-block .dropdown-menu {
    right: 40.5px !important;
}

.login-cart a {
    line-height: 24px;
}

.header-cart-button,
.login-cart .header-cart-button,
a.header-cart-button.nologin-cart-con {
    align-items: center;
    background: #fff none repeat scroll 0 0;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 6px 6px 1px rgba(50, 50, 50, .75);
    color: #000;
    display: inline-flex !important;
    gap: 3px;
    height: 24px;
    justify-content: center;
    line-height: 1;
    min-width: 40px;
    padding: 0 7px;
    position: relative;
    text-align: center;
    transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease;
    vertical-align: middle;
    width: auto;
    will-change: transform, box-shadow;
    z-index: 19999;
}

.authorized-block .header-cart-button,
.login-cart .header-cart-button {
    width: auto;
}

.header-cart-button:hover,
.header-cart-button:focus {
    box-shadow: 0 0 10px 7px rgba(73, 201, 222, .9), 0 6px 6px 1px rgba(50, 50, 50, .55);
    color: #000;
    text-decoration: none;
    transform: translateY(-1px) scale(1.04);
}

.header-cart-button i,
.header-cart-button:hover i,
.header-cart-button:focus i {
    color: #000;
    font-size: 13px;
    line-height: 1;
}

.header-cart-button:hover .fa-shopping-cart,
.header-cart-button:focus .fa-shopping-cart {
    animation: psHeaderCartHover .42s ease both;
}

.header-cart-button .cart-number {
    background: none !important;
    color: #000;
    display: inline-flex;
    font-size: 11px;
    line-height: 1;
    padding: 0 !important;
    transition: transform .18s ease;
}

.header-cart-button:hover .cart-number,
.header-cart-button:focus .cart-number {
    transform: scale(1.08);
}

@keyframes psHeaderCartHover {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    35% {
        transform: translateX(1px) rotate(-7deg);
    }

    70% {
        transform: translateX(-1px) rotate(6deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-cart-button,
    .header-cart-button .cart-number {
        transition: none;
    }

    .header-cart-button:hover .fa-shopping-cart,
    .header-cart-button:focus .fa-shopping-cart {
        animation: none;
    }
}

a.header-cart-button.nologin-cart-con {
    padding: 0 7px;
}

#s2id_currency_change.ps-currency-select2 {
    min-width: 86px !important;
    position: relative;
    width: 86px !important;
}

#s2id_currency_change.ps-currency-select2.select2-dropdown-open {
    width: 212px !important;
}

#s2id_currency_change.ps-currency-select2 .select2-choice {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #777 !important;
    display: inline-flex;
    height: 30px;
    line-height: 30px;
    margin-top: 0;
    min-height: 30px;
    padding: 0;
    position: relative;
}

#s2id_currency_change.ps-currency-select2 .select2-choice > .select2-chosen {
    display: inline-flex;
    flex: 0 0 auto;
    margin-right: 0;
    overflow: visible;
    padding: 0;
    text-overflow: clip;
    width: auto;
}

#s2id_currency_change.ps-currency-select2 .select2-choice .select2-arrow {
    background: transparent !important;
    border: 0 !important;
    display: inline-block;
    flex: 0 0 10px;
    filter: none !important;
    height: 30px;
    margin-left: 4px;
    position: static;
    width: 10px;
}

#s2id_currency_change.ps-currency-select2 .select2-choice .select2-arrow b {
    background: none !important;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #777;
    height: 0;
    margin-left: 2px;
    margin-top: 13px;
    width: 0;
}

#s2id_currency_change.ps-currency-select2:hover:before,
#s2id_currency_change.ps-currency-select2:focus-within:before,
#s2id_currency_change.ps-currency-select2.select2-dropdown-open:before {
    border-top: 2px solid #3f9b63;
    content: '';
    left: 0;
    position: absolute;
    top: -16px;
    width: 100%;
}

#s2id_currency_change.ps-currency-select2 .select2-choice:hover .clr-black,
#s2id_currency_change.ps-currency-select2 .select2-choice:focus .clr-black,
#s2id_currency_change.ps-currency-select2.select2-dropdown-open .select2-choice .clr-black {
    color: #3f9b63;
}

#s2id_currency_change.ps-currency-select2 .select2-choice:hover .select2-arrow b,
#s2id_currency_change.ps-currency-select2 .select2-choice:focus .select2-arrow b,
#s2id_currency_change.ps-currency-select2.select2-dropdown-open .select2-choice .select2-arrow b {
    border-top-color: #3f9b63;
}

.ps-currency-selection {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    line-height: 30px;
    max-width: 100%;
    white-space: nowrap;
}

.ps-currency-selection .clr-black {
    color: #777;
    font-size: 14px;
    font-weight: 700;
}

.ps-currency-selection__icon {
    align-items: center;
    background: none;
    color: #3f9b63;
    display: inline-flex;
    flex: 0 0 auto;
    font: normal normal normal 13px/1 FontAwesome;
    height: 15px;
    justify-content: center;
    width: 15px;
}

.ps-currency-selection__icon:before {
    content: "\f0d6";
}

.ps-currency-select2-drop {
    background: #fff;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    margin-top: 18px;
    overflow: visible;
    padding-top: 29px;
}

.ps-currency-select2-drop:before {
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: '';
    display: inline-block;
    left: 10px;
    position: absolute;
    top: -6px;
}

.ps-currency-select2-drop:after {
    background: none;
    color: #999;
    content: "\f002";
    display: block;
    font-family: FontAwesome;
    font-size: 14px;
    font-weight: bold;
    height: 29px;
    left: 0;
    line-height: 20px;
    padding: 5px 38px 4px 15px;
    pointer-events: none;
    position: absolute;
    right: 0;
    text-align: right;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    text-transform: uppercase;
    top: 0;
    z-index: 3;
}

.ps-currency-select2-drop .select2-search {
    display: block;
    height: 29px;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.ps-currency-select2-drop .select2-search input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    height: 29px !important;
    line-height: 20px;
    margin: 0;
    padding: 5px 38px 4px 15px !important;
    text-transform: uppercase;
    width: 100% !important;
}

.ps-currency-select2-drop .select2-search input::placeholder {
    color: #999;
    opacity: 1;
}

.ps-currency-select2-drop .select2-results {
    margin: 0;
    max-height: 245px;
    padding: 0 0 5px;
}

.ps-currency-select2-drop .select2-results:before {
    content: '';
    display: none;
}

.ps-currency-select2-drop .select2-result-label {
    padding: 0;
}

.ps-currency-select2-drop .select2-highlighted {
    background: #2f80ed;
    color: #fff;
}

.ps-currency-option {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 4px 12px 4px 15px;
}

.ps-currency-option__symbol {
    align-items: center;
    border: 1px solid rgba(47, 128, 237, .18);
    border-radius: 5px;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 11px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    line-height: 1;
    min-width: 32px;
}

.ps-currency-option__symbol--green {
    background: #e8f7ee;
    border-color: #b8e4c9;
    color: #238551;
}

.ps-currency-option__symbol--blue {
    background: #edf5ff;
    border-color: #c8dcff;
    color: #2368c8;
}

.ps-currency-option__symbol--gold {
    background: #fff5d9;
    border-color: #f0d48a;
    color: #9d6a0a;
}

.ps-currency-option__symbol--red {
    background: #fff0ef;
    border-color: #ffc8c2;
    color: #c3473a;
}

.ps-currency-option__symbol--purple {
    background: #f3edff;
    border-color: #d9c7ff;
    color: #7453c8;
}

.ps-currency-option__symbol--orange {
    background: #fff0df;
    border-color: #ffc98c;
    color: #b96312;
}

.ps-currency-option__symbol--neutral {
    background: #f2f5f8;
    border-color: #dbe3eb;
    color: #5f6f7f;
}

.ps-currency-option__text {
    align-items: baseline;
    display: flex;
    gap: 4px;
    min-width: 0;
}

.ps-currency-option__text b {
    color: #777;
    flex: 0 0 auto;
}

.ps-currency-option__text span {
    color: #777;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ps-currency-select2-drop .select2-highlighted .ps-currency-option__symbol {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}

.ps-currency-select2-drop .select2-highlighted .ps-currency-option__text b,
.ps-currency-select2-drop .select2-highlighted .ps-currency-option__text span {
    color: #fff;
}

html[theme=dark] #header .navbar.navbar-default,
html[theme=dark] #header .navbar.navbar-static-top {
    background-color: #070b0f !important;
    background-image: var(--ps-header-pattern) !important;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: var(--ps-header-pattern-size);
    border-color: rgba(157, 177, 197, .18);
    color: #dce7f2;
}

html[theme=dark] #s2id_currency_change.ps-currency-select2 .select2-choice,
html[theme=dark] #s2id_currency_change.ps-currency-select2.select2-dropdown-open .select2-choice {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[theme=dark] #s2id_currency_change.ps-currency-select2 .select2-choice .clr-black {
    color: #777 !important;
}

html[theme=dark] #s2id_currency_change.ps-currency-select2 .ps-currency-selection__icon {
    color: #3f9b63 !important;
}

html[theme=dark] #s2id_currency_change.ps-currency-select2 .select2-choice .select2-arrow {
    background: transparent !important;
    border-color: transparent !important;
}

html[theme=dark] #s2id_currency_change.ps-currency-select2 .select2-choice .select2-arrow b {
    border-top-color: #777;
}

html[theme=dark] .ps-currency-select2-drop {
    background: #111820;
    border-color: #253241 !important;
    color: #dce7f2;
}

html[theme=dark] .ps-currency-option__text b,
html[theme=dark] .ps-currency-option__text span {
    color: #dce7f2;
}

html[theme=dark] .ps-currency-select2-drop:before {
    border-bottom-color: #111820;
}

html[theme=dark] .ps-currency-select2-drop:after {
    color: #8ea0b2;
    text-shadow: none;
}

html[theme=dark] .ps-currency-select2-drop .select2-search input {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #dce7f2 !important;
}

html[theme=dark] .ps-currency-select2-drop .select2-search input::placeholder {
    color: #8ea0b2;
}

html[theme=dark] .ps-currency-select2-drop .select2-highlighted {
    background: #1e5fae;
    color: #fff;
}

@media (max-width: 767px) {
    #header .navbar .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    #header .navbar-header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        min-height: 58px;
        width: 100%;
    }

    #header .navbar-brand,
    .logo-glow-day #header .navbar-brand:hover,
    .logo-glow-day #header .navbar-brand:focus,
    .logo-glow-night #header .navbar-brand:hover,
    .logo-glow-night #header .navbar-brand:focus {
        background-position: 0 9px;
        background-size: 42px auto;
        flex: 1 1 auto;
        font-size: 22px;
        line-height: 24px;
        margin: 0;
        max-width: calc(100vw - 208px);
        min-width: 0;
        padding: 20px 4px 18px 50px !important;
        white-space: nowrap;
    }

    #header .right-h {
        align-items: center;
        display: flex !important;
        flex: 0 0 auto;
        gap: 7px;
        justify-content: flex-end;
        margin-left: auto;
        margin-top: 0 !important;
        min-width: 0;
    }

    #header .right-h .authorized-block,
    #header .right-h .authorized-block .dropdown {
        align-items: center;
        display: inline-flex;
        gap: 6px;
        margin-right: 0;
    }

    #header .right-h .btn,
    #header .right-h .authorized-block .dropdown > a[role="button"] {
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        font-size: 14px;
        height: 38px;
        justify-content: center;
        line-height: 1;
        margin: 0 !important;
        min-width: 38px;
        padding: 0;
        width: 38px;
    }

    #header .right-h .nologin-cart-con,
    #header .right-h .login-cart > a,
    #header .right-h .header-cart-button {
        border-radius: 17px;
        height: 34px;
        min-width: 48px;
        padding: 0 8px;
        width: auto;
    }

    #header .right-h .login-cart {
        bottom: auto;
        position: static;
        right: auto;
    }

    #header .right-h .cart-number {
        font-size: 11px;
        margin-left: 2px;
    }

    #header .right-h .tcon {
        align-items: center;
        display: inline-flex;
        flex: 0 0 38px;
        height: 38px;
        justify-content: center;
        margin: 0 !important;
        padding: 0;
        width: 38px;
    }

    #header .right-h .tcon > * {
        margin-top: 0;
    }

    .authorized-block .dropdown-menu {
        right: 27px !important;
    }
}

@media (max-width: 380px) {
    #header .navbar .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }

    #header .right-h {
        gap: 5px;
    }

    #header .right-h .btn,
    #header .right-h .authorized-block .dropdown > a[role="button"] {
        height: 36px;
        min-width: 36px;
        width: 36px;
    }

    #header .right-h .nologin-cart-con,
    #header .right-h .login-cart > a,
    #header .right-h .header-cart-button {
        height: 32px;
        min-width: 44px;
        padding: 0 7px;
    }

    #header .right-h .tcon {
        flex-basis: 34px;
        height: 36px;
        width: 34px;
    }

    #header .right-h .tcon-menu__lines,
    #header .right-h .tcon-menu__lines::before,
    #header .right-h .tcon-menu__lines::after {
        width: 27px;
    }
}

@media (min-width: 768px) {
    #header .header-right {
        align-items: center;
        display: flex;
        float: right;
        gap: 8px;
        justify-content: flex-end;
        margin-top: 3px;
    }

    #header .header-right .authorized-block {
        display: inline-flex;
        margin-right: 0;
    }

    #header .header-right .authorized-block .dropdown {
        align-items: center;
        display: inline-flex;
        gap: 8px;
    }

    #header .header-right .header-cart-button,
    #header .header-right a.header-cart-button.nologin-cart-con {
        border-radius: 14px;
        height: 24px;
        min-width: 40px;
        padding: 0 7px;
        width: auto;
    }

    #header .header-right .header-cart-button i {
        font-size: 13px;
    }

    #header .header-right .cart-number {
        font-size: 11px;
        margin-left: 2px;
    }

    #header .header-right .tcon {
        align-items: center;
        display: inline-flex;
        flex: 0 0 42px;
        height: 24px;
        justify-content: center;
        margin: 0 !important;
        padding: 0;
        width: 42px;
    }

    #header .header-right .tcon > * {
        margin-top: 0;
    }

    #header .header-right .tcon-menu__lines,
    #header .header-right .tcon-menu__lines::before,
    #header .header-right .tcon-menu__lines::after {
        height: 2px;
        width: 30px;
    }
}

#header .authorized-block #dLabel2 {
    align-items: center;
    display: inline-flex;
    height: 55px;
    justify-content: center;
    position: relative;
    width: 62px;
}

#header .authorized-block #dLabel2 > img.avatar,
#header .authorized-block #dLabel2 > img.avatar--generated,
#header .authorized-block #dLabel2 > i.t-user {
    flex: 0 0 55px;
    height: 55px !important;
    margin: 0 !important;
    max-width: none;
    position: static !important;
    top: auto !important;
    width: 55px !important;
    display: flex;
    align-items: center;     
    justify-content: center; 
}

#header .authorized-block #dLabel2 > .t-user-menu-arrow {
    bottom: -7px;
    left: 50%;
    margin-left: 0 !important;
    position: absolute !important;
    top: auto !important;
    transform: translateX(-50%);
}

#header .authorized-block .login-cart {
    bottom: auto !important;
    display: inline-flex;
    line-height: 1;
    margin: 0 !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

@media (max-width: 767px) {
    #header .navbar-header {
        min-height: 62px;
    }

    #header .right-h {
        align-items: center;
        display: flex !important;
        flex: 0 0 auto;
        gap: 6px !important;
        height: 55px;
        justify-content: flex-end;
        margin-left: auto;
        margin-top: 0 !important;
    }

    #header .right-h .authorized-block,
    #header .right-h .authorized-block .dropdown {
        align-items: center;
        display: inline-flex;
        gap: 6px;
        margin-right: 0;
    }

    #header .right-h .header-cart-button,
    #header .right-h a.header-cart-button.nologin-cart-con {
        border-radius: 14px;
        height: 24px;
        min-width: 40px;
        padding: 0 7px;
        width: auto;
    }

    #header .right-h .header-cart-button i {
        font-size: 13px;
    }

    #header .right-h .tcon {
        align-items: center;
        display: inline-flex;
        flex: 0 0 42px;
        height: 24px;
        justify-content: center;
        margin: 0 !important;
        padding: 0;
        width: 42px;
    }

    #header .right-h .tcon-menu__lines,
    #header .right-h .tcon-menu__lines::before,
    #header .right-h .tcon-menu__lines::after {
        height: 2px;
        width: 30px;
    }
}

.authorized-block .dropdown-menu {
    right: 37px !important;
    margin-top: 8px;
}