/* Gratisversand-Hinweis im Warenkorb (Connector OFFENE-PUNKTE 2.235). Farben aus dem Flatsome-Theme. */
.xsi-fsp[hidden] { display: none !important; }
.xsi-fsp {
    margin: 0 0 1.25em;
    padding: .85em 1em;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 4px;
    background: rgba(0, 0, 0, .02);
}
.xsi-fsp__message { margin: 0 0 .55em; font-size: .95em; line-height: 1.4; }
.xsi-fsp__message--reached { font-weight: 600; color: var(--fs-color-success, #627d47); }
.xsi-fsp__message--reached::before { content: "\2713\00a0"; }
.xsi-fsp__amount { white-space: nowrap; }
.xsi-fsp__bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .08);
    overflow: hidden;
}
.xsi-fsp__bar > span {
    display: block;
    height: 100%;
    background: var(--fs-color-primary, var(--primary-color, #446084));
    transition: width .3s ease;
}
.xsi-fsp[data-state="reached"] .xsi-fsp__bar > span { background: var(--fs-color-success, #627d47); }

.xsi-fsp__products { margin-top: 1em; }
.xsi-fsp__heading { margin: 0 0 .5em; font-weight: 600; font-size: .9em; text-transform: uppercase; letter-spacing: .02em; }
/* Blaettern (2.238): Ueberschrift links, Pfeile rechts */
.xsi-fsp__head { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-bottom: .5em; }
.xsi-fsp__head .xsi-fsp__heading { margin: 0; }
.xsi-fsp__pager { display: flex; align-items: center; gap: .35em; white-space: nowrap; font-size: .85em; }
.xsi-fsp__pager button {
    margin: 0;
    padding: 0;
    width: 2em;
    height: 2em;
    min-height: 0;
    line-height: 1;
    font-size: 1.1em;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 50%;
    background: #fff;
    color: inherit;
    cursor: pointer;
}
.xsi-fsp__pager button:disabled { opacity: .35; cursor: default; }
.xsi-fsp__page { min-width: 3em; text-align: center; opacity: .75; }
.xsi-fsp__item[hidden] { display: none !important; }
.xsi-fsp__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75em;
    margin: 0;
    padding: 0;
    list-style: none;
}
.xsi-fsp__item {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: .5em;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 4px;
}
.xsi-fsp__image { display: block; text-align: center; margin-bottom: .4em; }
.xsi-fsp__image img { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
.xsi-fsp__info { display: flex; flex-direction: column; flex: 1; gap: .3em; }
.xsi-fsp__name { font-size: .85em; line-height: 1.3; color: inherit; }
/* Ausfuehrung waehlen (2.237): volle Kartenbreite, kompakt; Flatsome setzt Selects sonst auf 2.5em Hoehe und grosse Schrift */
.xsi-fsp__info select.xsi-fsp__variant {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: .3em 1.6em .3em .4em;
    font-size: .75em;
    line-height: 1.3;
    background-position: right .3em center;
    text-overflow: ellipsis;
}
.xsi-fsp__price { font-size: .9em; font-weight: 600; }
.xsi-fsp__price del { font-weight: normal; opacity: .6; }
.xsi-fsp__info .button.xsi-fsp__add {
    margin: auto 0 0;
    width: 100%;
    min-height: 0;
    padding: .55em .4em;
    font-size: .72em;
    line-height: 1.3;
    white-space: normal;
    color: #fff;
}
.xsi-fsp__info .button.xsi-fsp__add.loading { opacity: .6; }
.xsi-fsp__info .added_to_cart { display: none; }

/* Mini-Warenkorb und Kasse: nur Text und Balken, kompakt */
.xsi-fsp--mini-cart { margin: .5em 0 1em; padding: .6em .75em; font-size: .9em; text-align: left; }
.xsi-fsp--checkout { margin-bottom: 1em; }

/* Mobil: eine Reihe zum Wischen statt vier Karten untereinander vor den Warenkorbzeilen */
@media (max-width: 549px) {
    .xsi-fsp { padding: .75em; }
    .xsi-fsp__list {
        display: flex;
        gap: .5em;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .4em;
    }
    .xsi-fsp__item { flex: 0 0 42%; scroll-snap-align: start; }
    .xsi-fsp__image img { max-width: 80px; }
}
