/* css/pricing.css */

/* Stil für den gesamten Preisbereich */
.pricing {
    display: flex;
    flex-direction: column; /* Vertikale Anordnung der Unterelemente */
    font-size: 1em; /* Basisgröße für den Preis */
    margin-bottom: 20px; /* Abstand nach unten */
    padding: 10px;

}

/* Stil für die Hauptzeile mit Preis und NETTO */
.pricing_main {
    display: flex;
    align-items: center; /* Vertikale Ausrichtung der Inhalte */
    margin-bottom: 5px; /* Abstand nach unten */
}

/* Stil für das Währungssymbol */
.pricing_currency {
    font-size: 0.9em; /* Etwas kleinere Schriftgröße als der Basispreis */
    margin-right: 5px; /* Abstand zwischen Symbol und Preis */
}

/* Stil für den Preis */
.pricing_price {
    font-size: 1em; /* Basisgröße */
    font-weight: bold; /* Fettgedruckt für den Preis */
    margin-right: 10px; /* Abstand zwischen Preis und NETTO */
}

/* Stil für das "NETTO"-Label */
.pricing_netlabel {
    font-size: 0.6em; /* Kleinere Schriftgröße */
    color: #555;        /* Dezente graue Farbe */
    font-weight: bold;  /* Fettgedruckt */
    text-transform: uppercase; /* Großbuchstaben */
}

/* Stil für den Hinweis unter "NETTO", der die gesamte Breite einnimmt */
.pricing_note_full {
    font-size: 0.3em; /* Noch kleinere Schriftgröße */
    color: #777;        /* Noch dezenter */
    margin-top: 2px;    /* Kleiner Abstand nach oben */
}


/* ===== Land/Sprach-Switcher ===== */

.ji-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1;
}

.ji-dropdown {
    position: relative;
}

.ji-dropdown-toggle {
    background: transparent;
    border: none;
    color: inherit;
    padding: 6px 8px;
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    white-space: nowrap;
    transition: opacity 0.2s;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ji-dropdown + .ji-dropdown {
    margin-left: 12px;
}

.ji-dropdown-toggle:hover {
    opacity: 0.7;
}

.ji-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 99999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    min-width: 56px;
}

.ji-dropdown-menu.ji-open {
    display: block;
}


.ji-dropdown-item {
    display: block;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: background 0.15s;
}

.ji-dropdown-item:hover {
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
}

.ji-dropdown-item.ji-active {
    font-weight: bold;
    background: #f5f5f5;
}

.ji-currency {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
    line-height: 1;
}

.ji-ip-country {
    font-size: 9px;
    opacity: 0.35;
    vertical-align: super;
}

/* CHF-Währungskürzel kleiner darstellen (3 Buchstaben vs. 1 Zeichen €) */
.pricing_currency.ji-chf,
.ji-gp-cur.ji-chf {
    font-size: 0.55em;
    letter-spacing: -0.02em;
}

/* productgrossprice() Inline-Preis */
.ji-grossprice {
    white-space: nowrap;
}
.ji-gp-cur {
    font-size: 0.9em;
}
.ji-gp-val {
    font-weight: bold;
}