/* ============================================================
   MEGA-MENU  ·  cgr.dk
   Kun desktop. Under 1080 px roerer den ikke den almindelige menu.
   ============================================================ */

.mm-vaert { position: relative; }

.mm-panel {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 900;
    background: #ffffff;
    border-top: 3px solid #C8412B;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    pointer-events: none;
}
.mm-panel.mm-aaben {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mm-inder {
    max-width: 1300px;
    margin: 0 auto;
    padding: 26px 24px 28px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}
.mm-inder.mm-uden-tilbud { grid-template-columns: 1fr; }

/* ---------- Venstre side: genvejene ---------- */
.mm-titel {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #9aa2aa;
    margin-bottom: 14px;
    font-weight: 600;
}
.mm-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mm-liste li { margin: 0; }
.mm-liste a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 10px !important;
    border-radius: 9px;
    text-decoration: none;
    color: #15181C !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background .14s;
    border: none !important;
}
.mm-liste a:hover { background: #FBF0ED; color: #C8412B !important; }
.mm-liste a:hover .mm-lab { color: #C8412B; }

.mm-ikon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #E4E8EC;
    background: #F7F8F9 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mm-ikon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-ikon span {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 17px;
    color: #C8412B;
    line-height: 1;
}
.mm-tekst { min-width: 0; line-height: 1.3; }
.mm-lab { display: block; font-weight: 600; color: #15181C; }
.mm-und { display: block; font-size: 12px; color: #79808A; margin-top: 2px; }

/* ---------- Højre side: tilbuddet ---------- */
.mm-tilbud {
    background: #15181C;
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}
.mm-tilbud-hoved {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.mm-badge {
    display: inline-block;
    background: #C8412B;
    color: #fff;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}
.mm-prikker { display: flex; gap: 5px; }
.mm-prik {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    border: none; padding: 0; cursor: pointer;
    transition: background .2s, width .2s;
}
.mm-prik.mm-nu { background: #C8412B; width: 16px; border-radius: 3px; }

.mm-kort {
    display: block;
    text-decoration: none;
    color: #fff !important;
    flex: 1;
}
.mm-kort-bill {
    width: 100%;
    height: 118px;
    border-radius: 8px;
    background: #21262b center/cover no-repeat;
    margin-bottom: 11px;
    overflow: hidden;
}
.mm-kort-bill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-maerke {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 10.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #C8412B;
}
.mm-kort-titel {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    margin: 3px 0 5px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mm-kort-tekst { font-size: 12px; color: #9aa2aa; line-height: 1.5; }
.mm-pris {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 21px;
    color: #fff;
    margin-top: 9px;
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}
.mm-pris s { font-size: 13px; color: #79808A; font-family: 'Barlow', Arial, sans-serif; }
.mm-pris em { font-style: normal; font-size: 11px; color: #79808A; font-family: 'Barlow', Arial, sans-serif; }
.mm-se {
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #C8412B;
    letter-spacing: .3px;
}
.mm-fade { animation: mmind .28s ease; }
@keyframes mmind { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Pil i menupunktet ---------- */
.mm-pil {
    display: inline-block;
    width: 9px; height: 9px;
    margin-left: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: .55;
    transition: transform .18s;
}
.mm-vaert.mm-aktiv .mm-pil { transform: rotate(-135deg) translate(-3px, -3px); opacity: 1; }

/* ---------- Kun desktop ---------- */
@media (max-width: 1080px) {
    .mm-panel { display: none !important; }
    .mm-pil { display: none; }
}
@media (max-width: 1240px) {
    .mm-liste { grid-template-columns: repeat(2, 1fr); }
}
