/*
 * InfraPrep — cart + checkout presentation.
 * Loaded only on is_cart() / is_checkout() (see inc/checkout.php), after
 * WooCommerce's own CSS. Uses the theme variables from style.css.
 * Scoped to form.checkout (classic checkout) and .woocommerce-cart so the
 * order-pay / order-received screens keep WooCommerce's default layout.
 */

.woocommerce-checkout .ip-main h1,
.woocommerce-cart .ip-main h1 {
	font-size: 1.75rem;
	letter-spacing: -0.01em;
	margin: 0 0 1.25rem;
}

/* ---------- Notices above the form (added to cart, login, coupon) ---------- */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-left: 3px solid var(--ip-primary);
	border-radius: 10px;
	color: var(--ip-text);
	font-size: 0.92rem;
	padding: 0.8rem 1rem 0.8rem 2.6rem;
	margin: 0 0 0.75rem;
	box-shadow: none;
	outline: none;
}
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
	top: 0.8rem;
	left: 1rem;
	color: var(--ip-primary);
}
.woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-message { border-left-color: var(--ip-success); }
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-cart .woocommerce-message::before { color: var(--ip-success); }
.woocommerce-checkout .woocommerce-error,
.woocommerce-cart .woocommerce-error { border-left-color: var(--ip-danger); background: #fef3f2; }
.woocommerce-checkout .woocommerce-message .button,
.woocommerce-cart .woocommerce-message .button {
	background: transparent;
	color: var(--ip-primary);
	padding: 0;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: underline;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	border-left-color: var(--ip-border);
	background: transparent;
	border-style: dashed;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { color: var(--ip-muted); }

/* Login / coupon panels opened from the toggles */
.woocommerce-checkout form.woocommerce-form-login,
.woocommerce-checkout form.checkout_coupon {
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-radius: 12px;
	padding: 1.25rem;
	margin: 0 0 1rem;
}

.woocommerce-checkout .woocommerce form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.woocommerce-checkout .woocommerce form.checkout_coupon > p:not(.form-row) { flex: 1 0 100%; margin: 0; color: var(--ip-muted); font-size: 0.9rem; }
.woocommerce-checkout .woocommerce form.checkout_coupon .form-row { float: none; width: auto; margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce form.checkout_coupon .form-row-first { flex: 1 1 12rem; }
.woocommerce-checkout .woocommerce form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.woocommerce-checkout .woocommerce form.checkout_coupon .clear { display: none; }
.woocommerce-checkout .woocommerce form.woocommerce-form-login > p:first-child { margin-top: 0; color: var(--ip-muted); font-size: 0.92rem; }
.woocommerce-checkout .woocommerce form.woocommerce-form-login label:not(.woocommerce-form-login__rememberme) { font-size: 0.875rem; font-weight: 600; }
.woocommerce-cart .woocommerce .return-to-shop .button {
	background: var(--ip-primary);
	color: #fff;
	border-radius: 10px;
	padding: 0.75rem 1.25rem;
	font-weight: 600;
}
.woocommerce-cart .woocommerce .return-to-shop .button:hover { background: var(--ip-primary-dark); color: #fff; }

/* ---------- Checkout grid ---------- */
.woocommerce form.checkout {
	--wc-form-border-color: #cfd4dc;
	--wc-form-border-width: 1px;
	--wc-form-border-radius: 9px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 2.5rem;
	align-items: start;
	margin-top: 1.25rem;
}
.woocommerce form.checkout > * { grid-column: 1; min-width: 0; }
/* checkout.js prepends error notices to the form: keep them at the top of the left column (the summary owns the right column). */
.woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1; }
.woocommerce form.checkout #order_review_heading { display: none; }

@media (min-width: 960px) {
	.woocommerce form.checkout { grid-template-columns: minmax(0, 1fr) 370px; }
	.woocommerce form.checkout > .ip-co-summary {
		grid-column: 2;
		grid-row: 1 / span 40;
		position: sticky;
		top: 1.5rem;
	}
}

/* ---------- Left column: cards ---------- */
.woocommerce form.checkout #customer_details,
.woocommerce form.checkout .certprep-consents,
.woocommerce form.checkout #order_review {
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-radius: 14px;
	padding: 1.5rem;
	margin: 0 0 1.75rem;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.woocommerce form.checkout #customer_details::after { content: ""; display: block; clear: both; }
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce form.checkout .col2-set .col-2:not(:has(input, select, textarea)) { display: none; }

.woocommerce form.checkout #customer_details h3,
.woocommerce form.checkout .ip-co-step {
	font-size: 1.05rem;
	font-weight: 650;
	margin: 0 0 1rem;
	color: var(--ip-text);
}
.woocommerce form.checkout .ip-co-step { margin: 0 0 0.6rem 0.1rem; }

/* Fields */
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 1rem;
}
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1; }
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 2; }
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > #billing_postcode_field { grid-column: 1; }
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > #billing_city_field { grid-column: 2; }
@media (max-width: 480px) {
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row,
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > #billing_postcode_field,
	.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper > #billing_city_field { grid-column: 1; }
}
.woocommerce form.checkout .form-row,
.woocommerce form.checkout .form-row.form-row-first,
.woocommerce form.checkout .form-row.form-row-last,
.woocommerce form.checkout .form-row.form-row-wide {
	float: none;
	width: auto;
	padding: 0;
	margin: 0 0 1rem;
}
.woocommerce form.checkout .woocommerce-billing-fields label,
.woocommerce form.checkout .woocommerce-account-fields label:not(.checkbox) {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ip-text);
	margin: 0 0 0.35rem;
	line-height: 1.3;
}
.woocommerce form.checkout .form-row .required { color: var(--ip-danger); text-decoration: none; border: 0; }
.woocommerce form.checkout .form-row .optional { color: var(--ip-muted); font-weight: 400; }

.woocommerce form.checkout .form-row .input-text,
.woocommerce form.checkout .form-row select,
.woocommerce form.checkout .select2-container .select2-selection--single,
.woocommerce-checkout form.checkout_coupon .input-text,
.woocommerce-checkout form.woocommerce-form-login .input-text {
	width: 100%;
	min-height: 46px;
	padding: 0.65rem 0.85rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ip-text);
	background: #fff;
	border: 1px solid #cfd4dc;
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.woocommerce form.checkout .select2-container .select2-selection--single { padding: 0; display: flex; align-items: center; }
.woocommerce form.checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 2.2rem 0 0.85rem;
	line-height: 44px;
	color: var(--ip-text);
}
.woocommerce form.checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 0.5rem; }
.woocommerce form.checkout .input-text::placeholder { color: #98a2b3; }
.woocommerce form.checkout .input-text:hover,
.woocommerce form.checkout .select2-container .select2-selection--single:hover { border-color: #98a2b3; }
.woocommerce form.checkout .form-row .input-text:focus,
.woocommerce form.checkout .form-row select:focus,
.woocommerce form.checkout .select2-container--focus .select2-selection--single,
.woocommerce form.checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout form.checkout_coupon .input-text:focus,
.woocommerce-checkout form.woocommerce-form-login .input-text:focus {
	outline: none;
	border-color: var(--ip-primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.35);
}
.woocommerce form.checkout .form-row.woocommerce-invalid .input-text,
.woocommerce form.checkout .woocommerce-invalid .select2-selection { border-color: var(--ip-danger); }
.woocommerce form.checkout .form-row.woocommerce-validated .input-text,
.woocommerce form.checkout .form-row.woocommerce-validated select,
.woocommerce form.checkout .form-row.woocommerce-validated .select2-container .select2-selection { border-color: #cfd4dc; }
.woocommerce form.checkout .form-row.woocommerce-validated .select2-container--focus .select2-selection,
.woocommerce form.checkout .form-row.woocommerce-validated .select2-container--open .select2-selection { border-color: var(--ip-primary); }
.woocommerce form.checkout .form-row.woocommerce-validated .input-text:focus { border-color: var(--ip-primary); }

/* ---------- Consent boxes (certprep plugin output: text untouched, only spacing/readability) ---------- */
.woocommerce form.checkout .certprep-consents { padding: 0.5rem 1.5rem; }
.woocommerce form.checkout .certprep-consents .form-row { margin: 0; padding: 1rem 0; }
.woocommerce form.checkout .certprep-consents .form-row + .form-row { border-top: 1px solid var(--ip-border); }
.woocommerce form.checkout .certprep-consents label.checkbox {
	display: block;
	position: relative;
	padding-left: 2rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ip-text);
	font-weight: 400;
	cursor: pointer;
	margin: 0;
}
.woocommerce form.checkout .certprep-consents label.checkbox > input { position: absolute; left: 0; top: 0.15rem; margin: 0; }
.woocommerce form.checkout .certprep-consents label.checkbox > abbr.required,
.woocommerce form.checkout .certprep-consents label.checkbox > .optional { font-size: 0.85rem; }
.woocommerce form.checkout .certprep-consents a { color: var(--ip-primary); text-decoration: underline; text-underline-offset: 2px; }
.woocommerce form.checkout .certprep-consents .woocommerce-invalid label.checkbox { color: var(--ip-danger); }

.woocommerce form.checkout input[type="checkbox"],
.woocommerce form.checkout input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0.2rem 0 0;
	accent-color: var(--ip-primary);
	cursor: pointer;
}
.woocommerce form.checkout input[type="checkbox"]:focus-visible,
.woocommerce form.checkout input[type="radio"]:focus-visible {
	outline: 3px solid rgba(0, 102, 204, 0.45);
	outline-offset: 2px;
}

/* ---------- Payment card ---------- */
.woocommerce form.checkout #order_review { padding: 0; overflow: hidden; }
.woocommerce form.checkout #payment {
	background: transparent;
	border-radius: 0;
}
.woocommerce form.checkout #payment ul.payment_methods {
	padding: 1.25rem 1.5rem;
	margin: 0;
	border-bottom: 1px solid var(--ip-border);
}
.woocommerce form.checkout #payment ul.payment_methods > li { list-style: none; margin: 0; }
.woocommerce form.checkout #payment ul.payment_methods li .woocommerce-info,
.woocommerce form.checkout #payment ul.payment_methods li .woocommerce-notice {
	margin: 0;
	background: var(--ip-bg);
	border: 1px solid var(--ip-border);
	border-left-width: 1px;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--ip-muted);
}
.woocommerce form.checkout #payment ul.payment_methods li .woocommerce-info::before { display: none; }
.woocommerce form.checkout #payment div.payment_box {
	background: var(--ip-bg);
	border: 1px solid var(--ip-border);
	border-radius: 10px;
	color: var(--ip-text);
}
.woocommerce form.checkout #payment div.payment_box::before { display: none; }
.woocommerce form.checkout #payment div.form-row.place-order {
	padding: 1.25rem 1.5rem 1.5rem;
	margin: 0;
	background: #fbfcfd;
}
.woocommerce form.checkout .woocommerce-privacy-policy-text p {
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--ip-muted);
	margin: 0 0 1rem;
}
.woocommerce form.checkout .woocommerce-privacy-policy-text a { color: var(--ip-primary); text-decoration: underline; }

/* Total repeated right above the order button */
.woocommerce form.checkout .ip-co-due {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.9rem 0 0.2rem;
	border-top: 1px solid var(--ip-border);
	font-size: 1.05rem;
	font-weight: 700;
}
.woocommerce form.checkout .ip-co-due-amount { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.woocommerce form.checkout .ip-co-due-note { margin: 0 0 1rem; font-size: 0.85rem; color: var(--ip-muted); }

/* Primary buttons (replace WooCommerce's default purple) */
.woocommerce form.checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	float: none;
	width: 100%;
	min-height: 52px;
	padding: 0.9rem 1.25rem;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.3;
	text-align: center;
	color: #fff;
	background: var(--ip-primary);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
	cursor: pointer;
	transition: background-color 0.15s;
}
.woocommerce form.checkout #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--ip-primary-dark); color: #fff; }
.woocommerce form.checkout #place_order:focus-visible,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible,
.woocommerce-cart .button:focus-visible,
.woocommerce-checkout form.checkout_coupon .button:focus-visible,
.woocommerce-checkout form.woocommerce-form-login .button:focus-visible {
	outline: 3px solid rgba(0, 102, 204, 0.45);
	outline-offset: 2px;
}

/* Secondary buttons (coupon, login) */
.woocommerce-checkout form.checkout_coupon .button,
.woocommerce-checkout form.woocommerce-form-login .button,
.woocommerce-cart .actions .button {
	min-height: 46px;
	padding: 0.6rem 1.1rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ip-text);
	background: #fff;
	border: 1px solid #cfd4dc;
	border-radius: 9px;
}
.woocommerce-checkout form.checkout_coupon .button:hover,
.woocommerce-checkout form.woocommerce-form-login .button:hover,
.woocommerce-cart .actions .button:hover { background: var(--ip-bg); color: var(--ip-text); }

/* ---------- Summary card (right column on desktop, top on mobile) ---------- */
.ip-co-summary {
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-radius: 14px;
	padding: 1.5rem;
	margin: 0 0 1.75rem;
	box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}
.ip-co-eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ip-muted);
}
.ip-co-plan { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.ip-co-price { margin: 0.5rem 0 1.1rem; display: flex; align-items: baseline; gap: 0.4rem; }
.ip-co-amount { font-size: 2rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ip-co-period { color: var(--ip-muted); font-size: 0.95rem; }
.ip-co-features { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.55rem; }
.ip-co-features li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0.6rem; font-size: 0.92rem; line-height: 1.45; }
.ip-co-features svg { width: 18px; height: 18px; color: var(--ip-success); margin-top: 0.1rem; }

/* WooCommerce review table inside the card: only the money lines */
.ip-co-summary .ip-co-totals { border-top: 1px solid var(--ip-border); padding-top: 0.35rem; }
.woocommerce .ip-co-summary table.shop_table {
	width: 100%;
	border: 0;
	border-radius: 0;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.woocommerce .ip-co-summary table.shop_table thead,
.woocommerce .ip-co-summary table.shop_table tbody,
.woocommerce .ip-co-summary table.shop_table tr.wps_recurring_bifurcation_wrapper,
.woocommerce .ip-co-summary table.shop_table tr:empty { display: none; }
.woocommerce .ip-co-summary table.shop_table tfoot th,
.woocommerce .ip-co-summary table.shop_table tfoot td {
	border: 0;
	padding: 0.45rem 0;
	background: transparent;
	font-weight: 400;
	color: var(--ip-muted);
}
.woocommerce .ip-co-summary table.shop_table td { text-align: right; font-variant-numeric: tabular-nums; }
.woocommerce .ip-co-summary table.shop_table tr.order-total th,
.woocommerce .ip-co-summary table.shop_table tr.order-total td {
	border-top: 1px solid var(--ip-border);
	padding-top: 0.75rem;
	color: var(--ip-text);
	font-weight: 700;
	font-size: 1.05rem;
}
.woocommerce .ip-co-summary table.shop_table tr.order-total td strong { font-weight: 700; }
.woocommerce .ip-co-summary table.shop_table .woocommerce-remove-coupon { font-size: 0.8rem; margin-left: 0.3rem; }
.ip-co-cancel {
	margin: 1rem 0 0;
	padding: 0.75rem 0.9rem;
	background: var(--ip-bg);
	border-radius: 10px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--ip-muted);
}

/* Block overlay while WooCommerce refreshes fragments */
.woocommerce form.checkout .blockUI.blockOverlay { border-radius: 14px; }

/* ---------- Cart ---------- */
.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 2.5rem;
	align-items: start;
}
.woocommerce-cart .woocommerce > * { min-width: 0; }
.woocommerce-cart .woocommerce > .wc-empty-cart-message,
.woocommerce-cart .woocommerce > .return-to-shop,
.woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
@media (min-width: 960px) {
	.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr) 370px; }
	.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; }
}
.woocommerce-cart form.woocommerce-cart-form {
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-radius: 14px;
	padding: 0.5rem 1.5rem;
	margin: 0 0 1.75rem;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.woocommerce-cart table.shop_table.cart { border: 0; margin: 0; border-radius: 0; border-collapse: collapse; }
.woocommerce-cart table.shop_table.cart th,
.woocommerce-cart table.shop_table.cart td { border: 0; padding: 1rem 0.5rem; background: transparent; }
.woocommerce-cart table.shop_table.cart thead th {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ip-muted);
	border-bottom: 1px solid var(--ip-border);
}
.woocommerce-cart table.shop_table.cart .product-thumbnail,
.woocommerce-cart table.shop_table.cart .product-quantity { display: none; }
.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--ip-text); font-weight: 600; text-decoration: none; }
.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--ip-primary); text-decoration: underline; }
.woocommerce-cart table.shop_table.cart td.product-remove { width: 2.5rem; }
.woocommerce-cart table.cart a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	font-size: 1.2rem;
	color: var(--ip-muted) !important;
	border: 1px solid var(--ip-border);
}
.woocommerce-cart table.cart a.remove:hover { background: #fef3f2; color: var(--ip-danger) !important; border-color: #fecdca; }
.woocommerce-cart table.shop_table.cart td.actions { border-top: 1px solid var(--ip-border); padding: 1rem 0; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 0.5rem; align-items: stretch; flex-wrap: wrap; }
.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 12rem;
	min-height: 46px;
	padding: 0.6rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1px solid #cfd4dc;
	border-radius: 9px;
	margin: 0;
}
.woocommerce-cart table.cart td.actions .coupon .input-text:focus {
	outline: none;
	border-color: var(--ip-primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.35);
}
/* Quantity is fixed (single subscription): the "Update cart" button has nothing to update. */
.woocommerce-cart table.cart td.actions > .button[name="update_cart"] { display: none; }

.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	background: var(--ip-card-bg);
	border: 1px solid var(--ip-border);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 1.05rem; font-weight: 650; margin: 0 0 0.5rem; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin: 0 0 1rem; border-radius: 0; border-collapse: collapse; }
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	border: 0;
	padding: 0.45rem 0;
	background: transparent;
	font-weight: 400;
	color: var(--ip-muted);
}
.woocommerce-cart .cart_totals table.shop_table td { text-align: right; font-variant-numeric: tabular-nums; }
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
	border-top: 1px solid var(--ip-border);
	padding-top: 0.75rem;
	color: var(--ip-text);
	font-weight: 700;
	font-size: 1.05rem;
}
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin: 0; }

/* WooCommerce's small-screen table stacking (woocommerce-smallscreen.css, <= 768px) */
.woocommerce-cart table.shop_table.cart thead th,
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-subtotal { white-space: nowrap; }
@media (max-width: 768px) {
	.woocommerce-cart form.woocommerce-cart-form { padding: 0.5rem 1.25rem; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr,
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr:nth-child(2n) td,
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr:nth-child(2n) td { background: transparent; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 0.75rem 0; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td { display: block; padding: 0.3rem 0; text-align: left !important; } /* smallscreen.css forces right with !important */
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-name { grid-column: 1; grid-row: 1; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-remove { grid-column: 2; grid-row: 1; width: auto; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-price { grid-column: 1 / -1; color: var(--ip-muted); }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-subtotal,
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-thumbnail,
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-quantity { display: none; }
	.woocommerce-cart .woocommerce table.shop_table_responsive.cart tr td.actions { text-align: left; padding: 1rem 0; }
	.woocommerce-cart .woocommerce table.cart td.actions .coupon { display: flex; flex-direction: column; gap: 0.5rem; float: none; }
	.woocommerce-cart .woocommerce table.cart td.actions .coupon::before,
	.woocommerce-cart .woocommerce table.cart td.actions .coupon::after { display: none; }
	.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text,
	.woocommerce-cart .woocommerce table.cart td.actions .coupon .button { width: 100%; float: none; margin: 0; }
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr { display: table-row; }
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr th,
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td { display: table-cell; }
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td { text-align: right; }
	.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td::before { display: none; }
	.woocommerce-cart .cart-collaterals .cart_totals { padding: 1.25rem; }
}

@media (max-width: 480px) {
	.woocommerce form.checkout #customer_details,
	.ip-co-summary { padding: 1.25rem; }
	.woocommerce form.checkout .certprep-consents { padding: 0.25rem 1.25rem; }
	.woocommerce form.checkout #payment ul.payment_methods { padding: 1rem 1.25rem; }
	.woocommerce form.checkout #payment div.form-row.place-order { padding: 1rem 1.25rem 1.25rem; }
	.woocommerce-checkout .ip-main h1,
	.woocommerce-cart .ip-main h1 { font-size: 1.5rem; }
}
