/*
 * Cicka Design – redesigned checkout (body.cicka-checkout only).
 *
 * Styles WooCommerce's and Germanized's own checkout markup; nothing is
 * moved, wrapped or re-ordered, and nothing inside payment provider elements
 * (card-field iframes, PayPal / Google Pay / Amazon Pay buttons, Pay Later
 * messages) is styled: only the space around them. No overflow/transform is
 * set on their ancestors, so their popups and payment sheets open freely.
 *
 * Breakpoints follow Astra: tablet <= 921px, mobile <= 544px.
 */

.cicka-checkout {
	--cc-ink: #3A2B2B;
	--cc-ink-2: #5A4846;
	--cc-muted: #7A6A68;
	--cc-accent: #A55F59;
	--cc-accent-hover: #8F4E49;
	--cc-blush: #F8E6E3;
	--cc-line: #EBD3CF;
	--cc-line-soft: #F1E3E0;
	--cc-bg: #FFFCFA;
	--cc-error: #B23A30;
	--cc-font: 'Solway', serif;
	--cc-aside: 460px;
	--cc-ico-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E");
	--cc-ico-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 01-2.8 0L3 13V3h10l7.6 7.6a2 2 0 010 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
	--cc-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E");
	--cc-ico-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
	--cc-ico-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5'/%3E%3Cpath d='M12 16.5h.01'/%3E%3C/svg%3E");
}

/* ---------- Page frame (content area only) ---------- */
.cicka-checkout .site-content { background: var(--cc-bg); }
.cicka-checkout .site-content > .ast-container {
	display: block;
	max-width: 1280px;
	padding-left: 24px;
	padding-right: 24px;
}
body.cicka-checkout #primary { width: 100%; margin: 0 !important; padding: 40px 0 80px; }
.cicka-checkout.ast-separate-container .ast-article-single,
.cicka-checkout .ast-article-single {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.cicka-checkout .entry-content > .woocommerce { color: var(--cc-ink); font-family: var(--cc-font); }
.cc-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ---------- Hero ---------- */
.cicka-checkout .cc-hero {
	padding: 36px 0 40px;
	background: var(--cc-blush);
	color: var(--cc-ink);
	font-family: var(--cc-font);
	text-align: center;
}
.cicka-checkout .cc-hero__title { margin: 0; color: var(--cc-ink); font-family: var(--cc-font); font-size: 44px; font-weight: 500; line-height: 1.15; }
.cicka-checkout .cc-hero__intro { margin: 10px 0 0; color: var(--cc-ink-2); font-size: 17px; }
.cicka-checkout .cc-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	color: var(--cc-ink-2);
	font-size: 13px;
}
.cicka-checkout .cc-steps li { display: flex; align-items: center; gap: 8px; margin: 0; }
.cicka-checkout .cc-steps li > span,
.cicka-checkout .cc-steps li > a > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid #C9A8A3;
	border-radius: 50%;
	font-size: 12px;
}
.cicka-checkout .cc-steps li > a,
.cicka-checkout .cc-steps li > a:visited { display: flex; align-items: center; gap: 8px; color: var(--cc-ink-2); text-decoration: none; }
.cicka-checkout .cc-steps li > a:hover { color: var(--cc-accent); }
.cicka-checkout .cc-steps li.is-done > a > span { border-color: var(--cc-accent); background: var(--cc-accent); color: #fff; }
.cicka-checkout .cc-steps li.is-current { color: var(--cc-ink); font-weight: 700; }
.cicka-checkout .cc-steps li.is-current > span { border-color: var(--cc-ink); background: var(--cc-ink); color: #fff; }
.cicka-checkout .cc-steps .cc-steps__line { width: 48px; height: 1px; background: #D9BDB8; }
.cicka-checkout .cc-steps .cc-steps__line.is-done { background: var(--cc-accent); }

/* ---------- Two-column form layout ---------- */
.cicka-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--cc-aside);
	gap: 20px 40px;
	align-items: start;
}
.cicka-checkout form.checkout > * { grid-column: 1; min-width: 0; }
.cicka-checkout form.checkout > #order_review {
	grid-column: 2;
	grid-row: 1 / span 30;
}
.cicka-checkout form.checkout > .blockUI { grid-column: auto; }
/* Coupon row and notices above the form line up with the left column. */
.cicka-checkout .woocommerce-form-coupon-toggle,
.cicka-checkout form.checkout_coupon,
.cicka-checkout .entry-content > .woocommerce > .woocommerce-notices-wrapper {
	max-width: calc(100% - var(--cc-aside) - 40px);
}
.cicka-checkout .woocommerce-notices-wrapper:empty { display: none; }

/* Astra's two-column customer details become one stacked column of cards. */
/* !important: Astra sizes and floats these with more specific selectors. */
.cicka-checkout #customer_details,
.cicka-checkout #customer_details .col-1,
.cicka-checkout #customer_details .col-2 { float: none !important; width: 100% !important; max-width: none; margin: 0 !important; padding: 0 !important; }
.cicka-checkout #customer_details { display: flex; flex-direction: column; gap: 20px; }
.cicka-checkout #customer_details .col-1 { display: flex; flex-direction: column; gap: 20px; }
.cicka-checkout #customer_details .col-2:not(:has(input, select, textarea)) { display: none; }
.cicka-checkout #customer_details::before,
.cicka-checkout #customer_details::after { display: none; }
.cicka-checkout .woocommerce-shipping-fields:not(:has(input, select, textarea)) { display: none; }

/* ---------- Cards ---------- */
.cicka-checkout .woocommerce-billing-fields,
.cicka-checkout .woocommerce-additional-fields,
.cicka-checkout .woocommerce-shipping-fields {
	padding: 28px;
	border: 1px solid var(--cc-line-soft);
	border-radius: 20px;
	background: #fff;
}
.cicka-checkout #order_review {
	padding: 28px !important;
	box-sizing: border-box;
	border: 1px solid var(--cc-line-soft) !important;
	border-radius: 24px;
	background: #fff !important;
	box-shadow: 0 12px 40px rgba(58, 43, 43, .07);
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

/* Section headings with step numbers */
.cicka-checkout .woocommerce-billing-fields > h3,
.cicka-checkout .woocommerce-additional-fields > h3,
.cicka-checkout .woocommerce-shipping-fields h3,
.cicka-checkout #order_payment_heading,
.cicka-checkout #order_review_heading {
	/* No !important on display: Germanized hides the payment heading with an
	   inline style when nothing has to be paid, and that must win. */
	display: flex;
	align-items: center;
	gap: 12px;
	float: none !important;
	width: auto !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cc-ink);
	font-family: var(--cc-font);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
}
.cicka-checkout .woocommerce-billing-fields > h3::before,
.cicka-checkout .woocommerce-additional-fields > h3::before,
.cicka-checkout #order_payment_heading::before,
.cicka-checkout #order_review_heading::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cc-blush);
	color: var(--cc-accent);
	font-size: 14px;
	font-weight: 700;
}
.cicka-checkout .woocommerce-billing-fields > h3::before { content: "1"; }
.cicka-checkout .woocommerce-additional-fields > h3::before { content: "2"; }
.cicka-checkout #order_payment_heading::before { content: "3"; }
.cicka-checkout #order_review_heading::before { content: "4"; }
.cicka-checkout #order_review_heading {
	margin-top: 26px !important;
	padding-top: 24px !important;
	border-top: 1px solid var(--cc-line-soft) !important;
}

/* ---------- Fields ---------- */
.cicka-checkout .woocommerce-billing-fields__field-wrapper,
.cicka-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}
.cicka-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.cicka-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.cicka-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
.cicka-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1; }
.cicka-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
.cicka-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 2; }
.cicka-checkout form.checkout .form-row {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
.cicka-checkout form.checkout .form-row label:not(.checkbox) {
	display: block;
	margin: 0 0 7px;
	color: var(--cc-ink);
	font: 500 13px/1.3 var(--cc-font);
}
.cicka-checkout form.checkout .form-row .required { color: var(--cc-error); text-decoration: none; }
.cicka-checkout form.checkout .form-row .optional { color: var(--cc-muted); font-weight: 400; }
.cicka-checkout form.checkout .form-row input.input-text,
.cicka-checkout form.checkout .form-row textarea,
.cicka-checkout form.checkout .form-row select,
.cicka-checkout form.checkout .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	box-sizing: border-box;
	border: 1px solid var(--cc-line);
	border-radius: 12px;
	background: var(--cc-bg);
	box-shadow: none;
	color: var(--cc-ink);
	font: 400 15px/1.4 var(--cc-font);
	transition: border-color .2s, box-shadow .2s;
}
.cicka-checkout form.checkout .form-row textarea { min-height: 96px; padding: 14px 16px; resize: vertical; }
.cicka-checkout form.checkout .select2-container .select2-selection--single { display: flex; align-items: center; height: 48px; }
.cicka-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; color: var(--cc-ink); line-height: 46px; }
.cicka-checkout form.checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 12px; height: 20px; transform: translateY(-50%); }
.cicka-checkout form.checkout .form-row input.input-text:focus,
.cicka-checkout form.checkout .form-row textarea:focus,
.cicka-checkout form.checkout .form-row select:focus,
.cicka-checkout form.checkout .select2-container--focus .select2-selection--single,
.cicka-checkout form.checkout .select2-container--open .select2-selection--single {
	border-color: var(--cc-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(165, 95, 89, .15);
}
.cicka-checkout form.checkout .form-row input.input-text::placeholder,
.cicka-checkout form.checkout .form-row textarea::placeholder { color: #9C8B89; opacity: 1; }
.cicka-checkout form.checkout .form-row.woocommerce-invalid input.input-text,
.cicka-checkout form.checkout .form-row.woocommerce-invalid .select2-selection { border-color: var(--cc-error); }
.cicka-checkout form.checkout .form-row .description {
	display: block !important;
	position: static;
	margin: 6px 0 0;
	padding: 0;
	background: none;
	color: var(--cc-muted);
	font-size: 12px;
	line-height: 1.4;
}
.cicka-checkout form.checkout .form-row .description::before { display: none; }
/* WooCommerce's inline field errors (e.g. under the legal checkboxes). */
.cicka-checkout form.checkout .checkout-inline-error-message {
	margin: 6px 0 0;
	color: var(--cc-error);
	font: 400 12px/1.45 var(--cc-font);
}
.cicka-checkout .wc-gzd-checkbox-placeholder .checkout-inline-error-message { padding-left: 32px; }
.cicka-checkout .wc-gzd-checkbox-placeholder .woocommerce-invalid input[type="checkbox"] { outline: 2px solid var(--cc-error); outline-offset: 1px; }

/* Checkboxes (newsletter opt-in, Germanized legal checkboxes) */
.cicka-checkout form.checkout label.checkbox,
.cicka-checkout form.checkout .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--cc-ink-2);
	font: 400 14px/1.55 var(--cc-font);
	cursor: pointer;
}
.cicka-checkout form.checkout input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--cc-accent);
	cursor: pointer;
}
.cicka-checkout .woocommerce-billing-fields > label.checkbox { margin-top: 20px; }
.cicka-checkout form.checkout label.checkbox a { color: var(--cc-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Coupon ---------- */
.cicka-checkout .woocommerce-form-coupon-toggle { margin: 0 0 20px; }
.cicka-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 14px 20px 14px 50px !important;
	border: 1px dashed var(--cc-line) !important;
	border-radius: 16px;
	background: transparent !important;
	box-shadow: none;
	color: var(--cc-ink-2) !important;
	font: 400 14px/1.5 var(--cc-font);
}
.cicka-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: "" !important;
	top: 50%;
	left: 20px;
	width: 18px;
	height: 18px;
	margin: 0;
	transform: translateY(-50%);
	background: var(--cc-accent);
	font-family: inherit !important;
	-webkit-mask: var(--cc-ico-tag) center / contain no-repeat;
	mask: var(--cc-ico-tag) center / contain no-repeat;
}
.cicka-checkout .woocommerce-form-coupon-toggle .showcoupon { color: var(--cc-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cicka-checkout form.checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: -8px 0 20px;
	padding: 18px 20px;
	border: 1px solid var(--cc-line-soft);
	border-radius: 16px;
	background: #fff;
}
.cicka-checkout form.checkout_coupon > p:not(.form-row) { flex-basis: 100%; margin: 0; color: var(--cc-ink-2); font-size: 14px; }
.cicka-checkout form.checkout_coupon .form-row { float: none; width: auto; margin: 0; padding: 0; }
.cicka-checkout form.checkout_coupon .form-row-first { flex: 1 1 200px; }
.cicka-checkout form.checkout_coupon .clear { display: none; }
.cicka-checkout form.checkout_coupon input.input-text {
	width: 100%;
	height: 44px;
	padding: 0 18px;
	box-sizing: border-box;
	border: 1px solid var(--cc-line);
	border-radius: 999px;
	background: var(--cc-bg);
	color: var(--cc-ink);
	font: 400 14px var(--cc-font);
}
.cicka-checkout form.checkout_coupon .button {
	height: 44px;
	margin: 0;
	padding: 0 22px;
	border: 1px solid var(--cc-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--cc-ink);
	font: 500 14px/1 var(--cc-font);
	letter-spacing: 0;
	text-transform: none;
}
.cicka-checkout form.checkout_coupon .button:hover { border-color: var(--cc-accent); color: var(--cc-accent); background: #fff; }
.cicka-checkout form.checkout_coupon .coupon-error-notice { flex-basis: 100%; margin: 0; color: var(--cc-error); font-size: 13px; }

/* ---------- Express checkout (WooPayments: Google Pay / Amazon Pay) ----------
   Only the container is styled; the buttons are drawn by the provider. */
.cicka-checkout form.checkout > .wcpay-express-checkout-wrapper,
.cicka-checkout .wcpay-express-checkout-wrapper {
	padding: 22px 24px 24px;
	border: 1px solid var(--cc-line-soft);
	border-radius: 20px;
	background: #fff;
}
.cicka-checkout .wcpay-express-checkout-wrapper::before {
	content: var(--cc-express-label);
	display: block;
	margin-bottom: 14px;
	color: var(--cc-ink);
	font: 700 15px/1.3 var(--cc-font);
}
.cicka-checkout #wcpay-express-checkout-button-separator {
	margin: 0 !important;
	background:
		linear-gradient(var(--cc-line-soft), var(--cc-line-soft)) left center / calc(50% - 40px) 1px no-repeat,
		linear-gradient(var(--cc-line-soft), var(--cc-line-soft)) right center / calc(50% - 40px) 1px no-repeat;
	color: var(--cc-muted);
	font: 400 12px/1.4 var(--cc-font);
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* ---------- Payment methods ---------- */
.cicka-checkout #order_review > .ppcp-messages:empty { display: none; }
.cicka-checkout #order_review > .ppcp-messages:not(:empty) {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #FBF4F2;
}
.cicka-checkout #payment {
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: none;
}
.cicka-checkout #payment ul.payment_methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}
.cicka-checkout #payment ul.payment_methods::before,
.cicka-checkout #payment ul.payment_methods::after { display: none; }
.cicka-checkout #payment ul.payment_methods > li {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--cc-line);
	border-radius: 16px;
	background: #fff;
	color: var(--cc-ink);
	font: 400 15px/1.4 var(--cc-font);
	transition: border-color .2s, background-color .2s;
}
.cicka-checkout #payment ul.payment_methods > li:has(> input:checked) {
	border: 1.5px solid var(--cc-accent);
	background: var(--cc-bg);
}
.cicka-checkout #payment ul.payment_methods > li > input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	vertical-align: middle;
	accent-color: var(--cc-accent);
	cursor: pointer;
}
.cicka-checkout #payment ul.payment_methods > li > label {
	display: inline;
	margin: 0;
	color: var(--cc-ink);
	font-weight: 500;
	cursor: pointer;
}
.cicka-checkout #payment ul.payment_methods > li > label img { max-height: 24px; margin: 0 0 0 4px; vertical-align: middle; }
/* The box that holds a provider's card fields: frame only, no arrow. */
.cicka-checkout #payment div.payment_box {
	margin: 12px 0 0 !important;
	padding: 4px 0 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: var(--cc-ink-2);
	font-size: 14px;
}
.cicka-checkout #payment div.payment_box::before { display: none; }
.cicka-checkout #payment div.form-row.place-order { margin: 0; padding: 0; }

/* ---------- Order summary (Germanized order: checkboxes, table, button) ---------- */
.cicka-checkout .wc-gzd-checkbox-placeholder p.form-row { margin: 0 0 12px !important; padding: 0 !important; }
/* Germanized/Astra set these labels inline. Box on the left, text (and the
   required "*", a separate element) flowing inline next to it. */
.cicka-checkout .wc-gzd-checkbox-placeholder label.woocommerce-form__label-for-checkbox,
.cicka-checkout .woocommerce-billing-fields label.woocommerce-form__label-for-checkbox {
	position: relative;
	display: block !important;
	padding: 0 0 0 32px !important;
	line-height: 1.55 !important;
}
.cicka-checkout .wc-gzd-checkbox-placeholder label.woocommerce-form__label-for-checkbox input[type="checkbox"],
.cicka-checkout .woocommerce-billing-fields label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
	position: absolute !important;
	top: 1px;
	left: 0;
	margin: 0 !important;
}
.cicka-checkout .wc-gzd-checkbox-placeholder .woocommerce-form__label-for-checkbox { font-size: 13px; }

.cicka-checkout table.woocommerce-checkout-review-order-table {
	display: block;
	width: 100%;
	margin: 16px 0 0;
	padding: 16px;
	box-sizing: border-box;
	border: 1px solid var(--cc-line-soft) !important;
	border-radius: 16px;
	background: var(--cc-bg);
	font-family: var(--cc-font);
}
.cicka-checkout table.woocommerce-checkout-review-order-table thead { display: none; }
.cicka-checkout table.woocommerce-checkout-review-order-table tbody,
.cicka-checkout table.woocommerce-checkout-review-order-table tfoot { display: block; }
.cicka-checkout table.woocommerce-checkout-review-order-table tr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	border: 0;
	background: none !important;
}
.cicka-checkout table.woocommerce-checkout-review-order-table th,
.cicka-checkout table.woocommerce-checkout-review-order-table td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cc-ink-2);
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}
.cicka-checkout table.woocommerce-checkout-review-order-table td.product-total,
.cicka-checkout table.woocommerce-checkout-review-order-table tfoot td { color: var(--cc-ink); text-align: right; white-space: nowrap; }
.cicka-checkout table.woocommerce-checkout-review-order-table tr.cart_item {
	align-items: center;
	padding: 0 0 14px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--cc-line-soft);
}
.cicka-checkout table.woocommerce-checkout-review-order-table tr.cart_item + tr.cart_item { padding-top: 14px; }
.cicka-checkout table.woocommerce-checkout-review-order-table td.product-name { color: var(--cc-ink); font-size: 15px; font-weight: 500; line-height: 1.35; }
.cicka-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-name-wrapper { display: flex; align-items: center; gap: 14px; }
.cicka-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-thumbnail { flex: none; margin: 0; }
.cicka-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-thumbnail img {
	display: block;
	width: 56px !important;
	max-width: none;
	height: 70px !important;
	object-fit: cover;
	border-radius: 10px;
	background: var(--cc-blush);
}
.cicka-checkout table.woocommerce-checkout-review-order-table .product-quantity { color: var(--cc-muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.cicka-checkout table.woocommerce-checkout-review-order-table td.product-total { font-size: 15px; font-weight: 700; }
.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total th { color: var(--cc-ink); font-size: 15px; font-weight: 700; }
.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total td strong { color: var(--cc-ink); font-size: 24px; font-weight: 700; }
.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total-small-business-notice,
.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total-small-business-notice td { display: block; padding: 0 !important; text-align: left; white-space: normal; }
.cicka-checkout table.woocommerce-checkout-review-order-table .wc-gzd-additional-info,
.cicka-checkout table.woocommerce-checkout-review-order-table .small-business-info {
	margin: 4px 0 0;
	color: var(--cc-muted) !important;
	font-size: 12px !important;
	line-height: 1.5;
	text-align: left;
}

/* Order button ("Buy Now": Germanized wording, kept) */
.cicka-checkout .wc-gzd-order-submit,
.cicka-checkout .wc-gzd-order-submit .form-row.place-order { margin: 0; padding: 0; }
/* No !important on display: payment plugins hide this button with an inline
   style (e.g. PayPal shows its own button instead) and that must win. */
.cicka-checkout #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	float: none !important;
	width: 100% !important;
	min-height: 56px;
	margin: 20px 0 0 !important;
	padding: 0 24px !important;
	box-sizing: border-box;
	border: 0;
	border-radius: 999px !important;
	background: var(--cc-accent) !important;
	color: #fff !important;
	font: 500 16px/1.2 var(--cc-font) !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	box-shadow: none;
	transition: background-color .2s;
}
.cicka-checkout #place_order:hover { background: var(--cc-accent-hover) !important; }
.cicka-checkout #place_order:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 3px; }
.cicka-checkout #place_order::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--cc-ico-lock) center / contain no-repeat;
	mask: var(--cc-ico-lock) center / contain no-repeat;
}
/* PayPal button (shown instead of "Buy Now" when PayPal is chosen): spacing only. */
.cicka-checkout #order_review > .ppc-button-wrapper { margin-top: 16px; }

.cicka-checkout .cc-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	color: var(--cc-ink-2);
	font-size: 12px;
}
.cicka-checkout .cc-trust li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cicka-checkout .cc-trust svg { color: var(--cc-accent); }

/* ---------- Notices (validation errors after "Buy Now", coupon messages) ---------- */
.cicka-checkout .entry-content .woocommerce-message,
.cicka-checkout .entry-content .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info),
.cicka-checkout .entry-content .woocommerce-error {
	position: relative;
	margin: 0 0 12px;
	padding: 16px 22px 16px 58px;
	border: 1px solid var(--cc-line-soft) !important;
	border-radius: 16px;
	background: #FBF4F2 !important;
	box-shadow: 0 6px 20px rgba(58, 43, 43, .05);
	color: var(--cc-ink) !important;
	font: 400 15px/1.5 var(--cc-font);
	list-style: none;
}
.cicka-checkout .entry-content .woocommerce-message::before,
.cicka-checkout .entry-content .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info)::before,
.cicka-checkout .entry-content .woocommerce-error::before {
	content: "" !important;
	position: absolute;
	top: 18px;
	left: 20px;
	width: 24px;
	height: 24px;
	margin: 0;
	background: var(--cc-accent);
	font-family: inherit !important;
	-webkit-mask: var(--cc-ico-check) center / contain no-repeat;
	mask: var(--cc-ico-check) center / contain no-repeat;
}
.cicka-checkout .entry-content .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info) { background: var(--cc-bg) !important; }
.cicka-checkout .entry-content .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info)::before {
	background: var(--cc-ink-2);
	-webkit-mask-image: var(--cc-ico-info);
	mask-image: var(--cc-ico-info);
}
.cicka-checkout .entry-content .woocommerce-error { border-color: #F2CFCA !important; background: #FDF1EF !important; }
.cicka-checkout .entry-content .woocommerce-error::before {
	background: var(--cc-error);
	-webkit-mask-image: var(--cc-ico-alert);
	mask-image: var(--cc-ico-alert);
}
.cicka-checkout .entry-content .woocommerce-error li { margin: 0; padding: 0; }
.cicka-checkout .entry-content .woocommerce-error li + li { margin-top: 4px; }
.cicka-checkout .entry-content .woocommerce-error a,
.cicka-checkout .entry-content .woocommerce-message a { color: var(--cc-accent); font-weight: 500; text-decoration: underline; }
.cicka-checkout .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.cicka-checkout { --cc-aside: 400px; }
	.cicka-checkout form.checkout { gap: 20px 28px; }
	.cicka-checkout .woocommerce-form-coupon-toggle,
	.cicka-checkout form.checkout_coupon,
	.cicka-checkout .entry-content > .woocommerce > .woocommerce-notices-wrapper { max-width: calc(100% - var(--cc-aside) - 28px); }
}
@media (max-width: 921px) {
	.cicka-checkout .cc-hero { padding: 30px 0 32px; }
	.cicka-checkout .cc-hero__title { font-size: 38px; }
	.cicka-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.cicka-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; }
	.cicka-checkout .woocommerce-form-coupon-toggle,
	.cicka-checkout form.checkout_coupon,
	.cicka-checkout .entry-content > .woocommerce > .woocommerce-notices-wrapper { max-width: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 544px) {
	.cicka-checkout .site-content > .ast-container { padding-left: 16px; padding-right: 16px; }
	.cc-wrap { padding: 0 16px; }
	body.cicka-checkout #primary { padding: 20px 0 48px; }
	.cicka-checkout .cc-hero { padding: 24px 0 26px; }
	.cicka-checkout .cc-hero__title { font-size: 30px; }
	.cicka-checkout .cc-hero__intro { font-size: 14px; }
	.cicka-checkout .cc-steps { gap: 8px; margin-bottom: 16px; font-size: 12px; }
	.cicka-checkout .cc-steps li > span,
	.cicka-checkout .cc-steps li > a > span { width: 22px; height: 22px; font-size: 11px; }
	.cicka-checkout .cc-steps .cc-steps__line { width: 22px; }

	.cicka-checkout .woocommerce-billing-fields,
	.cicka-checkout .woocommerce-additional-fields,
	.cicka-checkout .woocommerce-shipping-fields,
	.cicka-checkout .wcpay-express-checkout-wrapper { padding: 20px 16px; border-radius: 18px; }
	.cicka-checkout #order_review { padding: 20px 16px; border-radius: 20px; }
	.cicka-checkout .woocommerce-billing-fields > h3,
	.cicka-checkout .woocommerce-additional-fields > h3,
	.cicka-checkout #order_payment_heading,
	.cicka-checkout #order_review_heading { gap: 10px; font-size: 19px; }
	.cicka-checkout .woocommerce-billing-fields > h3::before,
	.cicka-checkout .woocommerce-additional-fields > h3::before,
	.cicka-checkout #order_payment_heading::before,
	.cicka-checkout #order_review_heading::before { width: 26px; height: 26px; font-size: 13px; }
	.cicka-checkout .woocommerce-billing-fields__field-wrapper,
	.cicka-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.cicka-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
	.cicka-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.cicka-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
	.cicka-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 1; }
	/* 16px stops iOS from zooming into fields. */
	.cicka-checkout form.checkout .form-row input.input-text,
	.cicka-checkout form.checkout .form-row textarea,
	.cicka-checkout form.checkout .form-row select { font-size: 16px; }
	.cicka-checkout table.woocommerce-checkout-review-order-table { padding: 14px; }
	.cicka-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-thumbnail img { width: 48px !important; height: 60px !important; }
	.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total td,
	.cicka-checkout table.woocommerce-checkout-review-order-table tr.order-total td strong { font-size: 22px; }
	.cicka-checkout .entry-content .woocommerce-message,
	.cicka-checkout .entry-content .woocommerce-error { padding: 14px 16px 14px 50px; font-size: 14px; }
	.cicka-checkout .entry-content .woocommerce-message::before,
	.cicka-checkout .entry-content .woocommerce-error::before { left: 16px; top: 15px; width: 22px; height: 22px; }
}
