/**
 * CannaGreen Cart & Checkout.
 *
 * @package CannaGreen_Express
 */

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #163f2e;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	width: 100%;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
	margin: 0 0 22px;
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.04;
	font-weight: 850;
	letter-spacing: -0.06em;
	color: #163f2e;
}

.woocommerce-cart h2,
.woocommerce-checkout h2,
.woocommerce-cart h3,
.woocommerce-checkout h3 {
	color: #163f2e;
	letter-spacing: -0.045em;
}

.woocommerce-cart .woocommerce-notices-wrapper:empty,
.woocommerce-checkout .woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
	position: relative;
	margin: 0 0 18px !important;
	padding: 14px 18px 14px 52px !important;
	border: 1px solid rgba(22, 63, 46, 0.12) !important;
	border-radius: 14px !important;
	background: rgba(255, 255, 255, 0.72) !important;
	color: #163f2e !important;
	box-shadow: 0 10px 28px rgba(16, 45, 33, 0.07) !important;
	font-size: 14px;
	line-height: 1.55;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	outline: none !important;
}

.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error {
	border-color: rgba(161, 38, 38, 0.20) !important;
	background: #fffafa !important;
	color: #a12626 !important;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-error::before {
	position: absolute;
	top: 50%;
	left: 18px;
	margin: 0;
	transform: translateY(-50%);
	line-height: 1;
}

/* Cart */
.cgx-cart-wrapper {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
	gap: 26px;
	align-items: start;
	width: 100%;
}

.cgx-cart-wrapper.is-loading {
	opacity: 0.58;
	pointer-events: none;
}

.cgx-cart-box,
.cgx-cart-summary,
.cgx-checkout-card,
.cgx-checkout-summary {
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 4px 12px rgba(16, 45, 33, 0.045);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-sizing: border-box;
}

.cgx-cart-box {
	padding: 22px;
}

.cgx-cart-summary {
	position: sticky;
	top: 24px;
	padding: 24px;
}

.cgx-cart-item {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 22px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10);
}

.cgx-cart-item:first-child {
	padding-top: 0;
}

.cgx-cart-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.cgx-cart-item-image img {
	display: block;
	width: 118px;
	height: 118px;
	object-fit: contain;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-cart-item-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
}

.cgx-cart-item-title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 650;
	color: #163f2e;
}

.cgx-cart-item-title a {
	color: #163f2e;
	text-decoration: none;
}

.cgx-cart-item-title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cgx-cart-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 12px;
	line-height: 1.5;
	color: #5b625a;
}

.cgx-cart-stock {
	color: #1f6b2a;
	font-weight: 700;
}

.cgx-cart-item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.cgx-cart-item-price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #163f2e;
}

.cgx-cart-price-unit {
	font-size: 12px;
	color: #5b625a;
}

.cgx-cart-price-subtotal {
	font-size: 21px;
	font-weight: 800;
	color: #163f2e;
}

.cgx-cart-item-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}

.cgx-cart-wishlist,
.cgx-cart-wishlist a,
.cgx-cart-remove {
	border: 0;
	background: transparent !important;
	color: #163f2e !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 0;
	box-shadow: none !important;
}

.cgx-cart-remove:hover,
.cgx-cart-wishlist a:hover {
	color: #102d21 !important;
}

.cgx-cart-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 3px;
	border-radius: 999px;
	background: #f7f3ea;
	border: 1px solid rgba(22, 63, 46, 0.12);
}

.cgx-cart-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	color: #163f2e !important;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
}

.cgx-cart-qty-btn:hover {
	background: rgba(22, 63, 46, 0.08) !important;
}

.cgx-cart-qty-input {
	width: 42px !important;
	height: 34px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	color: #163f2e;
	box-shadow: none !important;
	-moz-appearance: textfield;
}

.cgx-cart-qty-input::-webkit-outer-spin-button,
.cgx-cart-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cgx-cart-summary-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.cgx-cart-summary-title {
	margin-bottom: 4px;
	font-size: 22px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #163f2e;
}

.cgx-cart-summary-subtitle {
	font-size: 13px;
	line-height: 1.5;
	color: #5b625a;
}

.cgx-cart-summary-total {
	font-size: 20px;
	font-weight: 850;
	color: #163f2e;
	text-align: right;
	white-space: nowrap;
}

.cgx-cart-divider {
	height: 1px;
	background: rgba(22, 63, 46, 0.10);
	margin: 18px 0;
}

.cgx-cart-total-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cgx-cart-total-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	color: #5b625a;
}

.cgx-cart-total-row strong {
	color: #163f2e;
	font-weight: 800;
	text-align: right;
}

.cgx-cart-total-row--grand {
	margin-top: 6px;
	padding-top: 16px;
	border-top: 1px solid rgba(22, 63, 46, 0.10);
	font-size: 18px;
	color: #163f2e;
}

.cgx-cart-total-row--grand strong {
	font-size: 20px;
}

.cgx-cart-shipping-block {
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-cart-shipping-title {
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 800;
	color: #163f2e;
}

.cgx-cart-shipping-methods {
	font-size: 13px;
	line-height: 1.55;
	color: #5b625a;
}

.cgx-cart-shipping-methods ul,
.cgx-cart-shipping-methods li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cgx-cart-shipping-methods li {
	margin-bottom: 8px;
}

.cgx-cart-shipping-methods li:last-child {
	margin-bottom: 0;
}

.cgx-cart-shipping-methods label {
	display: inline;
	color: #163f2e;
	font-weight: 700;
}

.cgx-cart-shipping-methods input[type="radio"] {
	margin-right: 7px;
	accent-color: #163f2e;
}

.cgx-cart-coupon {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(22, 63, 46, 0.10);
}

.cgx-cart-coupon-label {
	display: block;
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 800;
	color: #163f2e;
}

.cgx-cart-coupon-form {
	display: flex;
}

.cgx-cart-coupon-form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 15px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-right: 0 !important;
	border-radius: 999px 0 0 999px !important;
	background: #fff !important;
	color: #163f2e;
	font-size: 14px;
	box-shadow: none !important;
}

.cgx-cart-coupon-form button {
	flex: 0 0 105px;
	border-radius: 0 999px 999px 0 !important;
}

.cgx-cart-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

.woocommerce-cart .cgx-cart-actions .button,
.woocommerce-cart .cgx-cart-coupon-form .button,
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-checkout #place_order,
.woocommerce-cart .cgx-cart-empty .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	color: #f7f3ea !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.woocommerce-cart .cgx-cart-actions .button:hover,
.woocommerce-cart .cgx-cart-coupon-form .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-cart .cgx-cart-empty .button:hover {
	background: #102d21 !important;
	color: #f7f3ea !important;
}

.cgx-cart-checkout-btn {
	width: 100%;
	min-height: 52px !important;
}

.cgx-cart-update-button {
	background: rgba(22, 63, 46, 0.08) !important;
	color: #163f2e !important;
}

.cgx-cart-update-button:hover {
	background: rgba(22, 63, 46, 0.13) !important;
	color: #163f2e !important;
}

.cgx-cart-inline-message {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9999;
	display: none;
	max-width: min(420px, calc(100vw - 32px));
	padding: 13px 16px;
	border-radius: 999px;
	background: #163f2e;
	color: #f7f3ea;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	transform: translateX(-50%);
	box-shadow: 0 14px 32px rgba(16, 45, 33, 0.18);
}

.cgx-cart-inline-message.is-error {
	background: #a12626;
}

.cgx-cart-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 34px 26px;
	text-align: center;
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 4px 12px rgba(16, 45, 33, 0.045);
}

.cgx-cart-empty-title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: #163f2e;
}

.cgx-cart-empty-text {
	margin: 0 0 20px;
	font-size: 15px;
	color: #5b625a;
}

/* Checkout */
.cgx-checkout-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
	gap: 28px;
	align-items: start;
}

.cgx-checkout-card,
.cgx-checkout-summary {
	padding: 26px;
}

.cgx-checkout-summary {
	position: sticky;
	top: 24px;
}

.cgx-checkout-card-head {
	margin-bottom: 24px;
}

.cgx-checkout-card-head h2,
.cgx-checkout-summary-head h2 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: #163f2e;
}

.cgx-checkout-card-head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #5b625a;
}

.cgx-checkout-section {
	margin-top: 24px;
}

.cgx-checkout-section:first-child {
	margin-top: 0;
}

.cgx-checkout-section h3 {
	margin: 0 0 16px;
	font-size: 21px;
	line-height: 1.25;
	font-weight: 800;
	color: #163f2e;
}

.cgx-checkout-fields .woocommerce-billing-fields__field-wrapper,
.cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper,
.cgx-checkout-fields .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px 18px;
}

.woocommerce-checkout .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.cgx-checkout-fields .form-row {
	margin: 0 !important;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #order_comments_field {
	grid-column: 1 / -1;
}

.woocommerce-checkout label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	color: #163f2e;
}

.woocommerce-checkout .required {
	color: #c8a96a;
	text-decoration: none;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 0 15px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #163f2e !important;
	font-size: 14px;
	box-shadow: none !important;
	box-sizing: border-box;
}

.woocommerce-checkout textarea {
	min-height: 112px;
	padding: 14px 15px !important;
	resize: vertical;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-container--open .select2-selection--single {
	outline: none !important;
	border-color: #163f2e !important;
	box-shadow: 0 0 0 3px rgba(22, 63, 46, 0.10) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 !important;
	line-height: 46px;
	color: #163f2e;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 9px;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 650;
	color: #5b625a;
}

.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
	accent-color: #163f2e;
}

.cgx-checkout-summary-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.cgx-checkout-summary-head a {
	color: #163f2e;
	font-size: 13px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cgx-checkout-review table.shop_table {
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-collapse: separate !important;
	border-spacing: 0;
}

.cgx-checkout-review table.shop_table th,
.cgx-checkout-review table.shop_table td {
	padding: 13px 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10) !important;
	color: #163f2e;
	font-size: 14px;
	line-height: 1.5;
}

.cgx-checkout-review table.shop_table thead th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.055em;
	font-weight: 850;
}

.cgx-checkout-review table.shop_table tr:last-child th,
.cgx-checkout-review table.shop_table tr:last-child td {
	border-bottom: 0 !important;
}

.cgx-checkout-review table.shop_table .product-name {
	font-weight: 700;
}

.cgx-checkout-review table.shop_table .product-total,
.cgx-checkout-review table.shop_table tfoot td {
	text-align: right;
	font-weight: 800;
}

.cgx-checkout-review table.shop_table tfoot tr.order-total th,
.cgx-checkout-review table.shop_table tfoot tr.order-total td {
	font-size: 18px;
	font-weight: 900;
}

.woocommerce-checkout #payment {
	margin-top: 22px;
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 16px !important;
	background: #f7f3ea !important;
	overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0 !important;
	padding: 16px !important;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10) !important;
	background: transparent !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	display: block;
	margin: 0;
	padding: 14px 15px 14px 44px;
	border: 1px solid rgba(22, 63, 46, 0.14);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	position: relative;
	font-size: 14px;
	font-weight: 800;
	color: #163f2e;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.woocommerce-checkout #payment ul.payment_methods li label::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 15px;
	width: 17px;
	height: 17px;
	border: 1.5px solid #163f2e;
	border-radius: 50%;
	box-sizing: border-box;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked + label {
	border-color: #163f2e;
	background: #fff;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked + label::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 20px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #163f2e;
}

.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 0 !important;
	padding: 12px 14px !important;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72) !important;
	color: #5b625a !important;
	font-size: 13px;
	line-height: 1.6;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: rgba(255, 255, 255, 0.72) !important;
}

.woocommerce-checkout #payment div.form-row {
	margin: 0 !important;
	padding: 16px !important;
}

.woocommerce-checkout #place_order {
	width: 100%;
	min-height: 52px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.6;
	color: #5b625a;
}

.cgx-checkout-summary.is-updated {
	box-shadow: 0 8px 18px rgba(16, 45, 33, 0.075);
}

/* Standard Woo fallback if any default template part is still used */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	border-color: rgba(22, 63, 46, 0.10) !important;
}

/* Responsive */
@media (max-width: 1024px) {
	.cgx-cart-wrapper,
	.cgx-checkout-wrapper {
		grid-template-columns: 1fr;
	}

	.cgx-cart-summary,
	.cgx-checkout-summary {
		position: static;
	}
}

@media (max-width: 767px) {
	.woocommerce-cart h1,
	.woocommerce-checkout h1,
	.woocommerce-cart .entry-title,
	.woocommerce-checkout .entry-title {
		font-size: 34px;
		margin-bottom: 18px;
	}

	.cgx-cart-box,
	.cgx-cart-summary,
	.cgx-checkout-card,
	.cgx-checkout-summary {
		padding: 18px;
		border-radius: 14px;
	}

	.cgx-cart-item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 14px;
		padding: 18px 0;
	}

	.cgx-cart-item-image img {
		width: 82px;
		height: 82px;
	}

	.cgx-cart-item-title {
		font-size: 15px;
	}

	.cgx-cart-item-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.cgx-cart-item-actions {
		justify-content: flex-start;
		gap: 12px;
	}

	.cgx-cart-price-subtotal {
		font-size: 18px;
	}

	.cgx-cart-summary-title {
		font-size: 20px;
	}

	.cgx-cart-summary-total {
		font-size: 18px;
	}

	.cgx-cart-coupon-form {
		display: grid;
		grid-template-columns: 1fr auto;
	}

	.cgx-cart-coupon-form input {
		min-width: 0;
	}

	.cgx-cart-coupon-form button {
		flex-basis: auto;
		min-width: 86px;
		padding-inline: 16px !important;
	}

	.cgx-checkout-card-head h2,
	.cgx-checkout-summary-head h2 {
		font-size: 24px;
	}

	.cgx-checkout-fields .woocommerce-billing-fields__field-wrapper,
	.cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper,
	.cgx-checkout-fields .woocommerce-additional-fields__field-wrapper {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.woocommerce-checkout .form-row-wide,
	.woocommerce-checkout #billing_address_1_field,
	.woocommerce-checkout #billing_address_2_field,
	.woocommerce-checkout #shipping_address_1_field,
	.woocommerce-checkout #shipping_address_2_field,
	.woocommerce-checkout #billing_email_field,
	.woocommerce-checkout #billing_phone_field,
	.woocommerce-checkout #order_comments_field {
		grid-column: auto;
	}

	.woocommerce-cart .woocommerce-message,
	.woocommerce-cart .woocommerce-info,
	.woocommerce-cart .woocommerce-error,
	.woocommerce-checkout .woocommerce-message,
	.woocommerce-checkout .woocommerce-info,
	.woocommerce-checkout .woocommerce-error {
		padding: 12px 14px 12px 46px !important;
		border-radius: 12px !important;
		font-size: 13px;
	}

	.woocommerce-cart .woocommerce-message::before,
	.woocommerce-cart .woocommerce-info::before,
	.woocommerce-cart .woocommerce-error::before,
	.woocommerce-checkout .woocommerce-message::before,
	.woocommerce-checkout .woocommerce-info::before,
	.woocommerce-checkout .woocommerce-error::before {
		left: 15px;
	}

	.cgx-cart-inline-message {
		bottom: 14px;
	}
}

@media (max-width: 440px) {
	.cgx-cart-item {
		grid-template-columns: 1fr;
	}

	.cgx-cart-item-image img {
		width: 100%;
		max-width: 120px;
		height: 120px;
	}
}


/* CGX cart coupon and AJAX actions fix 1.0.53 */
.cgx-cart-coupon-form {
	position: relative;
	display: block;
	width: 100%;
}

.cgx-cart-coupon-form input {
	width: 100% !important;
	height: 50px;
	padding: 0 132px 0 18px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box;
}

.cgx-cart-coupon-form button {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	min-width: 118px;
	height: 50px;
	min-height: 50px !important;
	border-radius: 999px !important;
	padding: 0 24px !important;
}

.cgx-cart-update-button {
	display: none !important;
}

.cgx-cart-actions {
	margin-top: 20px;
}

@media (max-width: 767px) {
	.cgx-cart-coupon-form {
		display: block !important;
		grid-template-columns: none !important;
	}

	.cgx-cart-coupon-form input {
		height: 48px;
		padding-right: 112px !important;
	}

	.cgx-cart-coupon-form button {
		min-width: 98px;
		height: 48px;
		min-height: 48px !important;
		padding: 0 18px !important;
	}
}


/* CGX applied coupon display 1.0.54 */
.cgx-cart-applied-coupons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.cgx-cart-applied-coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-cart-applied-coupon-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cgx-cart-applied-coupon-label {
	font-size: 11px;
	line-height: 1.35;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.055em;
	color: #5b625a;
}

.cgx-cart-applied-coupon-code {
	font-size: 14px;
	line-height: 1.35;
	font-weight: 900;
	color: #163f2e;
	word-break: break-word;
}

.cgx-cart-applied-coupon-discount {
	font-size: 13px;
	line-height: 1.45;
	color: #1f6b2a;
	font-weight: 700;
}

.cgx-cart-remove-coupon {
	flex: 0 0 auto;
	color: #a12626 !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.cgx-cart-remove-coupon:hover {
	color: #7f1d1d !important;
}

.cgx-cart-total-row--coupon span,
.cgx-cart-total-row--coupon strong {
	color: #1f6b2a;
}

.cgx-cart-total-row--coupon .woocommerce-remove-coupon {
	display: none;
}

@media (max-width: 767px) {
	.cgx-cart-applied-coupon {
		align-items: flex-start;
	}
}


/* CGX cart shipping methods cards 1.0.55 */
.cgx-cart-shipping-block {
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-cart-shipping-title {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 800;
	color: #163f2e;
}

.cgx-cart-shipping-methods {
	font-size: 13px;
	line-height: 1.45;
	color: #5b625a;
}

.cgx-cart-shipping-methods ul,
.cgx-cart-shipping-methods #shipping_method {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-cart-shipping-methods li {
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-cart-shipping-methods li input[type="radio"] {
	position: absolute;
	top: 50%;
	left: 14px;
	z-index: 2;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	opacity: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.cgx-cart-shipping-methods li label {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 46px;
	margin: 0 !important;
	padding: 12px 14px 12px 42px !important;
	border: 1px solid rgba(22, 63, 46, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.70);
	box-sizing: border-box;
	color: #163f2e;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cgx-cart-shipping-methods li label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(22, 63, 46, 0.55);
	border-radius: 999px;
	background: #fff;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.cgx-cart-shipping-methods li label::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #163f2e;
	opacity: 0;
	transform: translateY(-50%);
}

.cgx-cart-shipping-methods li input[type="radio"]:checked + label {
	border-color: rgba(22, 63, 46, 0.36);
	background: #ffffff;
	box-shadow: 0 4px 10px rgba(16, 45, 33, 0.045);
}

.cgx-cart-shipping-methods li input[type="radio"]:checked + label::before {
	border-color: #163f2e;
}

.cgx-cart-shipping-methods li input[type="radio"]:checked + label::after {
	opacity: 1;
}

/* When WooCommerce outputs only one shipping method without a radio input. */
.cgx-cart-shipping-methods li:not(:has(input[type="radio"])) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 12px 14px !important;
	border: 1px solid rgba(22, 63, 46, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.70);
	box-sizing: border-box;
	color: #163f2e;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
}

.cgx-cart-shipping-methods .woocommerce-Price-amount,
.cgx-cart-shipping-methods .amount {
	margin-left: auto;
	color: #163f2e;
	font-weight: 850;
	white-space: nowrap;
}

.cgx-cart-shipping-methods .woocommerce-shipping-destination,
.cgx-cart-shipping-methods .woocommerce-shipping-calculator {
	margin: 10px 0 0 !important;
	font-size: 12px;
	line-height: 1.5;
	color: #5b625a;
}

.cgx-cart-shipping-methods .shipping-calculator-button {
	color: #163f2e;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.cgx-cart-shipping-methods li label {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
		padding: 12px 14px 12px 42px !important;
	}

	.cgx-cart-shipping-methods .woocommerce-Price-amount,
	.cgx-cart-shipping-methods .amount {
		margin-left: 0;
	}
}


/* CGX cart shipping free/single state and auto update 1.0.56 */
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free label,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single label {
	padding-left: 14px !important;
	cursor: default;
}

.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free label::before,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free label::after,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single label::before,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single label::after {
	display: none !important;
}

.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free input,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single input {
	display: none !important;
}

.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free label,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single label,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free,
.cgx-cart-shipping-methods li.cgx-cart-shipping-method--single {
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
	min-height: auto;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.cgx-cart-shipping-methods li.cgx-cart-shipping-method--free label {
	color: #163f2e;
	font-weight: 850;
}

.cgx-cart-shipping-methods li:not(.cgx-cart-shipping-method--free):not(.cgx-cart-shipping-method--single) label {
	min-height: 44px;
	padding-top: 11px !important;
	padding-bottom: 11px !important;
}

.cgx-cart-shipping-methods li:not(.cgx-cart-shipping-method--free):not(.cgx-cart-shipping-method--single) label:hover {
	border-color: rgba(22, 63, 46, 0.28);
	background: #fff;
}

.cgx-cart-wrapper.is-loading .cgx-cart-shipping-methods {
	opacity: 0.7;
	pointer-events: none;
}


/* CGX cart shipping checkout note 1.0.57 */
.cgx-cart-shipping-block--checkout-note {
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-cart-shipping-block--checkout-note .cgx-cart-shipping-title {
	margin-bottom: 6px;
}

.cgx-cart-shipping-note {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #5b625a;
}

.cgx-cart-shipping-block--checkout-note .cgx-cart-shipping-methods {
	display: none !important;
}


/* CGX compact cart item 1.0.58 */
.cgx-cart-item {
	grid-template-columns: 95px minmax(0, 1fr);
	gap: 18px;
	padding: 18px 0;
}

.cgx-cart-item-image img {
	width: 95px;
	height: 95px;
}

.cgx-cart-item-title {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 650;
}

.cgx-cart-price-unit {
	font-size: 11px;
}

.cgx-cart-price-subtotal {
	font-size: 18px;
	line-height: 1.25;
}

.cgx-cart-item-content {
	gap: 14px;
}

.cgx-cart-item-bottom {
	gap: 14px;
}

@media (max-width: 767px) {
	.cgx-cart-item {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 13px;
		padding: 16px 0;
	}

	.cgx-cart-item-image img {
		width: 76px;
		height: 76px;
	}

	.cgx-cart-item-title {
		font-size: 14px;
	}

	.cgx-cart-price-subtotal {
		font-size: 16px;
	}
}


/* CGX plain empty cart 1.0.59 */
.cgx-cart-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 18px 0;
	text-align: center;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.cgx-cart-empty-title {
	margin: 0 0 10px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: #163f2e;
}

.cgx-cart-empty-text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.7;
	color: #5b625a;
}

@media (max-width: 767px) {
	.cgx-cart-empty {
		padding: 10px 0;
	}

	.cgx-cart-empty-title {
		font-size: 24px;
	}
}




/* CGX total weight and coupon label fix 1.0.63 */
.cgx-cart-total-row--grand span,
.cgx-cart-total-row--grand strong {
	font-weight: 900 !important;
}

.cgx-cart-total-row--grand span {
	color: #163f2e;
}


/* CGX checkout coupon and shipping polish 1.0.64 */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
	display: none !important;
}

.cgx-checkout-coupon {
	margin: 0 0 18px;
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-checkout-coupon-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.35;
	color: #163f2e;
}

.cgx-checkout-coupon-form {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.cgx-checkout-coupon-field {
	position: relative;
	display: block;
	width: 100%;
}

.cgx-checkout-coupon-field input {
	width: 100% !important;
	height: 50px;
	padding: 0 132px 0 18px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box;
	font-size: 14px;
	color: #163f2e;
}

.cgx-checkout-coupon-field button {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	min-width: 118px;
	height: 50px;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	color: #fff !important;
	font-weight: 850 !important;
}

/* Hide duplicate/extra checkout headings where Woo outputs its own billing title. */
.cgx-checkout-section--billing > h3:first-child + h3,
.cgx-checkout-section--billing > h3:empty {
	display: none !important;
}

/* Checkout shipping methods as clean selectable cards. */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table .shipping td,
.cgx-checkout-review .woocommerce-shipping-totals td,
.cgx-checkout-review .shipping td {
	padding-top: 10px !important;
}

.woocommerce-checkout-review-order-table #shipping_method,
.cgx-checkout-review #shipping_method {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-checkout-review-order-table #shipping_method li,
.cgx-checkout-review #shipping_method li {
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-checkout-review-order-table #shipping_method li input[type="radio"],
.cgx-checkout-review #shipping_method li input[type="radio"] {
	position: absolute;
	top: 50%;
	left: 14px;
	z-index: 2;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	opacity: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.woocommerce-checkout-review-order-table #shipping_method li label,
.cgx-checkout-review #shipping_method li label {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 46px;
	margin: 0 !important;
	padding: 12px 14px 12px 42px !important;
	border: 1px solid rgba(22, 63, 46, 0.12);
	border-radius: 12px;
	background: #f7f3ea;
	box-sizing: border-box;
	color: #163f2e;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce-checkout-review-order-table #shipping_method li label::before,
.cgx-checkout-review #shipping_method li label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(22, 63, 46, 0.55);
	border-radius: 999px;
	background: #fff;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.woocommerce-checkout-review-order-table #shipping_method li label::after,
.cgx-checkout-review #shipping_method li label::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #163f2e;
	opacity: 0;
	transform: translateY(-50%);
}

.woocommerce-checkout-review-order-table #shipping_method li input[type="radio"]:checked + label,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label {
	border-color: rgba(22, 63, 46, 0.36);
	background: #fff;
	box-shadow: 0 4px 10px rgba(16, 45, 33, 0.045);
}

.woocommerce-checkout-review-order-table #shipping_method li input[type="radio"]:checked + label::before,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label::before {
	border-color: #163f2e;
}

.woocommerce-checkout-review-order-table #shipping_method li input[type="radio"]:checked + label::after,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label::after {
	opacity: 1;
}

.woocommerce-checkout-review-order-table #shipping_method .amount,
.cgx-checkout-review #shipping_method .amount {
	margin-left: auto;
	color: #163f2e;
	font-weight: 850;
	white-space: nowrap;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-destination,
.woocommerce-checkout-review-order-table .woocommerce-shipping-calculator,
.cgx-checkout-review .woocommerce-shipping-destination,
.cgx-checkout-review .woocommerce-shipping-calculator {
	margin: 10px 0 0 !important;
	font-size: 12px;
	line-height: 1.5;
	color: #5b625a;
}

@media (max-width: 767px) {
	.cgx-checkout-coupon-field input {
		height: 48px;
		padding-right: 112px !important;
	}

	.cgx-checkout-coupon-field button {
		min-width: 98px;
		height: 48px;
		min-height: 48px !important;
		padding: 0 18px !important;
	}

	.woocommerce-checkout-review-order-table #shipping_method li label,
	.cgx-checkout-review #shipping_method li label {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
		padding: 12px 14px 12px 42px !important;
	}

	.woocommerce-checkout-review-order-table #shipping_method .amount,
	.cgx-checkout-review #shipping_method .amount {
		margin-left: 0;
	}
}


/* CGX checkout review order layout fixes 1.0.65 */
.cgx-checkout-coupon-row td,
.cgx-checkout-shipping-row td {
	padding: 12px 0 !important;
}

.cgx-checkout-coupon-row td::before,
.cgx-checkout-shipping-row td::before {
	display: none !important;
}

.cgx-checkout-coupon {
	margin: 0;
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-checkout-coupon-title,
.cgx-checkout-shipping-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.35;
	color: #163f2e;
}

.cgx-checkout-coupon-field {
	position: relative;
	display: block;
	width: 100%;
}

.cgx-checkout-coupon-field input {
	width: 100% !important;
	height: 50px;
	padding: 0 132px 0 18px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box;
	font-size: 14px;
	color: #163f2e;
}

.cgx-checkout-coupon-field button {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	min-width: 118px;
	height: 50px;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	color: #fff !important;
	font-weight: 850 !important;
}

.cgx-checkout-coupon.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.cgx-checkout-discount-row th,
.cgx-checkout-discount-row td,
.cgx-checkout-discount-row .amount {
	color: #1f6b2a !important;
	font-weight: 800 !important;
}

.cgx-checkout-discount-row .woocommerce-remove-coupon {
	display: none !important;
}

.cgx-checkout-shipping-block {
	padding: 14px;
	border-radius: 14px;
	background: #f7f3ea;
}

.cgx-checkout-shipping-methods ul,
.cgx-checkout-shipping-methods #shipping_method,
.cgx-checkout-review #shipping_method {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-checkout-shipping-methods li,
.cgx-checkout-review #shipping_method li {
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-checkout-shipping-methods li input[type="radio"],
.cgx-checkout-review #shipping_method li input[type="radio"] {
	position: absolute;
	top: 50%;
	left: 14px;
	z-index: 2;
	width: 16px !important;
	height: 16px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.cgx-checkout-shipping-methods li label,
.cgx-checkout-review #shipping_method li label {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 46px;
	margin: 0 !important;
	padding: 12px 14px 12px 42px !important;
	border: 1px solid rgba(22, 63, 46, 0.12);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
	color: #163f2e;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
	cursor: pointer;
}

.cgx-checkout-shipping-methods li label::before,
.cgx-checkout-review #shipping_method li label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(22, 63, 46, 0.55);
	border-radius: 999px;
	background: #fff;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.cgx-checkout-shipping-methods li label::after,
.cgx-checkout-review #shipping_method li label::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #163f2e;
	opacity: 0;
	transform: translateY(-50%);
}

.cgx-checkout-shipping-methods li input[type="radio"]:checked + label,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label {
	border-color: rgba(22, 63, 46, 0.36);
	box-shadow: 0 4px 10px rgba(16, 45, 33, 0.045);
}

.cgx-checkout-shipping-methods li input[type="radio"]:checked + label::after,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label::after {
	opacity: 1;
}

.cgx-checkout-shipping-methods .amount,
.cgx-checkout-review #shipping_method .amount {
	margin-left: auto;
	color: #163f2e;
	font-weight: 850;
	white-space: nowrap;
}

/* Fix Ship to a different address checkbox row. */
.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address {
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #163f2e !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1.35 !important;
	cursor: pointer;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address input[type="checkbox"] {
	position: static !important;
	display: inline-block !important;
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(22, 63, 46, 0.28) !important;
	border-radius: 4px !important;
	background: #fff !important;
	box-shadow: none !important;
	flex: 0 0 18px !important;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address span {
	display: inline !important;
}

@media (max-width: 767px) {
	.cgx-checkout-coupon-field input {
		height: 48px;
		padding-right: 112px !important;
	}

	.cgx-checkout-coupon-field button {
		min-width: 98px;
		height: 48px;
		min-height: 48px !important;
		padding: 0 18px !important;
	}
}


/* CGX checkout review clean alignment 1.0.66 */
.cgx-checkout-summary-head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px;
}

.cgx-checkout-summary-head h2,
.cgx-checkout-summary-head a {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	align-self: center !important;
}

.cgx-checkout-review-table,
.cgx-checkout-review table.shop_table {
	table-layout: fixed !important;
	width: 100% !important;
}

.cgx-checkout-review-product .product-name {
	width: 70% !important;
	max-width: 70% !important;
	padding-right: 18px !important;
	white-space: normal !important;
	word-break: normal !important;
	text-align: left !important;
}

.cgx-checkout-review-product .product-total {
	width: 30% !important;
	max-width: 30% !important;
	text-align: right !important;
	white-space: nowrap !important;
}

.cgx-checkout-review-product .product-quantity {
	display: inline !important;
	margin-left: 4px !important;
	white-space: nowrap !important;
}

.cgx-checkout-coupon-row td,
.cgx-checkout-shipping-row td {
	display: table-cell !important;
	width: 100% !important;
	padding: 18px 0 !important;
	text-align: left !important;
}

.cgx-checkout-coupon,
.cgx-checkout-coupon *,
.cgx-checkout-shipping-block,
.cgx-checkout-shipping-block * {
	text-align: left !important;
}

.cgx-checkout-coupon {
	margin: 0 !important;
	padding: 14px !important;
	border-radius: 14px !important;
	background: #f7f3ea !important;
	box-sizing: border-box !important;
}

.cgx-checkout-coupon-title {
	margin: 0 0 10px !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1.35 !important;
	color: #163f2e !important;
}

.cgx-checkout-coupon-field {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}

.cgx-checkout-coupon-field input {
	display: block !important;
	width: 100% !important;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 132px 0 18px !important;
	border: 1px solid rgba(22, 63, 46, 0.18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #163f2e !important;
}

.cgx-checkout-coupon-field button {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 118px !important;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1 !important;
}

.cgx-checkout-applied-coupons {
	margin-top: 12px !important;
}

.cgx-checkout-shipping-block {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.cgx-checkout-shipping-title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 18px !important;
	font-weight: 900 !important;
	line-height: 1.25 !important;
	color: #163f2e !important;
}

.cgx-checkout-shipping-methods {
	width: 100% !important;
}

.cgx-checkout-shipping-list,
.cgx-checkout-shipping-methods ul,
.cgx-checkout-review #shipping_method {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-checkout-shipping-list li,
.cgx-checkout-shipping-methods li,
.cgx-checkout-review #shipping_method li {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.cgx-checkout-shipping-list li input[type="radio"],
.cgx-checkout-shipping-methods li input[type="radio"],
.cgx-checkout-review #shipping_method li input[type="radio"] {
	position: absolute !important;
	top: 50% !important;
	left: 16px !important;
	z-index: 2 !important;
	width: 16px !important;
	height: 16px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
}

.cgx-checkout-shipping-list li label,
.cgx-checkout-shipping-methods li label,
.cgx-checkout-review #shipping_method li label {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 16px 12px 44px !important;
	border: 1px solid rgba(22, 63, 46, 0.12) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-sizing: border-box !important;
	color: #163f2e !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

.cgx-checkout-shipping-list li label::before,
.cgx-checkout-shipping-methods li label::before,
.cgx-checkout-review #shipping_method li label::before {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 16px !important;
	width: 16px !important;
	height: 16px !important;
	border: 1.5px solid rgba(22, 63, 46, 0.55) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box !important;
	transform: translateY(-50%) !important;
}

.cgx-checkout-shipping-list li label::after,
.cgx-checkout-shipping-methods li label::after,
.cgx-checkout-review #shipping_method li label::after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 21px !important;
	width: 6px !important;
	height: 6px !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	opacity: 0 !important;
	transform: translateY(-50%) !important;
}

.cgx-checkout-shipping-list li input[type="radio"]:checked + label,
.cgx-checkout-shipping-methods li input[type="radio"]:checked + label,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label {
	border-color: rgba(22, 63, 46, 0.36) !important;
	box-shadow: 0 4px 10px rgba(16, 45, 33, 0.045) !important;
}

.cgx-checkout-shipping-list li input[type="radio"]:checked + label::after,
.cgx-checkout-shipping-methods li input[type="radio"]:checked + label::after,
.cgx-checkout-review #shipping_method li input[type="radio"]:checked + label::after {
	opacity: 1 !important;
}

.cgx-checkout-shipping-list .amount,
.cgx-checkout-shipping-methods .amount,
.cgx-checkout-review #shipping_method .amount {
	margin-left: auto !important;
	color: #163f2e !important;
	font-weight: 900 !important;
	white-space: nowrap !important;
	text-align: right !important;
}

@media (max-width: 767px) {
	.cgx-checkout-summary-head h2 {
		font-size: 28px !important;
	}

	.cgx-checkout-review-product .product-name {
		width: 68% !important;
		max-width: 68% !important;
	}

	.cgx-checkout-review-product .product-total {
		width: 32% !important;
		max-width: 32% !important;
	}

	.cgx-checkout-coupon-field input {
		height: 48px !important;
		min-height: 48px !important;
		padding-right: 112px !important;
	}

	.cgx-checkout-coupon-field button {
		min-width: 98px !important;
		height: 48px !important;
		min-height: 48px !important;
		padding: 0 18px !important;
	}

	.cgx-checkout-shipping-list li label,
	.cgx-checkout-shipping-methods li label,
	.cgx-checkout-review #shipping_method li label {
		font-size: 13px !important;
	}
}


/* CGX checkout field and coupon removal fixes 1.0.67 */
.woocommerce-checkout .cgx-checkout-coupon,
.woocommerce-checkout .cgx-checkout-coupon-row,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon {
	display: none !important;
}

.woocommerce-checkout .cgx-checkout-fields .form-row.cgx-field-half,
.woocommerce-checkout .cgx-checkout-fields #billing_address_1_field,
.woocommerce-checkout .cgx-checkout-fields #billing_address_2_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_address_1_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_address_2_field {
	float: none !important;
	display: block !important;
	width: calc(50% - 8px) !important;
	max-width: calc(50% - 8px) !important;
	margin-right: 0 !important;
	clear: none !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_address_1_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_address_1_field {
	grid-column: auto !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_address_2_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_address_2_field {
	grid-column: auto !important;
}

.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 16px !important;
}

.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > .form-row {
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
}

.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_first_name_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_last_name_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_address_1_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_address_2_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_first_name_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_last_name_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_address_1_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_address_2_field {
	width: calc(50% - 8px) !important;
	max-width: calc(50% - 8px) !important;
	flex: 0 0 calc(50% - 8px) !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_phone_field abbr.required,
.woocommerce-checkout .cgx-checkout-fields #billing_phone_field .required {
	visibility: visible !important;
}

@media (max-width: 767px) {
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper {
		gap: 12px !important;
	}

	.woocommerce-checkout .cgx-checkout-fields .form-row.cgx-field-half,
	.woocommerce-checkout .cgx-checkout-fields #billing_address_1_field,
	.woocommerce-checkout .cgx-checkout-fields #billing_address_2_field,
	.woocommerce-checkout .cgx-checkout-fields #shipping_address_1_field,
	.woocommerce-checkout .cgx-checkout-fields #shipping_address_2_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_first_name_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_last_name_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_address_1_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_address_2_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_first_name_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_last_name_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_address_1_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_address_2_field {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
}


/* CGX checkout field grid 1.0.68 */
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_country_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_country_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > .cgx-field-full,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > .cgx-field-full {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	clear: both !important;
}

.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_city_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_postcode_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_phone_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_email_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_city_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_postcode_field,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > .cgx-field-half,
.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > .cgx-field-half {
	width: calc(50% - 8px) !important;
	max-width: calc(50% - 8px) !important;
	flex: 0 0 calc(50% - 8px) !important;
	clear: none !important;
	float: none !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_country_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: 100% !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_city_field,
.woocommerce-checkout .cgx-checkout-fields #billing_postcode_field,
.woocommerce-checkout .cgx-checkout-fields #billing_phone_field,
.woocommerce-checkout .cgx-checkout-fields #billing_email_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_city_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_postcode_field {
	width: calc(50% - 8px) !important;
	max-width: calc(50% - 8px) !important;
	flex-basis: calc(50% - 8px) !important;
}

@media (max-width: 767px) {
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_city_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_postcode_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_phone_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > #billing_email_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_city_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > #shipping_postcode_field,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-billing-fields__field-wrapper > .cgx-field-half,
	.woocommerce-checkout .cgx-checkout-fields .woocommerce-shipping-fields__field-wrapper > .cgx-field-half,
	.woocommerce-checkout .cgx-checkout-fields #billing_city_field,
	.woocommerce-checkout .cgx-checkout-fields #billing_postcode_field,
	.woocommerce-checkout .cgx-checkout-fields #billing_phone_field,
	.woocommerce-checkout .cgx-checkout-fields #billing_email_field,
	.woocommerce-checkout .cgx-checkout-fields #shipping_city_field,
	.woocommerce-checkout .cgx-checkout-fields #shipping_postcode_field {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
}


/* CGX checkout phone required and country width hard fix 1.0.69 */
.woocommerce-checkout #billing_phone_field .optional {
	display: none !important;
}

.woocommerce-checkout #billing_phone_field label::after {
	content: " *";
	color: #b42318;
}

.woocommerce-checkout .cgx-checkout-fields #billing_country_field,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field,
.woocommerce-checkout .cgx-checkout-fields p#billing_country_field,
.woocommerce-checkout .cgx-checkout-fields p#shipping_country_field,
.woocommerce-checkout .cgx-checkout-fields .form-row.cgx-field-country {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	flex-basis: 100% !important;
	clear: both !important;
	float: none !important;
	grid-column: 1 / -1 !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_country_field .woocommerce-input-wrapper,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field .woocommerce-input-wrapper,
.woocommerce-checkout .cgx-checkout-fields #billing_country_field select,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field select,
.woocommerce-checkout .cgx-checkout-fields #billing_country_field .select2,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field .select2,
.woocommerce-checkout .cgx-checkout-fields #billing_country_field .select2-container,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field .select2-container,
.woocommerce-checkout .cgx-checkout-fields #billing_country_field .select2-selection,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field .select2-selection {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.woocommerce-checkout .cgx-checkout-fields #billing_country_field .select2-container--default .select2-selection--single,
.woocommerce-checkout .cgx-checkout-fields #shipping_country_field .select2-container--default .select2-selection--single {
	height: 52px !important;
	border: 1px solid rgba(22, 63, 46, 0.14) !important;
	border-radius: 12px !important;
	background: #fff !important;
}


/* CGX checkout simple discount row 1.0.70 */
.cgx-checkout-discount-row th,
.cgx-checkout-discount-row td {
	color: #1f6b2a !important;
	font-weight: 850 !important;
}

.cgx-checkout-discount-row td {
	text-align: right !important;
	white-space: nowrap !important;
}

.cgx-checkout-discount-row .woocommerce-remove-coupon {
	display: none !important;
}


/* CGX checkout payment layout 1.0.71 */
.cgx-checkout-payment {
	margin-top: 22px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.cgx-checkout-payment-methods {
	margin: 0 0 18px !important;
	padding: 14px !important;
	border: 1px solid rgba(22, 63, 46, 0.10) !important;
	border-radius: 18px !important;
	background: #f7f3ea !important;
	box-sizing: border-box !important;
}

.cgx-checkout-payment-methods .wc_payment_methods {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

.cgx-checkout-payment-methods .wc_payment_method {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

.cgx-checkout-payment-methods .wc_payment_method > input[type="radio"] {
	position: absolute !important;
	width: 16px !important;
	height: 16px !important;
	min-height: 0 !important;
	margin: 0 !important;
	opacity: 0 !important;
}

.cgx-checkout-payment-methods .wc_payment_method > label {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 14px 16px 14px 44px !important;
	border: 1px solid rgba(22, 63, 46, 0.22) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-sizing: border-box !important;
	color: #163f2e !important;
	font-size: 16px !important;
	font-weight: 850 !important;
	line-height: 1.35 !important;
	cursor: pointer !important;
}

.cgx-checkout-payment-methods .wc_payment_method > label::before {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 16px !important;
	width: 16px !important;
	height: 16px !important;
	border: 1.5px solid rgba(22, 63, 46, 0.55) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-sizing: border-box !important;
	transform: translateY(-50%) !important;
}

.cgx-checkout-payment-methods .wc_payment_method > label::after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 21px !important;
	width: 6px !important;
	height: 6px !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	opacity: 0 !important;
	transform: translateY(-50%) !important;
}

.cgx-checkout-payment-methods .wc_payment_method > input[type="radio"]:checked + label {
	border-color: rgba(22, 63, 46, 0.42) !important;
	box-shadow: 0 4px 10px rgba(16, 45, 33, 0.045) !important;
}

.cgx-checkout-payment-methods .wc_payment_method > input[type="radio"]:checked + label::after {
	opacity: 1 !important;
}

/* Hide gateway images/logos, keep only gateway text. */
.cgx-checkout-payment-methods .wc_payment_method label img,
.cgx-checkout-payment-methods .payment_box img,
.cgx-checkout-payment-methods img {
	display: none !important;
}

.cgx-checkout-payment-methods .payment_box {
	position: relative !important;
	margin: 12px 0 0 0 !important;
	padding: 16px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: #5b625a !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
}

.cgx-checkout-payment-methods .payment_box::before {
	display: none !important;
}

.cgx-checkout-payment-methods .payment_box p {
	margin: 0 !important;
	color: #5b625a !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
}

.cgx-checkout-place-order {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.cgx-checkout-place-order .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #5b625a !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
}

.cgx-checkout-place-order #place_order {
	width: 100% !important;
	height: 54px !important;
	min-height: 54px !important;
	margin: 0 !important;
	border-radius: 999px !important;
	background: #163f2e !important;
	color: #fff !important;
	font-weight: 850 !important;
	box-shadow: none !important;
}

.cgx-checkout-place-order #place_order:hover {
	background: #102d21 !important;
}

@media (max-width: 767px) {
	.cgx-checkout-payment-methods {
		padding: 12px !important;
		border-radius: 16px !important;
	}

	.cgx-checkout-payment-methods .wc_payment_method > label {
		min-height: 50px !important;
		font-size: 15px !important;
	}
}


/* CGX payment button inside and compact payment method 1.0.72 */
.cgx-checkout-payment-methods {
	margin-bottom: 0 !important;
	padding: 14px !important;
}

.cgx-checkout-payment-methods .wc_payment_methods,
.cgx-checkout-payment-methods .wc_payment_methods.payment_methods,
.cgx-checkout-payment-methods .wc_payment_methods.payment_methods.methods,
.woocommerce-checkout #payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 !important;
}

.cgx-checkout-payment-methods .wc_payment_method > label {
	min-height: 48px !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
}

.cgx-checkout-payment-methods .payment_box {
	font-size: 13px !important;
	line-height: 1.6 !important;
}

.cgx-checkout-payment-methods .payment_box p {
	font-size: 13px !important;
	line-height: 1.6 !important;
}

.cgx-checkout-place-order {
	margin-top: 18px !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(22, 63, 46, 0.10) !important;
	background: transparent !important;
}

.cgx-checkout-payment .cgx-checkout-place-order {
	padding-left: 14px !important;
	padding-right: 14px !important;
	padding-bottom: 14px !important;
}

.cgx-checkout-payment {
	padding: 0 !important;
	border: 1px solid rgba(22, 63, 46, 0.10) !important;
	border-radius: 18px !important;
	background: #f7f3ea !important;
	overflow: hidden !important;
}

.cgx-checkout-payment .cgx-checkout-payment-methods {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

@media (max-width: 767px) {
	.cgx-checkout-payment-methods .wc_payment_method > label {
		font-size: 13px !important;
		min-height: 46px !important;
	}

	.cgx-checkout-payment .cgx-checkout-place-order {
		padding-left: 12px !important;
		padding-right: 12px !important;
		padding-bottom: 12px !important;
	}
}


/* CGX place order above terms 1.0.73 */
.cgx-checkout-place-order {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

.cgx-checkout-place-order #place_order {
	order: 1 !important;
}

.cgx-checkout-place-order .woocommerce-terms-and-conditions-wrapper {
	order: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cgx-checkout-place-order .woocommerce-privacy-policy-text {
	margin: 0 !important;
}

.cgx-checkout-place-order input[name="woocommerce-process-checkout-nonce"],
.cgx-checkout-place-order input[name="_wp_http_referer"] {
	order: 3 !important;
}


/* CGX place order only 1.0.74 */
.cgx-checkout-place-order {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
	gap: 0 !important;
}

.cgx-checkout-payment .cgx-checkout-place-order {
	padding-top: 0 !important;
}

.cgx-checkout-place-order .woocommerce-terms-and-conditions-wrapper,
.cgx-checkout-place-order .woocommerce-terms-and-conditions,
.cgx-checkout-place-order .woocommerce-privacy-policy-text,
.cgx-checkout-place-order .form-row.validate-required,
.cgx-checkout-place-order label.woocommerce-form__label-for-checkbox {
	display: none !important;
}

.cgx-checkout-place-order #place_order {
	margin-top: 0 !important;
}


/* CGX mobile checkout shipping inline price 1.0.75 */
@media (max-width: 767px) {
	.cgx-checkout-shipping-list li label,
	.cgx-checkout-shipping-methods li label,
	.cgx-checkout-review #shipping_method li label {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 10px !important;
		width: 100% !important;
		padding-right: 14px !important;
	}

	.cgx-checkout-shipping-list li label > span:not(.amount),
	.cgx-checkout-shipping-methods li label > span:not(.amount),
	.cgx-checkout-review #shipping_method li label > span:not(.amount) {
		min-width: 0 !important;
	}

	.cgx-checkout-shipping-list .amount,
	.cgx-checkout-shipping-methods .amount,
	.cgx-checkout-review #shipping_method .amount,
	.cgx-checkout-shipping-list .woocommerce-Price-amount,
	.cgx-checkout-shipping-methods .woocommerce-Price-amount,
	.cgx-checkout-review #shipping_method .woocommerce-Price-amount {
		flex: 0 0 auto !important;
		margin-left: auto !important;
		white-space: nowrap !important;
		text-align: right !important;
	}

	.cgx-checkout-shipping-list li label,
	.cgx-checkout-shipping-methods li label,
	.cgx-checkout-review #shipping_method li label {
		font-size: 13px !important;
		line-height: 1.25 !important;
	}
}


/* CGX custom thank you page 1.1.43 */
.cgx-thankyou {
	width: 100%;
	color: #163f2e;
}

.cgx-thankyou-hero,
.cgx-thankyou-card {
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 4px 12px rgba(16, 45, 33, 0.045);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-sizing: border-box;
}

.cgx-thankyou-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	margin-bottom: 22px;
	padding: 20px;
	background:
		linear-gradient(135deg, rgba(247, 243, 234, 0.92), rgba(255, 255, 255, 0.78));
}

.cgx-thankyou-hero--failed {
	background: linear-gradient(135deg, rgba(255, 250, 250, 0.96), rgba(255, 255, 255, 0.78));
}

.cgx-thankyou-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #163f2e;
	color: #ffffff;
	font-size: 25px;
	font-weight: 900;
	line-height: 1;
}

.cgx-thankyou-hero--failed .cgx-thankyou-icon {
	background: #a12626;
}

.cgx-thankyou-kicker {
	display: inline-flex;
	margin-bottom: 7px;
	color: #5b625a;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.085em;
	line-height: 1.35;
	text-transform: uppercase;
}

.cgx-thankyou h1,
.cgx-thankyou h2,
.cgx-thankyou h3 {
	color: #163f2e;
	letter-spacing: -0.045em;
}

.cgx-thankyou-hero h1 {
	margin: 0;
	font-size: 38px;
	font-weight: 850;
	line-height: 1.04;
}

.cgx-thankyou-hero p,
.cgx-thankyou-card-head p {
	margin: 10px 0 0;
	color: #5b625a;
	font-size: 15px;
	line-height: 1.65;
}

.cgx-thankyou-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #f7f3ea;
	color: #163f2e;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.055em;
	white-space: nowrap;
}

.cgx-thankyou-status--processing,
.cgx-thankyou-status--completed {
	background: rgba(67, 106, 67, 0.12);
	color: #163f2e;
}

.cgx-thankyou-status--pending,
.cgx-thankyou-status--on-hold {
	background: rgba(200, 169, 106, 0.18);
	color: #5f4820;
}

.cgx-thankyou-instructions {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 22px;
}

.cgx-thankyou-notice-label {
	display: inline-flex;
	margin-bottom: 9px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(22, 63, 46, 0.08);
	color: #163f2e;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.075em;
	line-height: 1;
	text-transform: uppercase;
}

.cgx-thankyou-alert-card {
	border-color: rgba(172, 100, 27, 0.22);
	background: linear-gradient(135deg, rgba(255, 250, 238, 0.96), rgba(255, 255, 255, 0.82));
}

.cgx-thankyou-transfer-card {
	border-color: rgba(22, 63, 46, 0.16);
	background: linear-gradient(135deg, rgba(247, 243, 234, 0.92), rgba(255, 255, 255, 0.82));
}

.cgx-thankyou-email-card {
	background: rgba(255, 255, 255, 0.70);
}

.cgx-thankyou-transfer-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 2px;
}

.cgx-thankyou-transfer-row {
	padding: 13px 14px;
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

.cgx-thankyou-transfer-row span {
	display: block;
	margin-bottom: 5px;
	color: #5b625a;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.055em;
	line-height: 1.25;
	text-transform: uppercase;
}

.cgx-thankyou-transfer-row strong {
	display: block;
	color: #163f2e;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.35;
	word-break: break-word;
}

.cgx-thankyou-transfer-note {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(22, 63, 46, 0.06);
	color: #4d5b50;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.55;
}

.cgx-thankyou-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
	gap: 28px;
	align-items: start;
}

.cgx-thankyou-main,
.cgx-thankyou-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cgx-thankyou-sidebar {
	position: sticky;
	top: 24px;
}

.cgx-thankyou-card {
	padding: 24px;
}

.cgx-thankyou-card-head {
	margin-bottom: 20px;
}

.cgx-thankyou-card-head h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.18;
}

.cgx-thankyou-items {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cgx-thankyou-item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10);
}

.cgx-thankyou-item:first-child {
	padding-top: 0;
}

.cgx-thankyou-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.cgx-thankyou-item-image img,
.cgx-thankyou-item-placeholder {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 14px;
	background: #f7f3ea;
	object-fit: contain;
}

.cgx-thankyou-item h3 {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 750;
	line-height: 1.35;
}

.cgx-thankyou-item h3 a {
	color: #163f2e;
	text-decoration: none;
}

.cgx-thankyou-item h3 a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cgx-thankyou-item-meta,
.cgx-thankyou-item-extra {
	color: #5b625a;
	font-size: 13px;
	line-height: 1.5;
}

.cgx-thankyou-item-extra p,
.cgx-thankyou-item-extra dl {
	margin: 7px 0 0;
}

.cgx-thankyou-item-total {
	color: #163f2e;
	font-size: 15px;
	font-weight: 850;
	text-align: right;
	white-space: nowrap;
}

.cgx-thankyou-info-row,
.cgx-thankyou-total-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10);
	font-size: 14px;
	line-height: 1.45;
}

.cgx-thankyou-info-row:first-child,
.cgx-thankyou-total-row:first-child {
	padding-top: 0;
}

.cgx-thankyou-info-row:last-child,
.cgx-thankyou-total-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.cgx-thankyou-info-row span,
.cgx-thankyou-total-row span {
	color: #5b625a;
	font-weight: 650;
}

.cgx-thankyou-info-row strong,
.cgx-thankyou-total-row strong {
	color: #163f2e;
	font-weight: 850;
	text-align: right;
	word-break: break-word;
}

.cgx-thankyou-total-row--order_total,
.cgx-thankyou-total-row--order-total {
	font-size: 18px;
}

.cgx-thankyou-total-row--order_total strong,
.cgx-thankyou-total-row--order-total strong {
	font-size: 20px;
	font-weight: 950;
}


.cgx-thankyou-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: cgx-thankyou-step;
}

.cgx-thankyou-steps li {
	position: relative;
	min-height: 32px;
	margin: 0 0 12px;
	padding-left: 44px;
	color: #5b625a;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.55;
	counter-increment: cgx-thankyou-step;
}

.cgx-thankyou-steps li:last-child {
	margin-bottom: 0;
}

.cgx-thankyou-steps li::before {
	content: counter(cgx-thankyou-step);
	position: absolute;
	top: -2px;
	left: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: #f7f3ea;
	color: #163f2e;
	font-size: 12px;
	font-weight: 900;
}

.cgx-thankyou-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.cgx-thankyou-actions .button {
	border-radius: 999px !important;
	font-weight: 850 !important;
	text-decoration: none !important;
}

.cgx-thankyou-button-secondary {
	border-color: rgba(22, 63, 46, 0.16) !important;
	background: rgba(255, 255, 255, 0.78) !important;
	color: #163f2e !important;
}

.cgx-thankyou-button-secondary:hover {
	border-color: #163f2e !important;
	background: #f7f3ea !important;
	color: #163f2e !important;
}

.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-bacs-bank-details {
	margin-top: 20px;
	padding: 22px;
	border: 1px solid rgba(22, 63, 46, 0.10);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 4px 12px rgba(16, 45, 33, 0.045);
}

.woocommerce-order-received .woocommerce-order-details table,
.woocommerce-order-received .woocommerce-bacs-bank-details table {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse;
}

.woocommerce-order-received .woocommerce-order-details th,
.woocommerce-order-received .woocommerce-order-details td,
.woocommerce-order-received .woocommerce-bacs-bank-details th,
.woocommerce-order-received .woocommerce-bacs-bank-details td {
	padding: 10px 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid rgba(22, 63, 46, 0.10) !important;
}

@media (max-width: 1024px) {
	.cgx-thankyou-instructions,
	.cgx-thankyou-grid {
		grid-template-columns: 1fr;
	}

	.cgx-thankyou-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.cgx-thankyou-hero {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 18px;
		padding: 20px;
		border-radius: 16px;
	}

	.cgx-thankyou-instructions {
		gap: 14px;
		margin-bottom: 18px;
	}

	.cgx-thankyou-transfer-details {
		grid-template-columns: 1fr;
	}

	.cgx-thankyou-icon {
		width: 50px;
		height: 50px;
		font-size: 22px;
	}

	.cgx-thankyou-hero h1 {
		font-size: 34px;
	}

	.cgx-thankyou-card {
		padding: 18px;
		border-radius: 14px;
	}

	.cgx-thankyou-card-head h2 {
		font-size: 22px;
	}

	.cgx-thankyou-item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
		align-items: start;
	}

	.cgx-thankyou-item-image img,
	.cgx-thankyou-item-placeholder {
		width: 72px;
		height: 72px;
	}

	.cgx-thankyou-item-total {
		grid-column: 2;
		text-align: left;
	}

	.cgx-thankyou-info-row,
	.cgx-thankyou-total-row {
		gap: 10px;
	}

	.cgx-thankyou-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cgx-thankyou-actions .button {
		width: 100%;
		text-align: center;
	}
}


/* CGX thank you layout refinements 1.1.43 */
.cgx-thankyou-full-card {
	width: 100%;
	margin-bottom: 22px;
}

.cgx-thankyou-full-card .cgx-thankyou-card-head {
	margin-bottom: 0;
}

.cgx-thankyou-full-card.cgx-thankyou-transfer-card .cgx-thankyou-card-head {
	margin-bottom: 18px;
}

.cgx-thankyou-full-card .cgx-thankyou-card-head p + p,
.cgx-thankyou-email-card .cgx-thankyou-card-head p + p {
	margin-top: 8px;
}

.cgx-thankyou-full-card .cgx-thankyou-transfer-details {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 0;
}

.cgx-thankyou-transfer-note p {
	margin: 0;
}

.cgx-thankyou-transfer-note p + p {
	margin-top: 8px;
}

.woocommerce-order-received .cgx-thankyou > p:empty,
.woocommerce-order-received .cgx-thankyou .woocommerce-thankyou-order-received {
	display: none !important;
}

@media (max-width: 1180px) {
	.cgx-thankyou-full-card .cgx-thankyou-transfer-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cgx-thankyou-full-card {
		margin-bottom: 18px;
	}

	.cgx-thankyou-full-card .cgx-thankyou-transfer-details {
		grid-template-columns: 1fr;
	}
}
