/* CR-3D "Noch X € bis zum kostenlosen Versand"-Hinweis (Warenkorb + Kasse).
   Farben/Fonts hart codiert (nicht var()), da Warenkorb und Kasse die --cr3d-* Variablen
   auf unterschiedlichen Selektoren deklarieren (body.woocommerce-cart bzw. .woocommerce-checkout)
   - beide sind aktuell aber ohnehin identisch (helles CR-3D-Teal-Design, siehe cart-redesign.css). */

.cr3d-free-shipping-progress {
	background: #ffffff;
	border: 1px solid #e2e5e8;
	padding: 16px 18px;
	margin-bottom: 20px;
	box-sizing: border-box;
}
.cr3d-free-shipping-progress.is-complete {
	border-color: #07737a;
	background: rgba(7, 115, 122, 0.06);
}

.cr3d-fsp-text {
	margin: 0 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #1a1d20;
}
.cr3d-free-shipping-progress.is-complete .cr3d-fsp-text {
	margin-bottom: 0;
	color: #07737a;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.cr3d-fsp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #07737a;
	color: #fff;
	font-size: 11px;
	margin-right: 8px;
}

.cr3d-fsp-bar {
	height: 6px;
	background: #e2e5e8;
	overflow: hidden;
}
.cr3d-fsp-bar-fill {
	height: 100%;
	background: #07737a;
}

/* Warenkorb + Kasse: Hinweis sitzt jetzt als eigene <tr><td colspan="2"> direkt unter der
   GESAMT/inkl.-MwSt.-Zeile, innerhalb der Summen-Tabelle (siehe cr3d_free_shipping_progress_notice_row()
   in functions.php) - die generischen th/td-Regeln beider Tabellen (flex+display:block bzw.
   text-align:right) werden hier für diese eine Zeile zurückgesetzt. */
.cr3d-free-shipping-progress-row td {
	text-align: left !important;
	width: 100% !important;
	padding: 0 !important;
}
.cr3d-free-shipping-progress-row .cr3d-free-shipping-progress {
	margin-top: 12px;
	margin-bottom: 0;
}

/* Warenkorb-Summen-Tabelle: <tr> ist per Theme-CSS display:flex - bei nur einer <td> reicht das
   bereits für volle Breite, hier nur den generischen "padding:8px 0"-Wert etwas knapper fassen. */
body.woocommerce-cart .cart_totals table.shop_table tr.cr3d-free-shipping-progress-row {
	padding: 0;
}

/* Kasse Schritt 1+2: Hinweis sitzt am Ende der schritt-übergreifenden Sidebar (.cr3d-checkout-sidebar),
   direkt nach der "inkl. MwSt."-Zeile - einfaches Geschwister-Div, kein Tabellen-Kontext. */
.cr3d-checkout-sidebar .cr3d-free-shipping-progress {
	margin-top: 16px;
	margin-bottom: 0;
}
