/* =========================================================
   VARIABLES / RESET 2255
   ========================================================= */
:root{
    --content-width: 1100px;

    --accent: #f4f0e9;
    --accent-strong: #f8f1e6;
    --brand: #222;
    --muted: #6b6b6b;

    --section-spacing: 75px;
    --section-padding: 50px;

    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after{
    box-sizing: border-box;
}

body{
    margin: 0;
    color: var(--brand);
    background: #fff;
    overflow-x: hidden;
}

main h1 {
    color: #00344E;
    padding-left: 20px;
    display: block;
    max-width: var(--content-width);
    width: 100%;
    box-sizing: border-box;
}

.mobile-header{
    display: none;
}

/* =========================================================
   LAYOUT (SIDEBAR + CONTENT)
   ========================================================= */
.wrap{
    display: flex;
    min-height: 100vh;
}

.wrap > main{
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   GENERELLE SEKTIONER
   ========================================================= */
section{
    width: 100%;
}

.section-inner,
.content-inner{
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.wrap > main > section{
    margin-bottom: var(--section-spacing);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary{
    background-color: #222;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover{
    opacity: 0.9;
}

.btn-secondary{
    color: #222;
    text-decoration: underline;
    font-size: 0.95rem;
}
.login-btn{margin-top:12px;padding:8px 10px;border-radius:6px;background:#222;color:#fff;text-decoration:none;font-size:12px;transition:background-color .2s ease}
    .login-btn:hover{background:#444}

.cta{display:block;margin:24px auto 0;padding:10px 18px;background:#222;color:white;border-radius:6px;width:120px;text-align:center;text-decoration:none}

/* =========================================================
   BURGER MENU ICON (samme som style.css)
   ========================================================= */
.burger-btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 40px;
    height: 40px;

    background: none;
    border: none;
    padding: 0;

    cursor: pointer;
}

.burger-btn span{
    display: block;
    width: 22px;
    height: 2px;
    background: #222;
    border-radius: 2px;
}


/* =========================================================
   JUMBOTRON
   ========================================================= */
.jumbotron{
    background-color: #ecf2e4;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.jumbotron-inner{
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 80px var(--section-padding);
}

.jumbotron h1{
    margin-top: 0;
}

/* =========================================================
   RECIPE CAROUSEL
   ========================================================= */
.recipe-carousel{
    position: relative;
    width: var(--content-width);
    margin: 0 auto 60px;
}

.carousel-track-wrapper{
    overflow: hidden;
    width: var(--content-width);
    margin: 0 auto;
}

.carousel-track{
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.45s ease;
}

.carousel-slide{
    flex: 0 0 365px;
}

.carousel-slide .card{
    width: 365px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--card-shadow, 0 6px 18px rgba(0,0,0,0.08));
}

.carousel-slide img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.carousel-slide a{
    text-decoration: none;
    color: var(--brand);
}

.card-body{
    padding: 14px;
}

.card-body h3{
    margin: 6px 0;
    font-size: 18px;
}

.card-body p{
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* =========================================================
   CAROUSEL BUTTONS
   ========================================================= */
.carousel-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.85);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.recipe-carousel .prev{ left: -20px; }
.recipe-carousel .next{ right: -20px; }

/* =========================================================
   HOW
   ========================================================= */
.how{
    background: var(--accent);
    margin: var(--section-spacing) 0;
}

.how-inner{
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.how-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.how-item img{
    max-width: 100%;
    display: block;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar{
    width: 120px;
    background: #fbfbfb;
    border-right: 1px solid #eee;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo{
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.logo a{
    text-decoration: none;
    color: #122F53;
}

.nav{
    flex: 1;
    width: 100%;
}

.nav a{
    display: block;
    height: 50px;
    padding: 12px 8px;
    margin: 6px 0;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
    border-bottom: 1px solid #eee;
    transition: background-color .2s ease, color .2s ease;
}

.nav a:hover{
    background: #ecf2e4;
    color: #222;
}

/* =========================================================
   HOW IT WORKS – RESPONSIVE
   ========================================================= */

.how-section {
    /*display: flex;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 20px;*/ 

    background: var(--accent);
    margin: var(--section-spacing) 0;
}

.how-section h1 {
    color: #00344E;
    padding-left: 20px;
    display: block;
    width: var(--content-width);
    margin: 0 auto;
}

.how-text {
    flex: 1;
    min-width: 320px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.how-accent {
    background: var(--accent);
    padding: 16px 24px;
    border-radius: 6px;
}

.how-media {
    flex: 1;
    min-width: 320px;
}

.how-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
}


/* =========================================================
   ABOUT – RESPONSIVE
   ========================================================= */

.about-section {
    /*display: flex;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 20px;*/ 

    background: var(--accent);
    margin: var(--section-spacing) 0;
}

.about-section h1 {
    color: #00344E;
    padding-left: 20px;
    display: block;
    width: var(--content-width);
    margin: 0 auto;
}

.about-text {
    flex: 1;
    min-width: 320px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.about-accent {
    background: var(--accent);
    padding: 16px 24px;
    border-radius: 6px;
}

.about-media {
    flex: 1;
    min-width: 320px;
}

.about-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
}

/*=============================================
     FAQ
================================================*/
.faq-section {
        max-width: 900px;
        margin: 0;
        padding-left: 20px;
        margin: 0 auto;
    }

    .faq-card {
        background: #f8faf5; /* fbfbfb */
        border-radius: 10px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.04);
        margin-bottom: 24px;
        overflow: hidden;
    }

    .faq-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .faq-header h2 {
        font-size: 16px;
        margin: 0;
        color: #00344E;
    }

    .faq-edit-link {
        font-size: 13px;
        color: #0067b8;
        text-decoration: none;
    }

    .faq-row {
        display: grid;
        grid-template-columns: 220px 200px 1fr 30px;
        align-items: center;
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }
/* account start */
    .account-section {
        max-width: 900px;
        margin: 0;
        padding-left: 20px;
    }

    .account-card {
        background: #f8faf5; /* fbfbfb */
        border-radius: 10px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.04);
        margin-bottom: 24px;
        overflow: hidden;
    }

    .account-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .account-header h2 {
        font-size: 16px;
        margin: 0;
        color: #00344E;
    }

    .edit-link {
        font-size: 13px;
        color: #0067b8;
        text-decoration: none;
    }

    .account-row {
        display: grid;
        grid-template-columns: 220px 200px 1fr 30px;
        align-items: center;
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }
    .account-rowy {
        display: grid;
        grid-template-columns:
            1.1fr   /* navn */
            0.6fr   /* dage */
            0.6fr   /* start */
            1fr     /* deltagere */
            0.6fr   /* rediger */
            0.6fr;  /* aktiv/inaktiv */
        align-items: center;
        gap: 12px;
        padding: 10px 0 10px 0;
        border-bottom: 1px solid #eee;
    }

    .account-row:last-child {
        border-bottom: none;
    }

    .label {
        color: #555;
    }

    .value {
        font-weight: 600;
        color: #111;
    }

    .hint-wrapper {
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .hint {
        font-size: 12px;
        color: #777;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hint2 {
        font-size: 12px;
        color: #777;
        flex: 0 0 auto;
        margin-left: 8px;
        position: relative;
        z-index: 2;
    }


    .arrow {
        text-align: right;
        font-size: 18px;
        color: #999;
    }

    .action-link a {
        font-size: 12px;
        color: #0067b8;
        text-decoration: none;
    }

    .account-footer {
        padding: 12px 20px;
        font-size: 13px;
    }

    .account-footer .link,
    .account-footer a {
        color: #0067b8;
        text-decoration: none;
        margin-right: 12px;
    }

    .related {
        font-weight: 600;
        margin-right: 8px;
    }

    .account-links a {
        margin-right: 16px;
    }
    /* ===== CAMP MODAL – FIX ===== */

    .account-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 12000;
    }

    .account-modal-overlay.active {
        display: flex;
    }

    .account-modal {
        background: #fff;
        padding: 24px;
        border-radius: 12px;
        width: 100%;
        max-width: 480px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
        position: relative;
    }

    .account-modal form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-modal-actions {
        display: flex;
        gap: 12px;
        margin-top: 16px;
    }

    .account-modal-close {
        position: absolute;
        top: 12px;
        right: 14px;
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
    }

        /* account slut */
    /* recipe */
        .recipes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;

        max-width: 1130px;
        margin: 0 auto;
        padding-top: 20px;
    }


    .recipe-pills {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-bottom: 24px;
        margin: 0 auto;
    }

    .pill {
        padding: 8px 18px;
        border: 1.5px solid #000;
        border-radius: 999px;
        font-size: 14px;
        background: #fff;
        color: #000;
        text-decoration: none;
        white-space: nowrap;
    }

    .pill.active {
        background: #000;
        color: #fff;
    }



    .pagination-wrapper {
        text-align: center;
        margin: 40px 0 60px;
    }

    .pagination a {
        display: inline-block;
        padding: 8px 14px;
        margin: 0 4px;
        border: 1px solid #ccc;
        border-radius: 50%;
        text-decoration: none;
        color: #333;
    }

    .pagination a.active {
        background: #333;
        color: #fff;
    }
    .recipe-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .recipe-card {
            position: relative;
            border: 1px solid #ddd;
            border-radius: 6px;
            overflow: hidden;
            background: #fff;
            width: 320px;
        }

        .recipe-card img {
            width: 100%;
            display: block;
        }

        .recipe-title {
            padding: 12px;
            font-weight: 600;
        }

        .recipe-title a{
            text-decoration: none;
        }

        .recipe-overlay {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(255,255,255,0.95);
            padding: 6px 8px;
            border-radius: 4px;
    z-index: 10;
        }

        .recipe-overlay input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

        .modal {
    position: fixed;
    inset: 0;
    display: flex;              /* ⬅️ VIGTIG */
    align-items: center;        /* lodret centrering */
    justify-content: center;    /* vandret centrering */
    background: rgba(0,0,0,.4);
    z-index: 9999;
}

.recipe-image-wrapper img {
    display: block;
}
/*.recipe-image {
    max-width: 1100px;
    width: 100%;
    height: 420px;
    margin: 0 auto 24px auto;
    overflow: hidden;
}

    .recipe-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }*/
.page-header {
    margin: 0 auto;
}
.page-title {
    margin: 0 auto;
}
.page-subtitle {
    margin: 0 auto;
}
.page-container {
    /*display: flex;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 20px;*/ 

    /*background: var(--accent);*/
    margin: var(--section-spacing) 0;
}
.page-container h1 {
    color: #00344E;
    padding-left: 20px;
    display: block;
    width: var(--content-width);
    margin: 0 auto;
}
.recipe-image {
    flex: 1;
    min-width: 320px;
}

.recipe-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 6px;
}

      .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
        align-items: start;
        width: var(--content-width);
        margin: 0 auto;
    }
    /* Override card width ONLY in recipe view */
.content-grid .card {
    width: 100%;
}
.ingredients-card{
    background-color: #ecf2e4;
}


.modal-content {
    background: #fff;
    padding: 20px;
    width: 300px;
    max-width: calc(100% - 40px);
    border-radius: 6px;
}
/* =========================================================
   MEALPLAN – ENDGYLDIG FIX TIL meal-plan.php
   ========================================================= */
.day-selector {
        display: inline-flex;
        background: #6c757d;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .day-btn {
        background: transparent;
        border: none;
        color: #fff;
        padding: 8px 16px;
        cursor: pointer;
        font-weight: 500;
    }

    .day-btn:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.3);
    }

    .day-btn.active {
        background: #495057;
    }
section.mealplan {
    max-width: var(--content-width);
    margin: 0 auto 40px;
    padding: 0 20px;
}

/* Dag-wrapper */
.mealplan-day {
    margin-top: 24px;
}

/* === Måltids-kort (Morgenmad, Frokost osv.) === */
.mealplan-meal {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;

    background: #eef3f6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

/* Lodret måltidstype */
.mealplan-meal-type {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;

    font-weight: 600;
    letter-spacing: 1px;
    color: #00344E;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Rækker === */
.mealplan-row {
    grid-column: 2;

    display: grid;
    grid-template-columns: 80px 1fr 90px 36px;
    align-items: center;
    gap: 14px;

    padding: 10px 0;
}

.mealplan-row:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Billede */
.mealplan-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

/* Tekst */
.mealplan-text h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.mealplan-text h3 a {
    color: #5a2bd8;
    text-decoration: none;
}

.mealplan-text p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* Portioner */
.mealplan-portions {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

/* Slet */
.mealplan-delete {
    text-align: center;
}

.mealplan-delete i {
    color: #c0392b;
    font-size: 16px;
}

/**/
.recipe-image-wrapper { position: relative; }
.season-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
}
.season-full    { background: #2e7d32; }
.season-partial { background: #f9a825; }
.season-none    { background: #c62828; }
.info-text  {margin: 0 auto; padding: 0 0 16px 0;}

.actions {display: block; margin: 0 auto;}

/*=======================================
CAMP
 ========================================*/
.camp-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)  /* navn – må krympe */
        auto            /* mængde */
        auto            /* enhed */
        auto;           /* afdeling */

    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.camp-row__label {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camp-row__value {
    text-align: right;
    white-space: nowrap;
}

.camp-row__unit,
.camp-row__dept {
    white-space: nowrap;
    font-size: 0.8rem;
    opacity: 0.75;
}


/* =========================================================
   SITE FOOTER (DESKTOP UÆNDRET)
   ========================================================= */
.site-footer{
    position: relative;
    margin-top: auto;
    background-color: #e0e9d3;
    border-top: 1px solid rgba(0,0,0,0.06);
    max-width: 100%;
    overflow-x: hidden; /* 🔒 kun sikkerhed */
}

.footer-inner{
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.footer-columns{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h3{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.footer-col p{
    margin: 0;
    line-height: 1.6;
    color: #374151;
    font-size: 14px;
}

.footer-col ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li{
    margin-bottom: 8px;
}

.footer-col a{
    color: #1f4d7a;
    text-decoration: none;
    font-size: 14px;
}

.footer-col a:hover{
    text-decoration: underline;
}

.footer-bottom{
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
    font-size: 13px;
    color: #4b5563;
}

.site-footer > .footer-inner{
    width: 100%;
    max-width: 100%;
    margin: 0;
}




/* =========================================================
   MOBIL
   ========================================================= */
@media (max-width: 768px){
    .wrap{
        display: block; /* 🔑 slår flex fra på mobil */
    }

    .wrap > main{
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    .mobile-header{
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 56px;
        padding: 0 16px;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 11000;
    }

    .sidebar{
        position: fixed;
        top: 0;
        left: -260px;
        width: 240px;
        height: 100vh;
        background: #fbfbfb;
        border-right: 1px solid #eee;
        padding-top: 72px;
        transition: left 0.3s ease;
        z-index: 11001;
    }

    .sidebar.open{ left: 0; }

    .mobile-overlay{
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 11000;
    }

    .mobile-overlay.show{
        opacity: 1;
        pointer-events: auto;
    }

    .wrap > main{
        padding-top: 56px;
    }

    .jumbotron-inner,
    .content-inner,
    .how-inner,
    .footer-inner{
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 24px;
    }

    .jumbotron h1{
        margin-left: -10px;
    }

    .footer-columns{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .recipe-carousel,
    .carousel-track-wrapper{
        width: 100%;
    }

    .carousel-slide{
        flex: 0 0 calc(100% - 20px);
    }

     .carousel-btn{
        left: 8px !important;
        right: 8px !important;
    }

    .recipe-carousel{
        overflow: hidden;
    }

    /* 🔒 Fælles mobil-container (LØSER ALT) */
    .section-inner,
    .content-inner,
    .jumbotron-inner,
    .how-inner,
    .footer-inner{
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
    }


    .how-section {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
        padding: 0 4px;
    }

    .how-media img {
        height: 220px;
    }

    .how-text,
    .how-media {
        min-width: 100%;
    }

    .recipes,
    .recipe-grid,
    .how-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card,
    .recipe-card,
    .how-item {
        width: 100%;
    }

    .card img {
        height: 220px;
    }
    
    /* Ét item per række (sikkerhed) */
    .how-grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* Tving how til kant-til-kant */
    .how-inner{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .how-item img{
        display: block;
        height: 300px;
        object-fit: cover;
    }

    .how-item h4,
    .how-item p{
        padding: 0 16px;
    }
    /* =========================================================
   ACCOUNT SECTION – MOBILVENLIG
   ========================================================= */

    .account-section{
        max-width: 100%;
        padding: 0 16px;
    }

    /* Card forbliver card */
    .account-card{
        border-radius: 8px;
    }

    /* Header: stack pænt */
    .account-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .account-header h2{
        font-size: 15px;
    }

    .edit-link{
        font-size: 13px;
    }

    /* 👇 DEN VIGTIGSTE ÆNDRING */
    .account-row{
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;

        padding: 12px 16px;
        font-size: 14px;
    }

    /* Label og value som blokke */
    .account-row .label{
        font-size: 12px;
        color: #666;
    }

    .account-row .value{
        font-size: 14px;
        font-weight: 600;
    }

    /* Hint under value */
    .hint-wrapper{
        margin-top: 2px;
    }

    .hint,
    .hint2{
        font-size: 12px;
        white-space: normal;
    }

    /* Pil flyttes ned / skjules */
    .arrow{
        display: none;
    }

    /* Footer links stackes */
    .account-footer{
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .account-links a{
        margin-right: 0;
    }

    /**/
    .account-rowy {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-left: 16px;
    }

    .account-rowy .label {
        font-weight: 600;
    }

    .account-rowy .value,
    .account-rowy .hint {
        text-align: left;
    }

    .account-rowy .hint {
        font-size: 0.9rem;
        opacity: 0.8;
    }
    /*=================================
    = Mealplan
     =================================*/
    .day-selector{
        overflow: visible;
        gap: 0;
        background: #6c757d;
        border-radius: 6px;
        display: inline-flex;
    }

    .day-btn{
        border: none;
        background: transparent;
        color: #fff;
        padding: 8px 16px;
    }

    .day-btn.active{
        background: #495057;
    }

    .day-btn:not(:last-child){
        border-right: 1px solid rgba(255,255,255,0.3);
    }

    .mealplan-meal{
        display: block;
    }

    .mealplan-meal-type{
        text-align: left;
        align-items: flex-start !important;
        justify-content: flex-start !important;

        padding-left: 4px;

        writing-mode: horizontal-tb !important;
        transform: none !important;

        display: block;
        margin-bottom: 12px;

        font-weight: 600;
        color: #00344E;
        text-transform: uppercase;
        font-size: 13px;
    }

  /*  .mealplan-row{
        grid-column: auto;
    }

     Rækker fylder hele bredden 
    .mealplan-row{
        display: grid;
        grid-template-columns: 64px 1fr auto auto;
        gap: 12px;
        align-items: center;
    }
*/
    .mealplan-image img{
        width: 80px;
        height: 80px;
    }

    .mealplan-row{
        grid-template-columns: 64px minmax(0, 1fr) max-content max-content;
        column-gap: 8px;              /* 👈 mindre afstand samlet */
        align-items: flex-start;
    }

    .mealplan-text{
        overflow: hidden;             /* 🔒 stopper overlap */
        margin-left: 10px;
    }

    .mealplan-text h3,
    .mealplan-text p{
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .mealplan-portions{
        margin-left: 2px;             /* 👈 tættere på tekst */
        font-size: 13px;
        white-space: nowrap;
    }

    .mealplan-delete{
        margin-left: 2px;
    }

    /* =====================================
   Camp row – MOBILE (default)
   ===================================== */
  
   /**/
    
}
/*view recipes*/
/* =========================================================
   VIEW RECIPE – MOBIL
   ========================================================= */
@media (max-width: 768px){

    .content-grid{
        grid-template-columns: 1fr;   /* stack */
        gap: 16px;
    }

    .ingredients-card,
    .method-card{
        width: 100%;
        max-width: 100%;
    }

    .ingredients-card{
        order: 1;
    }

    .method-card{
        order: 2;
    }

    .ingredient-list li{
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        font-size: 14px;
    }

    .ingredient-qty{
        font-weight: 600;
        white-space: nowrap;
    }

    .ingredient-note{
        width: 100%;
        font-size: 13px;
        color: #666;
    }

    .method-list{
        padding-left: 20px;
    }

    .method-list li{
        font-size: 14px;
        line-height: 1.5;
    }
}

.recipe-image {
    flex: 1;
    min-width: 320px;
}

.recipe-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
}
/* =========================================================
   EXTRA SMALL DEVICES
   ========================================================= */
@media (max-width: 380px){

    .jumbotron-inner,
    .content-inner,
    .how-inner,
    .footer-inner{
        padding: 16px;
    }

    .jumbotron h1{
        font-size: 1.25rem;
    }

    .btn-primary{
        width: 100%;
        text-align: center;
    }


}
