.dark-blue-bg{
    background: var(--dark-blue);
}

header#masthead {
    font-size: 13px;
}
body:not(.home) header#masthead {
    height: 200px;
}

header#masthead nav li{
    font-weight: 600;
}

.main-navigation ul{
    justify-content: space-between;
}
.main-navigation ul#user-menu{
    width: 100%;
    text-align: center;
    align-items: center;
}
.home header#masthead .header-center {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}
.header-center a:hover{
	color:var(--dark-blue);
}
.text-green > a,.text-green > a:hover{
    color: #45a99f;
}
.header-center > .container > .row > div:first-child {
    width: 120px;
}
.header-center nav li > a,.header-center .megamenu > a {
    font-family: 'Merriweather', serif;
}

.sub-megamenu {
    background-color: #ffffff;
    border-top: 3px solid var(--dark-blue);
    margin-top: 20px;
    padding: 20px 40px;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    z-index: 9;
}
.sub-megamenu .h3{
	font-size: 24px;
    font-family:'Merriweather', serif ;
	font-weight: 900;
	color: var(--dark-blue);
}
.megamenu .sub-megamenu ul{
    column-count: 2;
}

.megamenu:hover .sub-megamenu {
	display: block!important;
}
#menu-item-430 a::before{
    content: url(/wp-content/uploads/2024/06/verighete-op21.webp);
    position: absolute;
    top: -15px;
    left: -18px;
    width: 25px;

}
.sub-megamenu li {
    padding-bottom: 0.3rem;
    font-weight: 500;
    /* font-size: 1.1em; */
    font-size:11.5px;
}

.modal-backdrop {
    --bs-backdrop-zindex: 999;
}

#staticBackdrop{
    z-index: 9999;
}
header#masthead .header-sticky.sticky{
    top: 0;
    position:fixed;
    z-index: 999;
    width: 100%;
}
header#masthead .header-mobile-sticky.sticky{
    top: 0;
    position:fixed;
    z-index: 999;
    width: 100%;
}

header#masthead .header-sticky.sticky .custom-logo{
    width: 80px;
    transition-duration: 0.5s;
}

header#masthead .header-sticky .custom-logo{
    width: 120px;
    transition-duration: 0.5s;
}
i.fa-bag-shopping{
    font-size:20px;
}
.basket-item-count{
    font-weight: 600;
    top: -12px;
    right: -8px;
    width: 18px;
    height: 18px;
}
.basket-item-count span.cart-items-count {
    background: #d9534f;
    text-align: center;
    display: block;
    /* padding: 2px 3px; */
    border-radius: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;

}
#helpModal .modal-dialog{
    top: 120px;
}
.sticky #helpModal .modal-dialog{
    top: 30px;
}
.header-mobile .mobile-header-center i{
    font-size:22px;
}
.header-mobile .mobile-header-center svg{
    width:22px;
    height:22px;
    fill:#24333c;
}
/* .header-mobile .mobile-header-center i.fa-bars {
    font-size: 27px;
} */
.header-mobile .mobile-header-center .fa-bars {
    width: 25px;
    height: 30px;
}
/* Video-ul din header (mobil) are acum width/height explicite ca sa rezerve spatiul;
   il pastram responsive. */
header video.sws {
    width: 100%;
    height: auto;
    display: block;
}
.sws-mini-cart > svg {
    fill: var(--dark-blue);
}
/* body:has(#helpModal.show) .modal-backdrop{
    opacity: 0;
} */
body .modal-backdrop{
    opacity: 0!important;
    transition: opacity 0s linear!important;
    z-index: -1;
}
body.modal-open{
    padding-right: 0!important;
    overflow-x: hidden!important;
    overflow-y: hidden!important;
} 
body.modal-open:has(#staticBackdrop.show){
    overflow: hidden!important;
}
#helpModal .modal-content{
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
    border:0;
}
.sws-help_btn a{
    cursor: pointer;
}
/* "INFORMATII" e un declansator de pop-up, deci e randat ca <button type="button">
   in loc de <a> fara href (audit "Links are crawlable"). Aici neutralizam stilul
   implicit de <button> ca sa arate identic cu celelalte item-uri <a> din user-menu. */
.sws-help_btn button.sws-help_btn-toggle{
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: inherit;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
}
/* Mobile menu */
.mobile-top-bar{
    background-color:#FBF6F2;
    font-weight: 500;
    font-size: 10px;
    line-height: 0.8rem;
}
.header-mobile .nav-tabs{
    background-color:#FBF6F2;
}
.header-mobile .nav-tabs > li{
    padding: 17px 15px;

}

.header-mobile .nav-tabs > li > a{
    color: var(--dark-blue);
    text-transform: uppercase;
    font-weight: 600;
    
}
.header-mobile .nav-tabs > li > a.active{
    /* color: var(--brown); */
    color:var(--dark-blue);
}
.header-mobile .nav-tabs > li:has(a.active)  {
    /* border-bottom:2px solid var(--brown); */
    border-bottom:2px solid var(--dark-blue);
}
#account.tab-pane li, #about.tab-pane li{
    padding: 17px 15px;
}
#account.tab-pane li:not(:last-child), #about.tab-pane li:not(:last-child){
    border-bottom: 1px solid #dee2e6;
}
#account.tab-pane li a, #about.tab-pane li a{
    text-transform: uppercase;
    font-weight: 600;
    color: var(--dark-blue);
}
/* OVERLAY */
.overlay {
    
    z-index: 99;
    overflow: auto;
    width: 100%;
    height: 100%;
    background: #ffffff;
}
.overlay .menu {
    width: 100%;
}
.overlay .menu ul {
    margin: 0;
    padding: 0;
    width: 100%;
}
.overlay .menu ul li {
    float: left;
    padding: 0;
    list-style: none;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: block;
    overflow: hidden;
    width: 100%;
}
.overlay .menu ul li.active .sub, .overlay .menu ul li.active .sub .lvl-two.active > .sub {
  position: absolute;
  left: 100%;
  top: 0;
  margin-top: 0;
  display:block;
}
.overlay .menu ul li .sub, .overlay .menu ul li.active .sub .lvl-two > .sub{
    display:none;
}
.overlay .menu ul li ul li ul.sub.move {
    transform: translateX(0%)!important;
}
.overlay .menu ul {
  overflow: hidden;
}
.overlay .menu ul li ul {
  overflow: visible;
}
.overlay .menu ul li ul {
  transform: translateX(0);
  transition: all 0.3s ease;
}
.overlay .menu ul li ul.move {
  transform: translateX(-100%);
}

.overlay .menu ul li a {
    color: var(--dark-blue);
}
#staticBackdrop .tab-pane ul li a {
    display: block;
}
.overlay .menu ul ul {
    position: relative;
}
.overlay .menu ul ul li {
    float: none;
    margin: 0;
    width: 100%;
    border: 0;
    padding: 17px 15px;
}
.overlay .menu ul ul li:not(:last-child){
    border-bottom: 1px solid #dee2e6;
}
.overlay .menu ul ul li a {
    text-transform: uppercase;
    font-weight: 600;

}
/* Toggle-urile de submeniu (.service-lvl-toggle) si butoanele "Inapoi" (.return-btn) din
   meniul mobil sunt <button> pentru accesibilitate, dar trebuie sa arate identic cu link-urile. */
.overlay .menu ul li button.service-lvl-toggle,
.overlay .menu ul li button.return-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--dark-blue);
    font: inherit;
    text-align: left;
    text-transform: uppercase;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.overlay .menu ul ul li button.service-lvl-toggle,
.overlay .menu ul ul li button.return-btn {
    font-weight: 600;
}
body .overlay .menu ul li .service-lvl .sub:has(.lvl-two.active){
    transform: translateX(-100%)!important;
  }
.header-mobile .modal-header .btn-close {
    position: absolute;
    right: 15px;
}
body .overlay .sub > .border-0{
    padding-top:20px;
    padding-bottom:20px;
}
/* body .header-mobile .mobile-header-center .overlay i{
    font-size: 13px;
} */
body .header-mobile .mobile-header-center .overlay svg{
    width: 13px;
    height: 13px;
}
/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .overlay .menu ul li {
        float: none;
        margin-bottom: 25px;
        width: 100%;
    }
    .overlay .menu ul li:last-child {
        border: 0;
    }
    body:not(.home) header#masthead {
        /* height: auto; */
        height: 140px;
    }

}
@media screen and (max-width: 991px) {
    body.home:has(.mobile-header-center.sticky) #site-header {
        margin-top: 82px;
    }
}

body.woocommerce-checkout:has(.mobile-header-center.sticky) .site-main{
    margin-top: 82px;
}

.header-center nav .sub-menu {
    background-color: #ffffff;
    border-top: 3px solid var(--dark-blue);
    padding: 20px;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    display:block;
}
.header-center nav .sub-menu li > a,
.header-center nav .sub-menu li > button.sws-submenu-toggle{
    padding-bottom: 0.3rem;
    font-weight: 500;
    /* font-size: 1.1em; */
    font-size:11.5px;
    font-family: 'Montserrat' !important;
 }

.header-center nav li:has(.sub-menu ) > a,
.header-center nav li:has(.sub-menu ) > button.sws-submenu-toggle {
    margin-bottom: 20px;
}

.header-center nav li:has(.sub-menu ) > a::after,
.header-center nav li:has(.sub-menu ) > button.sws-submenu-toggle::after{
    content: '';
    margin-left: .5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    width: 14px;
    height: 14px;
    display: inline-block;
}
/* .header-center nav li:has(.sub-menu ) > a::after{
    content: "\f078";
    font-family: stamped-font, FontAwesome, "Font Awesome 5 Pro", "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    speak: none;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .5rem !important;
} */
.megamenu > a::after {
    content: '';
    margin-left: .5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    width: 14px;
    height: 14px;
    display: inline-block;
}
/* .megamenu > a::after {
    content: "\f078";
    font-family: stamped-font, FontAwesome, "Font Awesome 5 Pro", "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    speak: none;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .5rem !important;
} */

/* Parintele de submeniu "Bijuterii din argint" e randat ca <button> pentru
   accesibilitate. Font, spatiere si sageata vin din ACELEASI reguli ca link-urile
   <a> de submeniu (selectorii de mai sus au fost extinsi sa includa si butonul).
   Aici doar neutralizam stilul implicit de <button> ca sa arate identic cu <a>. */
.header-center nav button.sws-submenu-toggle {
    display: block;
    width: 200px;            /* la fel ca ".main-navigation ul ul a" */
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit;
    text-align: left;
    text-transform: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
}
