/* Fast meny i nederkant, utseende och beteende som på originalsajten. */
.he-mobilmeny {
    display: none;
}

/* Samma brytpunkt som Elementors surfplattsläge, där headerns desktopikoner döljs. */
@media (max-width: 1024px) {
    .he-mobilmeny {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 98;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 15px;
        background: #fff;
        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
        transform: translateY(0);
        transition: transform 0.6s ease;
    }

    .he-mobilmeny.is-hidden {
        transform: translateY(100%);
    }
}

.he-mobilmeny .he-mobilmeny__item {
    padding: 0 15px;
    color: #222;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

@media (max-width: 767px) {
    .he-mobilmeny .he-mobilmeny__item {
        padding: 0 10px;
    }
}

/* "Strömavbrott" är längre än originalets "Drift"; krymp luften så att allt ryms på en rad. */
@media (max-width: 420px) {
    .he-mobilmeny {
        padding-left: 5px;
        padding-right: 5px;
    }

    .he-mobilmeny .he-mobilmeny__item {
        padding: 0 6px;
        font-size: 13px;
    }
}

.he-mobilmeny .he-mobilmeny__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 auto 5px;
    border: 2px solid #eee;
    border-radius: 50%;
    color: #222;
    font-size: 15px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.he-mobilmeny .he-mobilmeny__item:hover .he-mobilmeny__icon,
.he-mobilmeny .he-mobilmeny__item:focus-visible .he-mobilmeny__icon {
    border-color: #1f527d;
    background: #1f527d;
    color: #fff;
}

/* Statusprickar: kundtjänst (öppet/stängt) och strömavbrott (harryda-stromavbrott sätter status-1..3). */
.he-mobilmeny .he-mobilmeny__icon--service::after,
.he-mobilmeny .he-mobilmeny__icon.stromavbrott::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.he-mobilmeny .he-mobilmeny__icon--service.is-open::after {
    background: #76a037;
}

.he-mobilmeny .he-mobilmeny__icon--service.is-closed::after {
    background: #c44d26;
}

.he-mobilmeny .he-mobilmeny__icon--service.no-status::after {
    display: none;
}
