/* --- Sticky footer --- */
html, body {
    height: 100%;
    padding-left: 0;
    margin-left: 0;
}

body {
    display: flex;
    flex-direction: column;
    
}

footer {
    flex-shrink: 0; /* Sørger for at footer ikke krymper */
}


.navbar .nav-link,
.navbar-logo-text {
    white-space: nowrap; /* Forhindrer linjeskift */
}


/* --- Navbar --- */
/* Reducer højden på navbar */
.navbar {
    width: 100%;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    background-color: #031545 !important;
}

.navbar .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}









.navbar .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #ffffff !important;
    transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #dbe3ff !important;
}

.navbar .navbar-brand {
    margin-left: 10px;
    padding-left: 0;
}

.navbar-logo-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
}



.navbar .navbar-brand img {
    max-height: 50px;
    height: auto;
}


.border-end {
    border-right: 1px solid #031545 !important;
}

/*
.site {
    background: #001e61;
}

/*



/* --- Containers --- */
.container, .container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    
}

/* --- Sidebar --- */
#sidebar {
    min-height: calc(100vh - 60px); /* Træk navbar højde fra */
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
     color: #001e61;
}

aside.col-md-3 {
    padding-top: 0;
}

/* --- Webshop kategorier --- */
#webshop-categories {
    margin-top: 0;
    flex-grow: 1;
    overflow-y: auto;
    padding: 0;
   
}

#webshop-categories li {
    margin-bottom: 4px;
    list-style: none;
    
}

#webshop-categories a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    color:  #001e61;
}

#webshop-categories a:hover,
#webshop-categories a.active {
    background-color: #003080;
    color: #ffffff;
}

/* --- Produktliste --- */
.webshop-product-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.webshop-product-item img {
    max-width: 80px;
    height: auto;
}

.webshop-product-item h6 {
    margin-bottom: 4px;
}

.webshop-product-item .button {
    white-space: nowrap;
}
