/* Mobile CTA bar (2026-10-22). Only below 768px. */
.student-mcta { display: none; }

@media (max-width: 767px) {
    .student-mcta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: #111;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
        transition: transform .2s ease;
    }
    .student-mcta[hidden] { display: none; }
    .student-mcta.is-hidden { transform: translateY(110%); }
    /* Same type as the site's "INTRESSEANMÄLAN" button (.button.black): Source Sans Pro 700,
       14px, uppercase, 0.1em tracking, square corners. Kept yellow per Alex 2026-10-22. */
    .student-mcta__btn {
        flex: 1 1 auto;
        display: block;
        min-height: 50px;
        padding: 0 20px;
        border: 0;
        border-radius: 0;
        background: #fecd00;
        color: #1c1d21 !important;
        font-family: "Source Sans Pro", sans-serif;
        font-weight: 700;
        font-size: 14px;
        line-height: 50px;
        text-align: center;
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: .1em;
        white-space: nowrap;
        cursor: pointer;
    }
    .student-mcta__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
    .student-mcta--product .student-mcta__btn { flex: 0 0 auto; }
    .student-mcta__info {
        flex: 1 1 auto;
        min-width: 0;
        color: #fff;
        font-size: 14px;
        line-height: 1.25;
    }
    .student-mcta__name {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-weight: 600;
    }
    .student-mcta__price, .student-mcta__price .amount { color: #fecd00; font-weight: 700; }
    .student-mcta__price del { opacity: .6; color: #fff; }
    /* Product pages: no yellow (Alex 2026-10-22). Button = exact .button.black look
       (#1c1d21 bg, white text); bar turned white so the dark button stands out like on the site. */
    .student-mcta--product { background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .15); }
    .student-mcta--product .student-mcta__btn { background: #1c1d21; color: #fff !important; }
    .student-mcta--product .student-mcta__btn:focus-visible { outline-color: #1c1d21; }
    .student-mcta--product .student-mcta__info,
    .student-mcta--product .student-mcta__price,
    .student-mcta--product .student-mcta__price .amount { color: #1c1d21; }
    .student-mcta--product .student-mcta__price del { color: #1c1d21; }
    body.has-student-mcta { padding-bottom: 72px; }
}
