/* 1. HEADER GRUNDSTIL */
header {
    background-color: var(--bg-darkblue);
    min-height: 120px;
}

/* 2. NAVIGATION (Holdt helt simpel) */
.nav-link {
    color: #fff;
    font-size: 0.85em;
    text-decoration: none; /* Sikrer ingen streg under links */
}

.nav-link:hover {
    color: var(--tech-green) !important;
}

/* 3. FLEX LAYOUT (Det nye system) */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-top-item {
    display: flex;
    align-items: center;
}

.header-left { flex: 1; justify-content: flex-start; }
.header-center { flex: 2; justify-content: center; max-width: 300px;}
.header-right { flex: 1; justify-content: flex-end; }

/* 4. SØGEGRUPPE (Samlet og ryddet op) */
.search-group {
    display: flex;
    width: 100%;
    max-width: 500px; /* Styres her centralt nu */
}

.search-input {
    flex: 1;
    padding: 0.375rem 0.75rem;
    font-size: 0.85em;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-right: none; /* Fjernet kommentaren og aktiveret den */
    border-radius: 8px 0 0 8px; /* Kun runde hjørner til venstre */
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    outline: none;
}

.search-input:focus {
    box-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.search-btn {
    padding: 0.375rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0 8px 8px 0; /* Kun runde hjørner til højre */
    cursor: pointer;
    transition: all 0.2s;
	font-size: 0.8em;
}

.search-btn:hover {
    background-color: #e2e6ea;
	font-size:0.8em;
}

/* 5. KURV & BADGE */
.btn-cart {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #f8f9fa;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.btn-cart:hover {
    background-color: #e2e6ea;
    transform: scale(1.08); 
}

.cart-mini {
    background-color: var(--tech-green);
    color: #fff;
    margin-left: 0.5rem;
    border-radius: var(--border-radius); 
    text-align: center;
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    min-width: 25px;
    transition: transform 0.2s;
}