/* File: astrachildtheme/css/all-products-product.css */
/* Version: 1.0.6 */


/* ======================================================== */
/* Styling für Produkt Seiten.
/* ======================================================== */

/*
Von sware-product-display.php generierte Daten, zur Anzeige von Rabattstufen:
*/
.buymofe-fields {
    margin-top: 20px;
    padding: 15px; /* Optional: etwas Innenabstand für bessere Lesbarkeit */
    border: 1px solid #eee; /* Optional: leichter Rahmen */
    background-color: #f9f9f9; /* Optional: leichter Hintergrund */
    border-radius: 5px; /* Optional: abgerundete Ecken */
}

.buymofe-fields h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333;
}

/* Neuer Tabellen-Container für die Rabattstufen-Daten */
.buymofe-tier-table {
    width: auto; /* Breite passt sich dem Inhalt an */
    border-collapse: collapse; /* Entfernt Abstände zwischen den Zellen */
    margin-left: 0; /* Ausrichtung des gesamten Tabellenblocks unter dem H3 */
}

/* Kopfzeile ausblenden, falls nicht gewünscht */
.buymofe-tier-table thead {
     display: none;
}

/* Standard-Padding für alle Zellen */
.buymofe-tier-table th,
.buymofe-tier-table td {
    padding: 2px 10px; /* Vertikaler und horizontaler Abstand für alle Zellen */
    vertical-align: baseline; /* Text auf der Grundlinie ausrichten */
    border: none; /* Entfernt Tabellenränder, falls vorhanden */
}

/* Spaltenstile nach neuer Reihenfolge und Ausrichtung */
.buymofe-qty {
    text-align: right;
    white-space: nowrap;
}

.buymofe-price-total {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

.buymofe-discount {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

.buymofe-discount.buymofe-discount-percent {
    color: green;
}
.buymofe-discount.buymofe-discount-price {
    color: green;
}

.buymofe-price-piece {
    text-align: right;
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
}

/* Klasse zum Ausblenden */
.buymofe-hidden {
    display: none !important;
}

/* Zusätzliche Anpassungen für WooCommerce-Preise */
.buymofe-tier-table .woocommerce-Price-amount {
    display: inline-block;
}


/* ======================================================== */
/* WC Germanized Zusätzliche Infos
/* ======================================================== */

p.wc-gzd-additional-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 15px;
}

p.wc-gzd-additional-info .wc-gzd-additional-info.shipping-costs-info {
    order: 1;
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap;
}

p.wc-gzd-additional-info .wc-gzd-additional-info.small-business-info {
    order: 2;
    flex-basis: 100%;
    font-size: 1em;
    white-space: nowrap;
}

p.wc-gzd-additional-info .wc-gzd-additional-info.shipping-costs-info a {
    font-size: 1em;
}


/* ======================================================== */
/* ANPASSUNGEN FÜR PRODUKTSEITE DETAILS:
/* 1. class="posted_in" ausblenden
/* 2. PayPal "Bezahlen Sie 30 Tage später..." Fontgröße anpassen
/* 3. Plus-Minus Buttons und Mengenfeld ausrichten (aus vorherigem Schritt, hier nicht geändert)
/* 4. Produkteinheit ("Produkteinheit: 80 cm") größer machen
/* ======================================================== */

/* 1. class="posted_in" ausblenden */
.posted_in {
    display: none !important;
}

/* 2. PayPal "Bezahlen Sie 30 Tage später..." Fontgröße anpassen */
.ppcp-messages iframe {
    height: 30px !important;
    transform: scale(1.2);
    transform-origin: left center;
    zoom: 1.2;
}


/* 3. Produkteinheit ("Produkteinheit: 80 cm") größer machen */
.product-units-wrapper.product-units {
    font-size: 1.1em !important; /* Macht den gesamten Text im p-Tag größer */
}
