/* header */

#header .header-row{
	background-color: #fff;
    border: 1px solid #CFCFCF;
    margin-bottom: 7px;
    border-left: 0;
    border-right: 0;
}
#header .loginbar{
    text-align: right;
/*     background: url('/img/loginbar-background.png') left top repeat-x; */
    background-image: linear-gradient(black, #828282);
    line-height: 33px;
    font-weight: 600;
    margin: 0;
    /* min-width: 1080px; */
    border: 0;
    /* text-transform: uppercase; */
    padding-right: 50px;
}

#header .loginbar .wrapper{
/*     background: url('/img/loginbar-background.png') left top repeat-x;
 */}
#header .loginbar > div > span{
    color:#b9b9b9;
    font-size: 13px;
}
#header .loginbar > div > span > a{
    color: #fff;
    padding:10px;
}
.header {
    height: 80px;
    border: 1px solid #CFCFCF;
    border-top: none;
    padding:10px 35px 10px 55px;
    margin: 0 0 7px 0;
    position: relative;
    z-index: 10;
}

#header .logo {
    float: left;
    height: 55px;
    margin: 13px 26px;
}


#header #cart-info{
    position: relative;
    margin: 13px 0;
    font-size: 12px;
    line-height: 1em;
    text-transform: uppercase;

}
#header #cart-info .info-text{
    display: inline;
}

#header #cart-info .info-text .col-1{
    float: left;
    margin-right: 15px;
    line-height: 1.2em;
}

#header #cart-info .info-text .col-1 > span{
    display: block;
    margin: 7px 0;
}


#header #cart-info .info-text .col-1 > span.contact{
    padding-top:0;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

#header #cart-info .info-text .col-1 > span.contact a{
    display: inline;
    float: none;
    line-height: 100%;
    padding: 0;
    background: transparent;
    color: inherit;
}

#header #cart-info .info-text .col-2{
    float: left;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-right: none;
    /*padding: 5px 15px 5px 25px;*/
    width: 155px;
    height: 60px;
    color: #4f4f4f;
}

#header #cart-info .info-text .col-2 .row-1, #header #cart-info .info-text .col-2 .row-2{
    display: block;
    padding: 5px 10px;
}

#header #cart-info .info-text .col-2 .row-1{
    background: #f1f1f1;
    border-bottom: 1px solid #d1d1d1;
}

#header #cart-info .info-text .col-2 .row-2 > span{
    display: block;
}
#header #cart-info .info-text .col-2 .row-2 > span.cart-total{
    display: block;
    margin: 0;
    border: 0;
    padding: 3px 0 0 0;
    font-weight: 600;
    font-size: 15px;
    overflow: hidden;
}
#header #cart-info  a{
    float: left;
    line-height: 50px;
    padding: 6px 10px 6px 10px;
    color: #fff;
    font-weight: 600;
    background: url('/img/cart-button-background.png') top left repeat-x;

}

#header .links .social-media-icons{
    float: right;
    line-height: 37px;
    padding: 6px 0;

}

#header .links .social-media-icons a{
    font-size: 0.1px;
    line-height: 0;
    height: 25px;
    width: 25px;
    padding:0 !important;
    z-index: 100;
    position: relative;
    margin-left: 10px;
    float: left;
    background: url('/img/icons-social-media-header.png') no-repeat;
}

#header .links .social-media-icons a.facebook{background-position: 0 0;}
#header .links .social-media-icons a.twitter{background-position: -25px 0;}
#header .links .social-media-icons a.instagram{background-position: -50px 0;}
#header .links .social-media-icons a.facebook:hover{background-position: 0 100%}
#header .links .social-media-icons a.twitter:hover{background-position: -25px 100%}
#header .links .social-media-icons a.instagram:hover{background-position: -50px 100%}
#header .links .social-media-icons a.tiktok{background-position: -75px 0;}
#header .links .social-media-icons a.tiktok:hover{background-position: -75px 100%}



#header #cart-info a:hover{
    background: #d0d0d0;
    color: #3b3b3b;
}
#header #cart-info img{
    position: absolute;
    left: 0;
    top: -12px;
    left: -25px;
}

#header .links{
    font-size: 13px;
    text-transform: uppercase;
    height: 37px;
    z-index: 100;
}

#header .links .menu{
    position: relative;
    z-index: 100;
}
#header .links .menu a{
    float: left;
    padding: 13px 16px;
    letter-spacing: 1px;
    line-height: 1em;
}
#header .links .menu a:hover{
    background: #ccc;
}

.header .header-content{
    position: absolute;
    top: 0;
    right: 0;
    left: 150px;
    height: 100px;
}
#language {
    position: absolute;
    top: 15px;
    left: 335px;
    width: 75px;
    color: #999;
    line-height: 17px;
}

#language img {
    cursor: pointer;
}


#currency {
    width: 75px;
    position: absolute;
    top: 15px;
    left: 425px;
    color: #999;
    line-height: 17px;
}
#currency a {
    display: inline-block;
    padding: 2px 4px;
    border: 1px solid #CCC;
    color: #999;
    text-decoration: none;
    margin-right: 2px;
    margin-bottom: 2px;
}
#currency a b {
    color: #000;
    text-decoration: none;
}

.header #cart {
    position: absolute;
    top: 0px;
    right: 145px;
    z-index: 9;
    min-width: 300px;
}
.header #cart .heading {
    float: right;
    margin-right: 172px;
    margin-top: 15px;
    padding-left: 14px;
    padding-right: 14px;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #EEEEEE;
    background: #FFF;
    position: relative;
    z-index: 1;
}

.header #cart .heading h4 {
    color: #333333;
    font-size: 15px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 3px;
}
.header #cart .heading a {
    color: #38B0E3;
    text-decoration: none;
}
.header #cart .heading a span {
    background: #FFFFFF url('/img/arrow-down.png') 100% 50% no-repeat;
    padding-right: 15px;
}

.header #cart .content {
    clear: both;
    display: none;
    position: relative;
    top: -1px;
    padding: 8px;
    min-height: 150px;
    border-top: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
    border-right: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    -webkit-border-radius: 0px 7px 7px 7px;
    -moz-border-radius: 0px 7px 7px 7px;
    -khtml-border-radius: 0px 7px 7px 7px;
    border-radius: 0px 7px 7px 7px;
    -webkit-box-shadow: 0px 2px 2px #DDDDDD;
    -moz-box-shadow: 0px 2px 2px #DDDDDD;
    box-shadow: 0px 2px 2px #DDDDDD;
    background: #FFF;
}

.header #cart.active .heading {
    margin-top: 5px;
    padding-top: 10px;
    padding-bottom: 6px;
    border-top: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
    border-right: 1px solid #EEEEEE;
    -webkit-border-radius: 7px 7px 0px 0px;
    -moz-border-radius: 7px 7px 0px 0px;
    -khtml-border-radius: 7px 7px 0px 0px;
    border-radius: 7px 7px 0px 0px;
}
.header #cart.active .content {
    display: block;
}

.mini-cart-info table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 5px;
}
.mini-cart-info td {
    color: #000;
    vertical-align: top;
    padding: 10px 5px;
    border-bottom: 1px solid #EEEEEE;
}
.mini-cart-info .image {
    width: 1px;
}
.mini-cart-info .image img {
    border: 1px solid #EEEEEE;
    text-align: left;
}
.mini-cart-info .name small {
    color: #666;
}
.mini-cart-info .quantity {
    text-align: right;
}
.mini-cart-info td.total {
    text-align: right;
}
.mini-cart-info .remove {
    text-align: right;
}
.mini-cart-info .remove img {
    cursor: pointer;
}
.mini-cart-total {
    text-align: right;
}
.mini-cart-total table {
    border-collapse: collapse;
    display: inline-block;
    margin-bottom: 5px;
}
.mini-cart-total td {
    color: #000;
    padding: 4px;
}
.header #cart .checkout {
    text-align: right;
    clear: both;
}
.header #cart .empty {
    padding-top: 50px;
    text-align: center;
}
.header .search {
    position: absolute;
    top: 25px;
    right: 0px;
    width: 298px;
    z-index: 15;
}
.header .button-search {
    position: absolute;
    left: 0px;
    background: url('/img/button-search.png') center center no-repeat;
    width: 28px;
    height: 24px;
    border-right: 1px solid #CCCCCC;
    cursor: pointer;
}
.header .search input {
    background: #FFF;
    padding: 1px 1px 1px 33px;
    width: 262px;
    height: 21px;
    border: 1px solid #CCCCCC;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -khtml-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    -webkit-box-shadow: 0px 2px 0px #F0F0F0;
    -moz-box-shadow: 0px 2px 0px #F0F0F0;
    box-shadow: 0px 2px 0px #F0F0F0;
}
.header #welcome {
    position: absolute;
    top: 5px;
    right: 0px;
    z-index: 5;
    width: 298px;
    text-align: right;
    color: #999999;
}
.header .links {
    position: absolute;
    right: 0px;
    bottom: 3px;
    font-size: 10px;
    padding-right: 10px;
}
.header .links a {
    float: left;
    display: block;
    padding: 0px 0px 0px 7px;
    color: #38B0E3;
    text-decoration: none;
    font-size: 12px;
}
.header .links a + a {
    margin-left: 8px;
    border-left: 1px solid #CCC;
}



.search-wrapper {
    /* position: relative; */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
    color: #333;
}

.search-input:focus {
    border-color: #e31837;
    box-shadow: 0 0 10px rgba(227, 24, 55, 0.1);
    outline: none;
    background-color: #fff;
}

.search-input::placeholder {
    color: #999;
    font-weight: 300;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #e31837;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    background: url('/img/cart-button-background.png') top left repeat-x;


}

.search-button:hover {
    background: #c41230;
}

.search-icon {
    fill: #ffffff;
    transition: transform 0.2s ease;
}

.search-button:hover .search-icon {
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-input {
        font-size: 14px;
        padding: 10px 40px 10px 15px;
    }
}



/* Popular Searches */
.popular-searches {
  padding: 10px 0;
}

.popular-search-link {
  display: inline-block;
  margin: 5px 10px 5px 0;
  padding: 5px 12px;
  background: #f5f5f5;
  border-radius: 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.popular-search-link:hover {
  background: #e0e0e0;
  color: #000;
}

.popular-search-link .search-count {
  color: #666;
  font-size: 0.9em;
  margin-left: 5px;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.suggestions-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    background: #f8f8f8;
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f8f8;
}

.suggestion-icon {
    color: #999;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.suggestion-icon svg {
    width: 16px;
    height: 16px;
    fill: #999;
}

.suggestion-text {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.suggestion-count {
    color: #999;
    font-size: 12px;
    margin-left: 8px;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Randul de asteptare cat vin sugestiile semantice (integrarea 21).
   Daca nexus nu raspunde, randul dispare fara niciun mesaj - fallback tacut. */
.suggestion-item.suggestion-loading {
    cursor: default;
    color: #999;
}

.suggestion-item.suggestion-loading:hover {
    background: transparent;
}

.nexus-spinner {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border: 2px solid #e5e5e5;
    border-top-color: #9333ea;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
    animation: nexus-spin .6s linear infinite;
}

@keyframes nexus-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .nexus-spinner { animation-duration: 2s; }
}

/* Scor de la cautarea semantica nexus - se trimite DOAR catre admini (integrarea 21) */
.suggestion-nexus {
    color: #6b21a8;
    font-size: 11px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    margin-left: 8px;
    background: rgba(147, 51, 234, .12);
    border: 1px solid rgba(147, 51, 234, .35);
    padding: 1px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Scrollbar styling for suggestions */
.search-suggestions::-webkit-scrollbar {
    width: 8px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Modern Header Styles */
.header-row {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 0 0 165px;
    margin: 2px 26px;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.header-contact a {
    text-decoration: none;
    margin-left: 5px;
}

.header-contact a:hover {
    color: #000;
}

.header-cart {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.header-cart:hover {
    background: #e9e9e9;
}

.cart-info {
    margin-left: 10px;
    color: #333;
}

.cart-count {
    font-size: 13px;
    color: #666;
}

.cart-total {
    font-weight: 500;
    color: #333;
    margin-left: 5px;
}

@media (max-width: 991px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        flex: 0 0 100%;
        margin: 15px 0 0;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .header-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-contact {
        font-size: 13px;
    }
}


/* Shopping Cart Comparison Box */
.header-cart-comparison {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #333;
}

.header-cart-comparison:hover {
    border-color: #ccc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-comparison-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.cart-comparison-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.cart-comparison-details {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.cart-comparison-count {
    color: #333;
    font-size: 14px;
}

.cart-comparison-price {
    color: #D91E18;
    font-size: 14px;
    font-weight: 600;
}

.cart-comparison-button {
    display: inline-flex;
    align-items: center;
    background: #D91E18;
    color: white !important;
    padding: 18px 18px;
    border-radius: 2px;
    font-weight: 500;
    margin-left: 15px;
    background: url('/img/cart-button-background.png') top left repeat-x;

}

.cart-comparison-button:hover {
    background: #c01b15;
}
.bcn-button {
    display: inline-flex;
    align-items: center;
    background: #D91E18;
    color: white ;
    padding: 18px 18px;
    border-radius: 2px;
    font-weight: 500;
    margin-left: 15px;
    background: url('/img/cart-button-background.png') top left repeat-x;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
}
.bcn-button:hover {
    background: #d0d0d0;
    color: #3b3b3b;
}
/* =================================================================
   ACCOUNT DROPDOWN IN HEADER
   ================================================================= */

/* Account dropdown wrapper */
.account-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.account-link {
    color: #fff !important;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    pointer-events: none;
}

.account-dropdown-wrapper:hover .account-dropdown,
.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-dropdown ul li {
    margin: 0;
    padding: 0;
    --tw-border-opacity: 1;
    border-bottom: 1px solid rgb(199 199 199 / var(--tw-border-opacity));
}

.account-dropdown ul li:last-child {
    border-bottom: none;
}

.account-dropdown ul li.divider {
    height: 0;
    border-bottom: 2px solid rgb(199 199 199 / var(--tw-border-opacity));
    padding: 0;
    margin: 0;
}

.account-dropdown ul li a {
    display: block;
    padding: 4px 18px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
}

.account-dropdown ul li a:hover {
    background-color: #f8f9fa;
    padding-left: 22px;
}

.account-dropdown ul li a.logout-link {
    color: #dc3545;
    font-weight: 500;
}

.account-dropdown ul li a.logout-link:hover {
    background-color: #fff5f5;
}

/* Hide icons in dropdown */
.account-dropdown ul li a i {
    display: none;
}

/* =================================================================
   WISHLIST / FAVORITE IN HEADER - PROFESSIONAL STYLE
   ================================================================= */

.wishlist-wrapper {
    margin-right: 15px;
}

.header-wishlist-comparison {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.header-wishlist-comparison:hover {
    border-color: #ccc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wishlist-comparison-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.wishlist-comparison-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.wishlist-comparison-details {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.wishlist-comparison-count {
    color: #333;
    font-size: 14px;
}

.wishlist-comparison-button {
    display: inline-flex;
    align-items: center;
    background: #D91E18;
    color: white !important;
    padding: 18px 18px;
    border-radius: 2px;
    font-weight: 500;
    background: url('/img/cart-button-background.png') top left repeat-x;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
}

.wishlist-comparison-button:hover {
    background: #c01b15;
    text-decoration: none;
    color: white !important;
}

.wishlist-button-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #D91E18;
    border: 2px solid #D91E18;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

@media (max-width: 991px) {
    .wishlist-wrapper {
        margin-right: 10px;
    }
    
    .wishlist-comparison-info {
        display: none;
    }
    
    .header-wishlist-comparison {
        padding: 10px;
    }
    
    .wishlist-comparison-button {
        padding: 12px;
        margin-left: 0;
        font-size: 0;
    }
    
    .wishlist-comparison-button svg {
        margin-right: 0 !important;
    }
}


