.basel-energy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    margin: 6px 0 8px;
}

.single-product .basel-energy {
    justify-content: center;
}

.basel-energy__badge {
    display: inline-flex;
    align-items: stretch;
    flex: 0 0 auto;
    font: bold 20px/1 Calibri, Arial, sans-serif;
}

.basel-energy--detail .basel-energy__badge {
    font-size: 24px;
}

.basel-energy__arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3em;
    min-height: 1.5em;
    padding-left: .3em;
    background: #000;
    color: #fff;
    clip-path: polygon(0 50%, 28% 0, 100% 0, 100% 100%, 28% 100%);
}

.basel-energy__arrow::before {
    position: absolute;
    inset: 1px;
    background: var(--basel-energy-color);
    clip-path: inherit;
    content: '';
}

.basel-energy__arrow > span {
    position: relative;
    -webkit-text-stroke: .5px #000;
}

.basel-energy__arrow--a { --basel-energy-color: #009640; }
.basel-energy__arrow--b { --basel-energy-color: #52ae32; }
.basel-energy__arrow--c { --basel-energy-color: #c8d400; }
.basel-energy__arrow--d { --basel-energy-color: #ffed00; }
.basel-energy__arrow--e { --basel-energy-color: #fbb900; }
.basel-energy__arrow--f { --basel-energy-color: #ec6608; }
.basel-energy__arrow--g { --basel-energy-color: #e30613; }

.basel-energy__scale {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 1.5em;
    border: 1px solid #000;
    border-left: 0;
    background: #fff;
    color: #000;
    font-size: .45em;
    line-height: 1;
}

.basel-energy__sheet {
    font-size: 13px;
    text-decoration: underline;
}

.basel-energy__popup {
    width: min(90vw, 400px);
    margin: 40px auto;
    background: #fff;
    text-align: center;
}

.basel-energy__popup img {
    max-width: 100%;
    max-height: 85vh;
}
