#top {
   padding: 15px 20px 5px;
   background-color: #ffffff;
   border-bottom: 2px solid #e8e8e8;
}

#top .container {
   padding: 1px;
}

/* logo */
.logo-top {
   float: left;
   padding: 12px 5px 5px 5px;
}

.logo {
   width: 140px;
   height: auto;
   transition: none !important;
}

/* Small screens: the logo scales smoothly with the free space between the burger button
   (48px on the left) and the right-hand icons (3 icons = ~130px; 5 icons above 480px are
   always wider than the 130px cap), instead of jumping between fixed sizes. The viewing history
   icon (.hidden_270) leaves at <=270px; the logo keeps shrinking smoothly (no size jump). */
@media (max-width: 990px) {
.logo-top {
      padding: 12px 0 0 48px;
   }

.logo {
      width: clamp(60px, calc(100vw - 190px), 130px);
      height: auto;
      transition: none;
   }
}

@media (max-width: 200px) {
.logo {
      display: none;
   }
}

/* Search in header */
.search-active .search-full {
  z-index: 10001;
}

.search-active .btn-lg {
   z-index: 10001 !important;
}

#search-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, .3);
   display: none;
   z-index: 10000;
   pointer-events: none;
}

.search-full {
   position: relative;
   display: block;
   width: calc(100% - -18px);
   height: 42px;
   padding-left: 15px;
   padding-right: 60px;
   border-radius: 21px 0 0 21px;
   border: 0;
   box-sizing: border-box;
   background-color: #f1ebff;
   background-image: linear-gradient(
      135deg,
      #f1ebff 0%,
      #e5e5fa 47%,
      #eaf7fd 100%
   );
   outline: unset;
}

.search-full:hover {
   color: #000;
   background-color: #ffffff;
}

@media (max-width: 988px) {
   #search {
      margin-top: 45px;
      margin-bottom: 5px;
   }
}

#search .input-lg {
   height: 41px;
   line-height: 20px;
   padding: 0 10px;
}

#search .btn-lg {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   padding: 0 22px;
   border-radius: 21px;
   box-sizing: border-box;
   color: #ffffff;
   font-size: 20px;
   cursor: pointer;
   background-color: #1946b8;
   height: 42px;
   display: flex;
   justify-content: center;
   align-items: center;
   outline: 0;
   border: 0;
   z-index: 1;
}

.ico-search::before {
   content: "\f002";
   font-family: "new-desktop" !important;
   font-size: 20px;
}

#search .btn-lg:hover,
#menu .btn-lg:focus {
   transition: transform 0.2s cubic-bezier(1, 0.88, 0.13, 1.54);
   transform: scale(1.05);
}

@media (max-width: 991px) {
   #search .btn-lg {
      padding: 0 12px;
   }
}

#search.search-active .s-m-w {
   box-shadow: 0 0 0 2px #0043ff;
   border-radius: 60px;
}

.s-m-w {
   display: flex;
   align-items: center;
}

.input-wrapper {
   flex-grow: 1;
}

.searchinputgo {
   flex-shrink: 0;
}

@media (max-width: 988px) {
   #search .btn-lg {
      padding: 0 10px;
   }
   .search-full {
      height: 33px;
      padding-left: 10px;
      padding-right: 30px;
      background-image: unset;
      background-color: #ffffff;
      border: 1px solid #777777;
      border-right: 0;
      border-radius: 4px 0 0 4px !important;
   }
   #search .btn-lg {
      height: 33px;
      background-color: #ffffff;
      color: #4f4f4f;
      border-radius: 0 4px 4px 0;
      border: 1px solid #777777;
      border-left: 0;
      /*z-index: 9998;*/
   }

   #search.search-active .s-m-w {
      border-radius: 4px;
   }

   #search .btn-lg:hover,
   #menu .btn-lg:focus {
      transform: none;
      transition: none;
   }

   .s-m-w {
      width: 100%;
   }

   .hide-on-mobile {
      display: none;
   }
}
/* end */

/* top buttons */
.container-only-for-centering {
   float: right;
   margin-top: 8px;
   margin-left: 10px;
   margin-right: 10px;
}

@media (max-width: 990px) {
.container-only-for-centering {
    margin-top: 10px;
   }
}

/* Language */
#language_dropdown_Overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.3);
   display: none;
   z-index: 10001;
}
#language_dropdown_Overlay.active {
   display: block;
}
#languageDropdownButton {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   box-sizing: border-box;
   width: 30px;
   height: 30px;
   border-radius: 50%;
   border: 1px solid #212121;
   background: transparent;
   padding: 0;
   cursor: pointer;
   z-index: 10;
   overflow: hidden;
}
.language-dropdown-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	padding:3px;
}
@media (max-width: 990px) {
   #languageDropdownButton {
        width: 25px;
        height: 25px;
   }
}
#languageDropdownButton:hover,
#languageDropdownButton.dropdown-open:hover {
   background-color: rgba(235, 235, 235, 1);
}
#languageDropdownButton.dropdown-open {
   background-color: rgba(235, 235, 235, 1);
}
.language-dropdown-menu {
   padding: 30px 40px;
   width: 350px;
   border-radius: 4px;
   position: absolute;
   top: 41px;
   left: 50%;
   transform: translateX(-50%);
   display: none;
   -webkit-box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   -moz-box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   -ms-box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   -o-box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   z-index: 10002;
}
.language-dropdown-menu.show {
   display: block;
}
.language-dropdown-menu::before {
   content: "";
   position: absolute;
   top: -19px;
   left: 50%;
   transform: translateX(-50%);
   border-width: 10px;
   border-style: solid;
   border-color: #ffffff00 transparent rgb(255 255 255) transparent;
}
.language-dropdown-menu .dropdown-header {
   font-family: "Ajoiani GEO CAPS", sans-serif;
   text-transform: uppercase;
   display: flex;
   font-size: 14px;
   font-weight: bold;
   padding: 3px 0px;
   padding-bottom: 20px;
   color: #000000;
   align-items: stretch;
   justify-content: flex-start;
}
.language-dropdown-menu .language-select {
    font: 700 14px / 1 "BPG Arial", "Arial Narrow", "Helvetica Narrow", arial, helvetica, sans-serif;
    align-items: center;
    display: flex;
    white-space: nowrap;
    font-size: 13px;
    border: none;
    background: transparent;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 10px;
    text-transform: none;
    position: relative;
}
.language-dropdown-menu .language-select:hover:not(:disabled) {
   background-color: rgba(235, 235, 235, 0.5);
}
.language-dropdown-menu .language-select.current-language {
   background-color: rgb(246 246 246);
   font-weight: bold;
   cursor: default;
}
.language-dropdown-menu .language-select:disabled {
   opacity: 1;
   cursor: not-allowed;
}
.check-mark {
   margin-left: auto;
   color: #4CAF50;
   font-size: 15px;
   font-weight: bold;
}
.lang-code {
   color: #000;
   font-size: 9px;
   padding-top: 1.3px;
   padding-left: 3px;
}
.lang_center {
   margin-top: 6px;
   margin-left: 10px;
   margin-right: 10px;
}
/* Dark Theme */
.dark .language-dropdown-menu .language-select:disabled {
    border: 1px solid transparent;
}
.dark #languageDropdownButton:hover,.dark #languageDropdownButton.dropdown-open:hover {
    background-color: var(--hdr-hover);
}
.dark #languageDropdownButton {
    border: 1px solid var(--hdr-ring);
}
.dark #languageDropdownButton.dropdown-open {
    background-color: var(--hdr-active);
}
.dark .language-dropdown-menu .language-select {
    color: var(--hdr-text);
}
.dark .language-dropdown-menu {
    background-color: var(--hdr-surface);
    color: var(--hdr-text);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .9);
}
.dark .language-dropdown-menu::before {
    border-bottom-color: var(--hdr-surface);
}
.dark .language-dropdown-menu .language-select.current-language {
    background-color: var(--hdr-hover);
    color: var(--hdr-text);
}
.dark .language-dropdown-menu .dropdown-header {
    color: var(--hdr-text);
}
.dark .language-dropdown-menu .language-select:hover {
    background-color: var(--hdr-hover);
    color: var(--hdr-text);
}
.dark .lang-code {
    color: var(--hdr-text);
}
/* Language end */

/*Account */
.wishlist-count {
    margin-left: 5px;
}

#account_dropdown_Overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.3);
   display: none;
   z-index: 10001;
}

#account_dropdown_Overlay.active {
   display: block;
}

#userDropdownButton {
   z-index: 10;
}

.user-dropdown-menu {
   position: absolute;
   padding: 0 0px 10px;
   min-width: 350px;
   border-radius: 4px;
   top: 52px;
   left: 50%;
   transform: translateX(-50%);
   box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
   z-index: 10002;
   background-color: #f8f8f8;
}

@media (max-width: 990px) {
.user-dropdown-menu {
	left: unset;
    transform: translateX(10%);
   }
#myAccountDropdownMenu::before {
        left: 84.5% !important;
   }
.status-indicator {
        position: absolute;
        top: 10px;
        right: 5px;
        width: 8px;
        height: 8px;
        background-color: #4caf50;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        display: block;
    }
}

@media (max-width: 371px) {
.user-dropdown-menu {
        transform: translateX(13%) !important;
}
.user-dropdown-menu {
        min-width: 310px !important;
}
#myAccountDropdownMenu::before {
        left: 80.5% !important;
   }
}

@media (max-width: 320px) {
.user-dropdown-menu {
        transform: translateX(15%) !important;
}
.user-dropdown-menu {
        min-width: 275px !important;
}
#myAccountDropdownMenu::before {
    left: 74% !important;
   }
}

#myAccountDropdownMenu::before {
   content: "";
   position: absolute;
   top: -19px;
   left: 50%;
   transform: translateX(-50%);
   border-width: 10px;
   border-style: solid;
   border-color: transparent transparent #efefef transparent;
}

#userDropdownButton.dropdown-open {
   background-color: #f2f2f2;
   cursor: pointer;
}

.dropdown-profile-avatar-container {
    display: flex;
    padding: 15px 20px;
    margin-bottom: 5px;
    background-color: #efefef;
    align-items: center;
    position: relative;
    min-height: 70px;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 480px) {
.dropdown-profile-avatar-container .header-profile-picture {
    width: 45px !important;
    height: 45px !important;
   }
   .dropdown-profile-avatar-container {
        min-height: 60px;
        padding: 10px 15px;
   }
}

.profile-avatar-link {
    display: inline-block !important;
    align-self: center !important;
    margin-right: 15px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.profile-avatar-link:hover,
.profile-avatar-link:focus {
    background-color: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
}

.dropdown-profile-avatar-container .header-profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #dddddd4a;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.dropdown-header-profile-picture-no-img {
    opacity: 0.6;
}

.dropdown-profile-info {
    flex: 1;
    font-family: "Ajoiani GEO CAPS", sans-serif;
    line-height: 1.2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
}

.dropdown-profile-info span {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.profile-name-link {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    display: inline !important;
    padding: 0 !important;
    background: none !important;
}

.profile-name-link:hover,
.profile-name-link:focus {
    color: #007bff !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

.dropdown-profile-info small {
    color: #6c757d;
    font-size: 12px;
    font-weight: normal;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    margin-top: 2px;
}

/* santa*/
.santa-hat {
    position: absolute;
    top: 2px;
    left: 15px;
    width: 30px;
    height: 30px;
    background-image: url('/assets/images/santa-hat.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width: 990px) {
    .santa-hat {
        width: 25px;
        height: 24px;
        top: 7px;
        left: 12px;
    }
}

.menu-item-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: background-color 0.2s !important;
}

.menu-item-link:hover,
.menu-item-link:focus {
    background-color: #e9ecef !important;
    color: #212529 !important;
    text-decoration: none !important;
}

.menu-item-link:hover .dropdown-icon {
    opacity: 1;
}

.menu-item-link .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    opacity: .7;
    transition: opacity .3s ease, transform .2s ease;
    flex-shrink: 0;
}

.menu-item-link:hover .menu-icon {
    opacity: 1;
    transform: scale(1.1);
}

.menu-icon svg {
    width: 18px;
    height: 18px;
}

.menu-icon .menu-image {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
}

.user-dropdown-menu > li:not(.dropdown-profile-avatar-container):not(:last-child):not(:has(button)) {
    border-bottom: 1px solid #e0e0e0;
}

/* Dark mode */
.dark #userDropdownButton.dropdown-open,
.dark #userDropdownButton.dropdown-open:hover {
    background-color: var(--hdr-active);
}

.dark .user-dropdown-menu {
    background-color: var(--hdr-surface);
    color: var(--hdr-text);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.9);
}

.dark #myAccountDropdownMenu::before {
    border-color: transparent transparent var(--hdr-surface) transparent;
}

.dark .dropdown-header-profile-picture-no-img {
    filter: brightness(0.8);
    opacity: 0.7;
}

.dark .dropdown-profile-info small {
    color: var(--hdr-text-muted);
}

.dark .dropdown-profile-avatar-container {
    background-color: var(--hdr-hover);
    border-bottom: 1px solid var(--hdr-border);
}

.dark .menu-item-link {
    color: var(--hdr-text) !important;
}

.dark .menu-item-link:hover,
.dark .menu-item-link:focus {
    background-color: var(--hdr-border) !important;
    color: var(--hdr-text) !important;
}

.dark .user-dropdown-menu > li:not(.dropdown-profile-avatar-container):not(:last-child):not(:has(button)) {
    border-bottom: 1px solid var(--hdr-border);
}

.dark .dropdown-icon {
    opacity: 0.8;
}

.dark .profile-name-link:hover,
.dark .profile-name-link:focus {
    color: #4da6ff !important;
}

/* User Account end */

/* Dropdown */
.close-dropdown-button {
   position: absolute;
   top: 10px;
   right: 15px;
   background: none;
   border: none;
   font-size: 1.2rem;
   color: #b5b5b5;
   cursor: pointer;
   z-index: 1;
}

.close-dropdown-button:hover {
   color: #000000;
   font-weight: 900;
}
/* Dropdown end */


/* top nav */
.header-nav {
   display: flex;
   float: left;
   border-radius: 22px;
   box-sizing: border-box;
   min-height: 40px;
   padding: 7px 10px 3px 10px;
   margin-left: 5px;
   margin-right: 5px;
   position: relative;
   cursor: pointer;
}

.header-nav:hover {
   background-color: #ebebeb;
   transform: translateZ(0);
   transition: background-color 0.2s;
}

.header-nav_icon {
   width: 30px;
   height: 30px;
   display: flex;
   align-items: center;
   justify-content: center;

   font-size: 28px;
   color: #000;
}

.header-nav_avatar {
   width: 30px;
   height: 30px;
   border-radius: 50%;
   object-fit: cover;
   flex-shrink: 0;
   box-sizing: border-box;
   border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.dark .header-nav_avatar {
   border-color: rgba(255, 255, 255, 0.14);
}

.header-nav_cont {
   display: flex;
   align-items: flex-start;
   position: static;
   flex-flow: column nowrap;
   margin-left: 7px;
}

.header-nav--contact {
   margin-right: 10px;
}

.header-nav--contact .header-nav_cont {
   margin-left: 0;
}

.header-nav_text {
   font-family: Ajoiani-com Headline, sans-serif;
   color: #6e6e6e;
   font-size: 12px;
   line-height: 15px;
}

.header-nav_bottom_text {
    font-family: Ajoiani-com Headline, sans-serif;
    color: #212121;
    line-height: 16px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.ico-contact::before {
   content: "\e9362";
   font-family: new-desktop !important;
}

.ico-user::before {
   content: "\f007";
   font-family: new-desktop !important;
}

@media (max-width: 990px) {
   .header-nav {
      padding: 7px 10px;
      border-radius: 50%;
      min-height: 40px;
      max-height: 40px;
      width: 40px;
      justify-content: center;
      margin-left: 0px;
      margin-right: 0px;
   }

   .header-nav_cont {
      display: none;
   }

   .header-nav_icon {
      font-size: 24px;
   }

   #top {
      padding: 3px 0px 0px;
   }
}

/* Sticky Header */
.sticky-header {
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   z-index: 1000;
   background-color: white;
   box-shadow: none;
   transition: box-shadow 0.3s ease;
}

.sticky-header.scrolled {
   box-shadow: 0 0 10px 0 rgba(4, 32, 98, 0.2);
}

.sticky-header.scrolled #top {
   padding-bottom: 15px;
}

@media (max-width: 990px) {
   .sticky-header.scrolled #top {
      padding-bottom: 3px;
   }
}

.top-bar {
   max-height: 80px;
   transition: max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
   transform: translateY(0);
   opacity: 1;
}

.top-bar.hidden {
   max-height: 0;
   overflow: hidden;
   transform: translateY(-100%);
   opacity: 0;
}

@media (max-width: 270px) {
   .hidden_270 {
      display: none;
   }
}

@media (max-width: 320px) {
   .hidden_320 {
      display: none;
   }
}

@media (max-width: 480px) {
   .hidden_480 {
      display: none;
   }
}

@media (max-width: 768px) {
   .hidden_768 {
      display: none;
   }
}
@media (max-width: 990px) {
   .hidden_990 {
      display: none;
   }
}
@media (max-width: 1024px) {
   .hidden_1024 {
      display: none;
   }
}

@media (max-width: 1280px) {
   .hidden_1280 {
      display: none;
   }
}
