/* Geocept 17.10.2026 (b): Font Awesome 4.7 (liegt im Theme unter files/cto_layout) fuer die Icons im Warenkorb/Popup */
@import url("/files/cto_layout/css/font-awesome.min.css");

/* Geocept 17.10.2026: Ergaenzungen fuer Isotope 3 (Contao 5) - Warenkorb wie frueher (iso_collection_GeoCard) und
   Popup "In den Warenkorb gelegt". Eingebunden ueber die Twig-Templates
   templates/content_element/iso_cart/geocard.html.twig und templates/isotope/message/added_to_cart.html.twig */

/* ---------- Warenkorb ---------- */
.mod_iso_cart.iso_cart_geocard > form {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.iso_cart_geocard table.iso_collection_geocard {
	width: auto;
	margin: 0 auto 1.5em auto;
	border-collapse: collapse;
}
.iso_cart_geocard table.iso_collection_geocard td {
	padding: 8px 12px;
	vertical-align: middle;
	border: 0;
}
.iso_cart_geocard tr.cardrow > td {
	border-bottom: 1px solid #e2e2e2;
}
.iso_cart_geocard tr.cardrow td.name a {
	color: #004d9e;
	text-decoration: none;
}
.iso_cart_geocard tr.cardrow td.name a:hover {
	text-decoration: underline;
}
.iso_cart_geocard td.price,
.iso_cart_geocard td.total {
	text-align: right;
	white-space: nowrap;
}
.iso_cart_geocard td.quantity input.text {
	min-width: 5em;
	width: 5em;
	padding: 4px 6px;
	text-align: right;
}
.iso_cart_geocard p.iso_min_quantity {
	margin: 2px 0 0 0;
	font-size: 0.85em;
	color: #6C7179;
}
.iso_cart_geocard tfoot td {
	padding-top: 6px;
	padding-bottom: 6px;
}
.iso_cart_geocard tfoot tr.foot_first td {
	padding-top: 12px;
}
.iso_cart_geocard tfoot tr.total td {
	font-weight: 700;
	border-top: 2px solid #004d9e;
}
.iso_cart_geocard tfoot tr.total td.col_first,
.iso_cart_geocard tfoot tr.total td.col_last {
	border-top: 0;
}

/* Entfernen: dezenter Link statt grossem Button */
.iso_cart_geocard td.actions button.remove_from_cart {
	background: none !important;
	color: #004d9e;
	padding: 0;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.9em;
	text-decoration: underline;
	cursor: pointer;
}
.iso_cart_geocard td.actions button.remove_from_cart:hover,
.iso_cart_geocard td.actions button.remove_from_cart:focus {
	color: #6C7179;
	background: none !important;
}

/* Buttons wie frueher (.submit.button_update / .submit.button_checkout in custom.css): blau, rechts */
.iso_cart_geocard .submit_container {
	overflow: hidden;
	text-align: right;
}
.iso_cart_geocard .submit_container button.submit {
	float: right;
	margin-left: 10px;
	margin-bottom: 25px;
	background: #004d9e;
	color: #fff;
	cursor: pointer;
}
.iso_cart_geocard .submit_container button.submit:hover,
.iso_cart_geocard .submit_container button.submit:focus {
	background: #6C7179 !important;
	color: #fff;
}
.iso_cart_geocard .submit_container button.submit:active {
	background: #004d9e !important;
}

@media screen and (max-width: 640px) {
	.iso_cart_geocard table.iso_collection_geocard {
		width: 100%;
	}
	.iso_cart_geocard table.iso_collection_geocard td {
		padding: 6px 4px;
	}
	.iso_cart_geocard tfoot td.col_first {
		display: none;
	}
	.iso_cart_geocard .submit_container button.submit {
		float: none;
		display: block;
		width: 100%;
		margin: 0 0 10px 0;
	}
}

/* ---------- Popup "In den Warenkorb gelegt" ---------- */
.isotope-message {
	--isotope-message-overlay: rgba(0, 0, 0, 0.35);
	--isotope-message-border: transparent;
	--isotope-message-radius: 15px;
}
.isotope-message .inner {
	width: 90%;
	max-width: 420px;
	padding: 30px 30px 25px 30px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
	font-family: "Open Sans", sans-serif;
	text-align: center;
	color: rgb(52, 54, 54);
}
.isotope-message .inner p {
	margin: 0 0 1em 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
}
.isotope-message.iso_added_to_cart .iso_message_links {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-bottom: 20px;
}
.isotope-message.iso_added_to_cart .iso_message_links a {
	color: #004d9e;
	font-weight: 600;
	text-decoration: none;
}
.isotope-message.iso_added_to_cart .iso_message_links a:hover {
	text-decoration: underline;
}
.isotope-message button.continue_shopping {
	background: #004d9e;
	color: #fff;
	border-radius: 25px;
	padding: 12px 30px;
	cursor: pointer;
}
.isotope-message button.continue_shopping:hover,
.isotope-message button.continue_shopping:focus {
	background: #6C7179;
	color: #fff;
}

/* ---------- 17.10.2026 (b): Entfernen als Muelleimer-Icon ---------- */
.iso_cart_geocard td.actions button.remove_from_cart {
	text-decoration: none;
	font-size: 1.25em;
	line-height: 1;
	padding: 4px 6px;
	color: #6C7179;
}
.iso_cart_geocard td.actions button.remove_from_cart:hover,
.iso_cart_geocard td.actions button.remove_from_cart:focus {
	color: #c0392b;
}

/* ---------- 17.10.2026 (b): Popup-Buttons Warenkorb / Zur Kasse / Weiter einkaufen ---------- */
.isotope-message.iso_added_to_cart .inner {
	max-width: 600px;
}
.isotope-message.iso_added_to_cart p.iso_min_notice {
	margin: -0.3em 0 1.2em 0;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #8a5a00;
	background: #fff4dc;
	border-radius: 8px;
}
.isotope-message.iso_added_to_cart .iso_message_buttons {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 12px;
}
.isotope-message.iso_added_to_cart .iso_message_buttons .iso_btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 46px;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 25px;
	background: #004d9e;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	cursor: pointer;
}
.isotope-message.iso_added_to_cart .iso_message_buttons .iso_btn:hover,
.isotope-message.iso_added_to_cart .iso_message_buttons .iso_btn:focus {
	background: #6C7179;
	color: #fff;
	text-decoration: none;
}
.isotope-message.iso_added_to_cart .iso_message_buttons .iso_btn .fa {
	font-size: 1.1em;
}
@media screen and (max-width: 600px) {
	.isotope-message.iso_added_to_cart .inner {
		padding: 25px 18px 20px 18px;
	}
	.isotope-message.iso_added_to_cart .iso_message_buttons {
		flex-direction: column;
		gap: 10px;
	}
	.isotope-message.iso_added_to_cart .iso_message_buttons .iso_btn {
		flex: 0 0 auto;
		width: 100%;
	}
}

/* ---------- 17.10.2026 (b): Hinweis Tracker <-> Tarif (Warenkorb + Kasse) ---------- */
p.iso_tracker_tarif_hint {
	margin: 0 auto 1.2em auto;
	padding: 10px 14px;
	max-width: 900px;
	font-size: 0.95em;
	line-height: 1.5;
	color: #8a5a00;
	background: #fff4dc;
	border-left: 4px solid #f0a500;
	border-radius: 4px;
}
