/* kurv2.css */ 

/* kurv_mini.php style start */
body {
    font-family: Arial, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #333;
}

.kurv-container {
    padding: 8px;
    text-align: center;
}

/* Når kurven er tom – ikon over teksten */
.kurv-tom {
    background: linear-gradient(145deg, #EBF0F1, #d9e2e6);
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px 15px;
    color: #555;
    font-style: italic;
    font-size: 14px;
    display: flex;
    flex-direction: column; /* ikon over tekst */
    align-items: center;
    justify-content: center;
    gap: 8px; /* afstand mellem ikon og tekst */
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

/* Animation til kurv-ikon */
@keyframes hop {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-6px); }
    50%  { transform: translateY(0); }
    75%  { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

.kurv-tom .ikon {
    font-size: 28px; /* større ikon */
    display: inline-block;
    animation: hop 1.5s ease-in-out infinite;
}

/* Hover-effekt */
.kurv-tom .ikon:hover {
    color: #0070ba;
    transform: scale(1.2);
    transition: transform 0.2s, color 0.2s;
}

/* Liste med varer */
.kurv-liste {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #EBF0F1;
    padding: 6px;
    text-align: left;
}

/* Hver vare, kun én linje */
.kurv-item {
    padding: 6px 4px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #EBF0F1;
    border: 1px solid #E1E1E1;
    white-space: nowrap;       /* én linje */
    overflow: hidden;          /* skjul overskydende tekst */
    text-overflow: ellipsis;   /* tilføj ... */
}
.kurv-item:last-child {
    margin-bottom: 0;
}

.kurv-item a {
    text-decoration: none;
    color: #0070ba;
    font-weight: 500;
}
.kurv-item a:hover {
    text-decoration: underline;
}

/* Total */
.kurv-total {
    margin-top: 8px;
    font-weight: bold;
    color: #000080;
    background: #EBF0F1;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Footer-knap */
.kurv-footer {
    margin-top: 10px;
}
.kurv-footer a {
    display: inline-block;
    padding: 6px 12px;
    background: #0070ba;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: background 0.2s;
}
.kurv-footer a:hover {
    background: #005c99;
}
/* kurv_mini.php style stop */