/*
 * mes-customizer.css
 * Übernommen aus "Design → Customizer → Zusätzliches CSS" (2026-11), damit die
 * Custom-Regeln versioniert in einer Datei liegen statt in der DB. Wird global
 * und SPÄT geladen (functions.php: mes_enqueue_customizer_css, Priorität 999),
 * damit die Kaskade dieselbe bleibt wie beim bisherigen wp-custom-css.
 * Das Lost-Password-CSS, das zuletzt auch im Customizer lag, ist NICHT hier,
 * sondern in mes-account.css (thematische Heimat) — kein Duplikat.
 */

h6.autor{
	font-weight:400;
	font-size: 0.8em;
	color:var(--ast-global-color-2);
	padding-bottom: 3px;
}
.cart-collaterals th{
	width: auto;
	white-space:nowrap;
}
.cart-collaterals td{
	width: auto;
	white-space:nowrap;
	text-align: right;
}
.wc-gzd-total-mini-cart{
	padding: 0em 1.34em !important;
	margin: 0;
	border-bottom: 0px solid !important;
	border-top: 0px solid !important;
}

.custom-fullwidth-description {
	width: 100%;
	background-color: #f5f5f5;
	padding: 40px 0;
	height:60px;
}

.custom-fullwith-wrapper{
	max-width: 1240px;
	margin: 0 auto;
	padding:20px;
}

.woocommerce.single-product .related.products{
	max-width: 1240px;
	margin: 0 auto;
	padding:20px;
}

.woocommerce .onsale.square{
	padding:0.4em 1em !important;
	font-weight:600;
	text-transform: uppercase;
}

.custom-video-wrapper iframe{
	min-width:100%;
	height: auto;
	min-height: 600px;
}

@media (max-width: 1024px) {
	.custom-video-wrapper iframe{
		min-height: 400px;
	}
}

/* Mobile (bis 767px) */
@media (max-width: 767px) {
	.custom-video-wrapper iframe {
		min-height: 360px;
	}
}

/* Schlagwörter komplett entfernen */
.product_meta .tagged_as {
	display: none !important;
}

/* Grundstil für das Meta-Feld */
.product_meta {
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #333;
	line-height: 1.8;
	margin-top: 15px;
}

/* Jede Zeile einzeln untereinander */
.product_meta .sku_wrapper,
.product_meta .posted_in {
	display: block;
	width:100%;
	margin-bottom: 6px;
}

/* Label fett + Abstand vor Wert */
.product_meta .label {
	font-weight: bold;
	margin-right: 5px;
}

.product_meta a {
	color: #0073aa;
	text-decoration: none;
}

.product_meta a:hover {
	text-decoration: underline;
}

/*
 * Stacking für WooCommerce Warenkorb-Summe:
 * Labels (th) und Werte (td) werden untereinander angezeigt.
 * Labels sind linksbündig, Werte sind rechtsbündig.
*/

/* Macht jede Tabellenzeile zu einem eigenen Block mit Abstand darunter */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive tr {
	display: block;
	margin-bottom: 15px;
	padding-bottom: 1em;
	border-bottom: 0; /* Keine Trennlinie zwischen den Blöcken */
}

/* Stellt die Header- (th) und Datenzellen (td) als Blöcke dar */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive th,
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive td {
	display: block;
	width: 100%;
	border: none; /* Entfernt alle Ränder */
	padding: 0;
}

/* Style für das Label (th) */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive th {
	padding-bottom: 5px; /* Abstand zwischen Label und Wert */
	font-weight: bold;
	text-align: left; /* Stellt sicher, dass Labels immer linksbündig sind */
}

/* Style für den Wert (td) */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive td {
	text-align: right; /* Richtet die Werte rechtsbündig aus */
	margin-top: -5px;  /* Zieht den Wert für engeren Abstand etwas nach oben */
}

/* ---- NEUE LOGIK ZUR GRUPPIERUNG ---- */

/* Entfernt den Abstand NACH der "Gesamtsumme"-Zeile, um die Steuer-Zeilen anzudocken */
.woocommerce-cart .cart-collaterals .cart_totals tr.order-total {
	margin-bottom: 0;
	padding-bottom: 0.8em; /* Leicht reduzierter Innenabstand */
}

/* Formatiert die Steuer-Zeilen, damit sie eng an der Gesamtsumme kleben */
.woocommerce-cart .cart-collaterals .cart_totals tr.order-tax {
	font-size: 90%;
	margin-bottom: 5px; /* Sehr kleiner Abstand zwischen den Steuer-Zeilen */
	padding-bottom: 0.2em;
}

/* Stellt sicher, dass die ALLERLETZTE Zeile in der Tabelle wieder den normalen Abstand nach unten hat */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive tr:last-child {
	margin-bottom: 15px !important;
}

/* Entfernt das ::before Pseudo-Element, das Astra für responsive Tabellen hinzufügt */
.woocommerce-cart .cart-collaterals .cart_totals .shop_table_responsive td::before {
	display: none;
}

.woocommerce-js .widget_shopping_cart .total, .woocommerce-js.widget_shopping_cart .total .total-cart-tax{
	margin-bottom:0;
}

.woocommerce-js .widget_shopping_cart .total-cart-tax,  .shipping-costs-cart-info{
	font-size:90%;
	text-align:right;
}
.shop_attributes th{
	padding-right:2em !important;
}

/* Vertikaler Trenner zwischen den Tabs */
.woocommerce-tabs .wc-tabs li {
	padding:0 0.7em !important;
}
.woocommerce-tabs ul.tabs li.active {
	background-color:#f0f0f0 !important;
}
.woocommerce-Tabs-panel{
	padding: 1em !important;
}
.ast-container, .ast-container-fluid {
	padding-left: 0px;
	padding-right: 0px;
}
