/*
 * Versandhinweis (css_honig_paket_meter 1.3.0, Gestaltung C1c)
 * Nur Shop-Farben: Text #525252, Linien #e2e5e9/#ebebeb, Ring-Spur #dfe3e8, Bogen #525252, erreicht Grün #1c871e.
 * Nichts in der Nähe der Shopfarbe #F8BF00. Der Knopf der Gläser übernimmt den Shopstil button[name="inWarenkorb"]
 * (MarkusTemplate: schwarz, darüber grün) – kein eigenes Orange mehr.
 */

.hpm {
    color: #525252;
    font-size: .875rem;
    line-height: 1.5;
}

/* ---------------------------------------------------------------- Ring + Satz */
.hpm-versand {
    display: flex;
    align-items: center;
    gap: .875rem;
}
.hpm-ring {
    position: relative;
    flex: none;
    width: 40px;
    height: 40px;
}
.hpm-warenkorb .hpm-ring {
    width: 56px;
    height: 56px;
}
.hpm-ring svg {
    display: block;
}
.hpm-ring-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: .6875rem;
    color: #525252;
}
.hpm-warenkorb .hpm-ring-symbol {
    font-size: .9375rem;
}
.hpm-ring-haken {
    color: #1c871e;
    font-size: .875rem;
}
.hpm-warenkorb .hpm-ring-haken {
    font-size: 1.125rem;
}
.hpm-satz {
    margin: 0;
    font-size: .875rem;
    line-height: 1.45;
}
.hpm-satz strong {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

/* Warenkorb: im grauen Kasten zwischen Zwischensumme und „Zur Kasse“ */
.hpm-warenkorb {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e2e5e9;
}

/* Mini-Warenkorb: über den Knöpfen */
.hpm-mini {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid #ebebeb;
    gap: .75rem;
}
.hpm-mini .hpm-satz,
.hpm-artikel .hpm-satz {
    font-size: .8125rem;
}

/* Artikelseite: in der Meldung „in den Warenkorb gelegt“ unter der grünen Zeile */
.hpm-artikel {
    gap: .75rem;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid #ebebeb;
}

/* Kommt die Meldung „in den Warenkorb gelegt“ in den Mini-Warenkorb (MarkusTemplate), steht ihr Ring schon da */
#cart-dropdown-container:has(#pushed-success .hpm-artikel) .hpm-mini {
    display: none;
}

/* ---------------------------------------------------------------- Gläser unter der Bestellübersicht */
.hpm-liste {
    margin-top: 1.5rem;
}
.hpm-grund {
    margin: 0 0 .125rem;
    font-size: .8125rem;
    font-weight: 600;
}
.hpm-zeilen {
    list-style: none;
    margin: .25rem 0 0;
    padding: 0;
}
.hpm-vorschlag {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 0;
    border-top: 1px solid #ebebeb;
}
.hpm-vorschlag:first-child {
    border-top: 0;
}
.hpm-bild {
    flex: none;
}
.hpm-bild img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.hpm-info {
    flex: 1;
    min-width: 0;
}
.hpm-name {
    display: block;
    color: #525252;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
.hpm-name:hover,
.hpm-name:focus {
    color: #525252;
    text-decoration: underline;
}
.hpm-preis {
    display: block;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    white-space: nowrap;
}
.hpm .footnote-reference {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}
.hpm-gp {
    display: block;
    font-size: .75rem;
    color: #707070;
    white-space: nowrap;
}
.hpm-knopf.btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
}
.hpm-knopf .fas {
    margin: 0;
}
.hpm-knopf.hpm-fertig,
.hpm-knopf.hpm-fertig:hover {
    background-color: #1c871e;
    border-color: #1c871e;
    color: #fff;
}
.hpm-wk-fehler {
    display: block;
    margin-top: .25rem;
    font-size: .75rem;
    color: #b02a37;
}
.hpm-wk-fehler a {
    color: inherit;
    text-decoration: underline;
}

/* Handy: Knöpfe mindestens 44 px */
@media (max-width: 575.98px) {
    .hpm-knopf.btn {
        width: 44px;
        height: 44px;
    }
}
