/* ================================================= 
   2. ANTETUL SITE-ULUI (HEADER) & ELEMENTE PE UN SINGUR RÂND
   ================================================= */
.site-header {
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link-image {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-img {
    height: auto;
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul, 
.main-navigation .menu-list {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

.main-navigation a:hover, 
.main-navigation a.active, 
.main-navigation .current-menu-item > a {
    color: #1976d2;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1976d2;
    transition: width 0.25s ease-in-out;
    border-radius: 2px;
}

.main-navigation a:hover::after, 
.main-navigation a.active::after, 
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Bara de Căutare Produse */
.header-search {
    position: relative;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 6px 12px;
    width: 280px;
    transition: border-color 0.2s ease;
}

.header-search:hover, 
.header-search:focus-within {
    border-color: #1976d2;
}

.header-search form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.search-btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #718096;
}

.search-btn-icon:hover {
    color: #1976d2;
}

.header-search input[type="text"],
.header-search input[type="search"] {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13px;
    color: #333;
    font-family: 'Outfit', sans-serif;
}

.header-search input[type="text"]::placeholder,
.header-search input[type="search"]::placeholder {
    color: #718096;
}

/* Autentificare & Coș */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: color 0.2s ease;
    padding: 4px;
}

.header-icon-link:hover {
    color: #1976d2;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: #e53e3e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Meniul Hamburger Mobil */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    z-index: 101;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a365d;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}