/*
Theme Name: SAA Store (Astra Child)
Theme URI: https://saa-store.org
Description: Child theme for the SAA Store WooCommerce site, built on Astra.
Author: SAA Store
Template: astra
Version: 1.6.6
Text Domain: astra-child
*/


.astra-shop-summary-wrap {
    padding: 20px;
}

/* SAA cart information notice */
.saa-cart-page .woocommerce-cart-form .saa-cart-information-notice {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px solid #e1f1e8;
	background: #effaf4;
	color: #5d6668;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
}

.saa-cart-page .saa-cart-information-icon {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	color: #344346;
}

.saa-cart-page .saa-cart-information-text {
	display: block;
	flex: 1;
}

/* Contribution panel */
.saa-cart-page .woocommerce-cart-form .saa-cart-contribution {

	align-items: center;
	width: 100%;
	margin: 70px 0 0;
	padding: 34px 30px;
	gap: 30px;
	border: 1px solid #d9eadf;
	border-left: 5px solid #e5ac37;
	border-radius: 4px;
	background: linear-gradient(135deg, #fff7e6 0%, #effaf4 100%);
	box-shadow: 0 12px 30px rgba(52, 67, 70, 0.08);
	scroll-margin-top: 140px;
	box-sizing: border-box;
}

/*
.saa-cart-page .woocommerce-cart-form .saa-cart-contribution:target,
.saa-cart-page .woocommerce-cart-form .saa-cart-contribution:focus {
	outline: 3px solid rgba(0, 104, 56, 0.2);
	outline-offset: 4px;
}
*/

.saa-cart-page .saa-cart-contribution-content {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	min-width: 0;
}

.saa-cart-page .saa-cart-contribution-icon {
	display: inline-flex;
	flex: 0 0 58px;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #006838;
	color: #fff;
}

.saa-cart-page .saa-cart-contribution-icon svg {
	width: 28px;
	height: 28px;
}

.saa-cart-page .saa-cart-contribution-eyebrow {
	margin: 0 0 5px !important;
	color: #006838 !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.35 !important;
	text-transform: uppercase;
}

.saa-cart-page .saa-cart-contribution-copy h2 {
	margin: 0 0 8px;
	color: #344346;
	font-family: "Merriweather", var(--e-global-typography-primary-font-family), serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
}

.saa-cart-page .saa-cart-contribution-copy p {
	max-width: 540px;
	margin: 0;
	color: #5d6668;
	font-size: 15px;
	line-height: 1.6;
}

.woocommerce-notices-wrapper{
	outline: none !important;
}

.woocommerce-message {
    background-color: #effaf4 !important;
    font-family: 'Merriweather' !important;
}
.woocommerce-message, .woocommerce-info{
	border-top-color: #006838 !important;
}

.saa-cart-page .saa-cart-contribution-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.saa-cart-page .saa-contribution-amount-wrap {
	display: flex;
	align-items: stretch;
	height: 50px;
	border: 1px solid #cad8cf;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}

.saa-cart-page .saa-contribution-currency {
	display: inline-flex;
	align-items: center;
	padding: 0 12px;
	border-right: 1px solid #e1e8e3;
	background: #f7faf8;
	color: #344346;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.saa-cart-page .saa-contribution-amount {
	width: 108px;
	height: 100%;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #344346;
	font-size: 16px;
	line-height: 1;
	box-shadow: none;
	box-sizing: border-box;
}

.saa-cart-page .saa-contribution-amount:focus {
	outline: 3px solid rgba(0, 122, 69, 0.18);
	outline-offset: -3px;
}

.saa-cart-page .saa-contribution-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	min-width: 82px;
	height: 50px;
	min-height: 50px;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 3px;
	background-color: #006838 !important;
    color: #fff;
    font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

/* Keep the contribution option available when the cart has no products. */
.saa-cart-page .saa-empty-cart-contribution {
	width: 100%;
	margin: 0 0 30px;
}

.saa-cart-page .saa-empty-cart-contribution-form {
	width: 100%;
	margin: 0;
}

.saa-cart-page
	.saa-empty-cart-contribution-form
	.saa-cart-contribution {
	margin-top: 30px;
}


/* Tablet */
@media (max-width: 1024px) {
	.saa-cart-page .woocommerce-cart-form .saa-cart-contribution {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 30px 24px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.saa-cart-page .woocommerce-cart-form .saa-cart-information-notice {
		align-items: flex-start;
		padding: 12px 14px;
		font-size: 14px;
	}

	.saa-cart-page .woocommerce-cart-form .saa-cart-contribution {
		grid-template-columns: 1fr;
		margin-top: 40px;
		padding: 28px 20px;
		gap: 22px;
	}

	.saa-cart-page .saa-cart-contribution-copy h2 {
		font-size: 24px;
	}

	.saa-cart-page .saa-cart-contribution-copy p {
		font-size: 16px;
	}

	.saa-cart-page .saa-cart-contribution-controls {
		justify-content: flex-start;
		width: 100%;
	}

	.saa-cart-page .saa-contribution-amount-wrap {
		flex: 1;
		min-width: 0;
	}

	.saa-cart-page .saa-contribution-amount {
		flex: 1;
		width: 100%;
		min-width: 72px;
	}

	.saa-cart-page .saa-contribution-add {
		flex: 0 0 88px;
		width: 88px;
	}

	.saa-cart-page .saa-cart-contribution-content {
		gap: 14px;
	}

	.saa-cart-page .saa-cart-contribution-icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}
}


/**
 * SAA Store mobile cart cards.
 */
@media (max-width: 1024px) {

	/* Prevent table backgrounds and theme styles causing black separators. */
	.saa-cart-page .woocommerce-cart-form,
	.saa-cart-page table.shop_table.cart,
	.saa-cart-page table.shop_table.cart tbody {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
	}

	/* The desktop table headings are replaced by labels inside each card. */
	.saa-cart-page table.shop_table.cart thead {
		display: none !important;
	}

	/**
	 * Individual product card.
	 *
	 * Layout:
	 * Product name | Remove
	 * Price        | Quantity
	 * Subtotal     | Subtotal value
	 */
	.saa-cart-page table.shop_table.cart tr.cart_item {
		display: grid !important;
		position: relative;
		grid-template-columns: minmax(0, 1fr) 100px;
		grid-template-areas:
			"name remove"
			"price quantity"
			"subtotal subtotal";
		width: 100%;
		margin: 0 0 16px;
		padding: 18px 16px;
		gap: 0;
		border: 1px solid #e3e8e5;
		border-radius: 0;
		background: #fff !important;
		box-shadow: none;
		box-sizing: border-box;
	}

	/* Remove all inherited table-cell formatting. */
	.saa-cart-page table.shop_table.cart tr.cart_item > td {
		width: auto !important;
		min-height: 0;
		margin: 0;
		border: 0;
		background: transparent;
		box-sizing: border-box;
	}

	/* Completely remove the broken/empty thumbnail area. */
	.saa-cart-page table.shop_table.cart .product-thumbnail {
		display: none !important;
	}

	/* Product name and product metadata. */
	.saa-cart-page table.shop_table.cart .product-name {
		display: block !important;
		grid-area: name;
		padding: 0 16px 16px 0 !important;
		text-align: left !important;
		color: #344346;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.4;
	}

	/* Remove WooCommerce's mobile "Product:" label. */
	.saa-cart-page table.shop_table.cart .product-name::before {
		display: none !important;
		content: none !important;
	}

	.saa-cart-page table.shop_table.cart .product-name a {
		color: #344346;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.4;
		text-decoration: none;
	}

	.saa-cart-page table.shop_table.cart .product-name a:hover {
		color: #007a45;
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.saa-cart-page table.shop_table.cart .product-name dl.variation,
	.saa-cart-page table.shop_table.cart .product-name .variation,
	.saa-cart-page table.shop_table.cart .product-name p {
		margin: 6px 0 0;
		color: #6b7475;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.5;
	}

	/* Remove button in the top-right corner. */
	.saa-cart-page table.shop_table.cart .product-remove {
		display: flex !important;
		grid-area: remove;
		align-items: flex-start;
		justify-content: flex-end;
		padding: 0 !important;
		text-align: right !important;
	}

	.saa-cart-page table.shop_table.cart .product-remove::before {
		display: none !important;
		content: none !important;
	}

	.saa-cart-page table.shop_table.cart .product-remove a.remove {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 26px;
		margin: 0;
		padding: 0;
		border: 1px solid #8fc5ad;
		border-radius: 50%;
		background: #fff;
		color: #007a45 !important;
		font-size: 18px;
		font-weight: 400;
		line-height: 1;
		text-decoration: none;
	}

	.saa-cart-page table.shop_table.cart .product-remove a.remove:hover,
	.saa-cart-page table.shop_table.cart .product-remove a.remove:focus {
		border-color: #007a45;
		background: #007a45;
		color: #fff !important;
	}

	/* Unit price section. */
	.saa-cart-page table.shop_table.cart .product-price {
		display: flex !important;
		grid-area: price;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 14px 12px 0 0 !important;
		border-top: 1px solid #e3e8e5 !important;
		color: #344346;
		font-size: 15px;
		font-weight: 600;
		text-align: left !important;
	}

	.saa-cart-page table.shop_table.cart .product-price::before {
		display: block !important;
		float: none !important;
		width: auto !important;
		margin: 0 0 6px;
		content: "Price" !important;
		color: #6b7475;
		font-size: 12px;
		font-weight: 500;
		line-height: 1.3;
	}

	/* Quantity section. */
	.saa-cart-page table.shop_table.cart .product-quantity {
		display: flex !important;
		grid-area: quantity;
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-start;
		padding: 14px 0 0 12px !important;
		border-top: 1px solid #e3e8e5 !important;
		text-align: right !important;
	}

	.saa-cart-page table.shop_table.cart .product-quantity::before {
		display: block !important;
		float: none !important;
		width: auto !important;
		margin: 0 0 6px;
		content: "Quantity" !important;
		color: #6b7475;
		font-size: 12px;
		font-weight: 500;
		line-height: 1.3;
	}

	.saa-cart-page table.shop_table.cart .product-quantity .quantity {
		display: flex;
		justify-content: flex-end;
		width: 100%;
		margin: 0;
	}

	.saa-cart-page table.shop_table.cart .product-quantity input.qty {
		width: 62px !important;
		height: 42px;
		margin: 0;
		padding: 6px;
		border: 1px solid #e3e8e5;
		border-radius: 0;
		background: #fff;
		color: #344346;
		font-size: 15px;
		text-align: center;
		box-shadow: none;
	}

	/* Subtotal section spanning the card width. */
	.saa-cart-page table.shop_table.cart .product-subtotal {
		display: flex !important;
		grid-area: subtotal;
		align-items: center;
		justify-content: space-between;
		width: 100% !important;
		margin: 14px 0 0;
		padding: 14px 0 0 !important;
		border-top: 1px solid #e3e8e5 !important;
		color: #344346;
		font-size: 16px;
		font-weight: 700;
		text-align: right !important;
	}

	.saa-cart-page table.shop_table.cart .product-subtotal::before {
		display: block !important;
		float: none !important;
		width: auto !important;
		content: "Subtotal" !important;
		color: #344346;
		font-size: 13px;
		font-weight: 600;
		line-height: 1.3;
	}

	/**
	 * Contribution line.
	 *
	 * Hide unit price and quantity because the contribution
	 * only needs to display its selected amount.
	 */
	.saa-cart-page table.shop_table.cart tr.saa-contribution-cart-item {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"name remove"
			"subtotal subtotal";
	}

	.saa-cart-page
		table.shop_table.cart
		tr.saa-contribution-cart-item
		.product-price,
	.saa-cart-page
		table.shop_table.cart
		tr.saa-contribution-cart-item
		.product-quantity {
		display: none !important;
	}

	.saa-cart-page
		table.shop_table.cart
		tr.saa-contribution-cart-item
		.product-subtotal::before {
		content: "Contribution amount" !important;
	}


	.saa-cart-page table.shop_table.cart td.actions {
		display: block !important;
		width: 100% !important;
		padding: 8px 0 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.saa-cart-page table.shop_table.cart td.actions::before {
		display: none !important;
		content: none !important;
	}

	.saa-cart-page table.shop_table.cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: 1fr;
		width: 100%;
		gap: 10px;
	}

	.saa-cart-page table.shop_table.cart td.actions .coupon label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.saa-cart-page table.shop_table.cart td.actions .coupon input.input-text {
		width: 100% !important;
		height: 48px;
		margin: 0 !important;
		padding: 12px 14px;
		border: 1px solid #e3e8e5;
		border-radius: 0;
		background: #fff;
		box-sizing: border-box;
	}

	.saa-cart-page table.shop_table.cart td.actions .coupon button {
		width: 100% !important;
		min-height: 48px;
		margin: 0 !important;
		border-radius: 0;
		background: #007a45;
		color: #fff;
	}

	/* Hide an unnecessary update button when automatic updates are enabled. */
	.saa-cart-page table.shop_table.cart td.actions > button[name="update_cart"] {
		display: none !important;
	}

	/**
	 * Correct Elementor cart columns on mobile.
	 */
	.saa-cart-page .e-cart__column-start,
	.saa-cart-page .e-cart__column-end,
	.saa-cart-page .cart-collaterals,
	.saa-cart-page .cart_totals {
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		float: none !important;
	}

	/**
	 * Mobile Cart Totals card.
	 */
	.saa-cart-page .cart_totals {
		margin-top: 24px !important;
		padding: 22px 18px !important;
		border: 1px solid #f1e2bf;
		border-radius: 3px;
		background: #fff7e7;
		box-sizing: border-box;
	}

	.saa-cart-page .cart_totals h2 {
		margin: 0 0 14px;
		padding: 0 0 12px;
		border-bottom: 1px solid #344346;
		color: #344346;
		font-size: 22px;
		line-height: 1.3;
	}

	.saa-cart-page .cart_totals table.shop_table {
		display: block !important;
		width: 100%;
		margin: 0;
		border: 0 !important;
		background: transparent;
	}

	.saa-cart-page .cart_totals table.shop_table tbody {
		display: block;
		width: 100%;
	}

	.saa-cart-page .cart_totals table.shop_table tr {
		display: grid !important;
		grid-template-columns: 90px minmax(0, 1fr);
		align-items: start;
		width: 100%;
		padding: 12px 0;
		gap: 12px;
		border-bottom: 1px solid #eadfc9;
		background: transparent !important;
	}

	.saa-cart-page .cart_totals table.shop_table tr:last-child {
		border-bottom: 0;
	}

	.saa-cart-page .cart_totals table.shop_table th,
	.saa-cart-page .cart_totals table.shop_table td {
		display: block !important;
		width: auto !important;
		margin: 0;
		padding: 0 !important;
		border: 0 !important;
		background: transparent;
	}

	.saa-cart-page .cart_totals table.shop_table th {
		color: #344346;
		font-size: 14px;
		font-weight: 600;
		text-align: left !important;
	}

	.saa-cart-page .cart_totals table.shop_table td {
		color: #344346;
		font-size: 14px;
		text-align: right !important;
	}

	.saa-cart-page .cart_totals table.shop_table td::before {
		display: none !important;
		content: none !important;
	}

	/* Keep shipping details aligned without overlapping. */
	.saa-cart-page .cart_totals .woocommerce-shipping-totals td {
		text-align: right !important;
	}

	.saa-cart-page .cart_totals ul#shipping_method {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.saa-cart-page .cart_totals ul#shipping_method li {
		margin: 0 0 8px;
		padding: 0;
	}

	.saa-cart-page .cart_totals .shipping-calculator-button {
		display: inline-block;
		margin-top: 8px;
		color: #007a45;
		font-size: 13px;
	}

	.saa-cart-page .cart_totals .order-total th,
	.saa-cart-page .cart_totals .order-total td {
		font-size: 17px;
		font-weight: 700;
	}

	.saa-cart-page .wc-proceed-to-checkout {
		padding: 18px 0 0 !important;
	}

	.saa-cart-page .wc-proceed-to-checkout a.checkout-button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		min-height: 52px;
		margin: 0 !important;
		padding: 12px 18px !important;
		border-radius: 0;
		background: #007a45;
		color: #fff;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.3;
	}
}


/* SAA CHECKOUT — MINIMAL LAYOUT AND LOGIN STYLING */

/* Two main desktop columns */
.saa-checkout-page
.elementor-widget-woocommerce-checkout-page
.e-checkout__container {
	display: grid !important;
	grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr) !important;
	align-items: start !important;
	gap: 34px !important;
	width: 100% !important;
}

/* Keep the cart form in the left checkout column. */
.saa-checkout-page .e-checkout__column-start,
.saa-checkout-page
.e-checkout__column-start
> .e-checkout__column-inner {
	display: block !important;
	grid-template-columns: none !important;
	width: 100% !important;
	min-width: 0 !important;
}

/* Keep the Order Summary in the right column */
.saa-checkout-page .e-checkout__column-end {
	display: block !important;
	position: static !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

/* Returning Customer spacing */
.saa-checkout-page .e-woocommerce-login-section {
	display: block !important;
	width: 100% !important;
	margin: 0 0 26px !important;
}

/* Returning Customer mint notification */
.saa-checkout-page
.woocommerce-form-login-toggle.e-checkout-secondary-title {
	display: flex !important;
	align-items: center;
	min-height: 44px;
	margin: 0 0 14px !important;
	padding: 11px 15px !important;
	border: 0 !important;
	background: #effaf4 !important;
	color: #56625e !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4;
}

/* Information icon */
.saa-checkout-page
.woocommerce-form-login-toggle.e-checkout-secondary-title::before {
	content: "ⓘ";
	flex: 0 0 auto;
	margin-right: 9px;
	color: #344346;
	font-size: 16px;
	line-height: 1;
}

/* Login link */
.saa-checkout-page
.woocommerce-form-login-toggle
a {
	color: #344346 !important;
	font-weight: 500;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	margin-left: 7px;
}

/* Expanded login form */
.saa-checkout-page .e-woocommerce-login-anchor {
	margin: 0 !important;
	padding: 18px !important;
	border: 1px solid #e2e9e5 !important;
	background: #ffffff !important;
}

/* Login form fields */
.saa-checkout-page
.e-woocommerce-login-anchor
input.input-text {
	min-height: 46px;
	padding: 10px 13px !important;
	border: 1px solid #e7ece9 !important;
	border-radius: 0 !important;
	background: #fafbfb !important;
	box-shadow: none !important;
}

/* Login button */
.saa-checkout-page
.e-woocommerce-form-login-submit {
	min-height: 46px;
	padding: 11px 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #007a4a !important;
	color: #ffffff !important;
	font-weight: 700 !important;
}

.saa-checkout-page
.e-woocommerce-form-login-submit:hover {
	background: #005f3a !important;
}

/* Billing must remain full width inside the left column */
.saa-checkout-page #customer_details,
.saa-checkout-page #customer_details .col-1,
.saa-checkout-page #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/*
 * Hide shipping fields while Ship to a Different Address
 * is not selected.
 */
.saa-checkout-page
.woocommerce-shipping-fields:not(
	:has(#ship-to-different-address-checkbox:checked)
)
.shipping_address {
	display: none !important;
}

/* Display them immediately when selected */
.saa-checkout-page
.woocommerce-shipping-fields:has(
	#ship-to-different-address-checkbox:checked
)
.shipping_address {
	display: block !important;
}

/* Shipping checkbox spacing */
.saa-checkout-page #ship-to-different-address {
	margin: 22px 0 !important;
	padding: 0 !important;
}


.saa-checkout-page .e-coupon-box {
	width: 100% !important;
}

 .saa-checkout-page  .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name {
    max-width: 350px !important;
    padding-inline-end: 40px;
}

/* Optional newsletter consent inside the Elementor/classic checkout form. */
.saa-checkout-page .saa-checkout-newsletter,
.woocommerce-checkout .saa-checkout-newsletter {
	display: flex;
	align-items: flex-start;
	width: 100%;
	max-width: none;
	gap: 13px;
	margin: 22px 0 18px;
	padding: 17px;
	border: 1px solid #d9eadf;
	border-left: 4px solid #e5ac37;
	border-radius: 3px;
	background: #effaf4;
	color: #344346;
	box-sizing: border-box;
}

.saa-checkout-newsletter-icon {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #006838;
	color: #fff;
}

.saa-checkout-newsletter-icon svg {
	width: 20px;
	height: 20px;
}

.saa-checkout-newsletter-copy {
	flex: 1;
	min-width: 0;
}

.saa-checkout-newsletter-copy > strong {
	display: block;
	margin: 0 0 4px;
	font-family: "Merriweather", serif;
	font-size: 16px;
	line-height: 1.35;
}

.saa-checkout-newsletter-copy > p {
	margin: 0 0 10px;
	color: #5d6668;
	font-size: 13px;
	line-height: 1.5;
}

.saa-checkout-newsletter .saa-newsletter-checkbox {
	margin: 0 !important;
	padding: 0 !important;
}

.saa-checkout-newsletter .saa-newsletter-checkbox label {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	color: #344346;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.saa-checkout-newsletter .saa-newsletter-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 0 0 !important;
	accent-color: #006838;
}

.saa-checkout-newsletter .saa-newsletter-checkbox input[type="checkbox"]:focus-visible {
	outline: 3px solid rgba(0, 104, 56, 0.22);
	outline-offset: 2px;
}

/* Tablet and mobile: stack the two main columns */
@media (max-width: 1024px) {
	.saa-checkout-page
	.elementor-widget-woocommerce-checkout-page
	.e-checkout__container {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 34px !important;
	}

	.saa-checkout-page .e-checkout__column-start,
	.saa-checkout-page
	.e-checkout__column-start
	> .e-checkout__column-inner {
		display: block !important;
		grid-template-columns: none !important;
	}

	.saa-checkout-page .e-checkout__column-end {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Small mobile adjustments */
@media (max-width: 767px) {
	.saa-checkout-newsletter {
		gap: 11px;
		padding: 15px 13px;
	}

	.saa-checkout-newsletter-icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.saa-checkout-page
	.woocommerce-form-login-toggle.e-checkout-secondary-title {
		min-height: 48px;
		padding: 12px 13px !important;
		font-size: 13px !important;
	}

	.saa-checkout-page .e-woocommerce-login-anchor {
		padding: 16px !important;
	}

	.saa-checkout-page .e-login-wrap,
	.saa-checkout-page .e-login-wrap-start,
	.saa-checkout-page .e-login-wrap-end {
		display: block !important;
		width: 100% !important;
	}

	.saa-checkout-page
	.e-woocommerce-form-login-submit {
		width: 100% !important;
		margin-top: 10px !important;
	}
}


/* SAA ORDER RECEIVED PAGE */

body.woocommerce-order-received {
	--saa-green: #007a4a;
	--saa-ink: #344346;
	--saa-cream: #fff7e7;
	--saa-mint: #f2faf6;
	--saa-border: #e3e8e5;
	--saa-copy: #586361;
}

/* Dynamic hero */

body.woocommerce-order-received .saa-checkout-hero {
	background: var(--saa-cream);
}

body.woocommerce-order-received .saa-checkout-hero-content {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

body.woocommerce-order-received .saa-checkout-hero-content h1 {
	margin: 0 0 12px;
	color: var(--saa-ink);
	font-family:  "Merriweather", Sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.5px;
}

body.woocommerce-order-received .saa-checkout-hero-content p {
	margin: 0;
	color: var(--saa-copy);
	font-size: 16px;
	line-height: 1.6;
}

body.woocommerce-order-received .saa-checkout-hero-content p a {
	color: var(--saa-green);
	font-weight: 700;
	text-decoration: none;
}

body.woocommerce-order-received .saa-checkout-hero-content p a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Main confirmation area */

body.woocommerce-order-received .saa-checkout-page {
	width: 100%;
	max-width: 1100px;
	min-height: 0 !important;
	margin-inline: auto;
	padding-top: 62px;
	padding-bottom: 110px;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details::before{
	display: none;
}

body.woocommerce-order-received .saa-checkout-page .woocommerce-order {
	width: 100%;
}

/* Message already appears in the custom hero. */
body.woocommerce-order-received
	.woocommerce-thankyou-order-received {
	display: none !important;
}

/* Order overview */

body.woocommerce-order-received
	ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px;
	margin: 0 0 42px !important;
	padding: 0 !important;
	list-style: none;
}

/* Use four columns for the account dashboard details. */
body.woocommerce-order-received
	.woocommerce-order-overview__email {
	display: none !important;
}

body.woocommerce-order-received
	ul.woocommerce-order-overview li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: #68716f;
	font-size: 11px !important;
	line-height: 1.4;
	text-transform: uppercase;
}

body.woocommerce-order-received
	ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 7px;
	color: var(--saa-ink);
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	font-family: "Merriweather", Sans-serif;
}

/* Order details */

body.woocommerce-order-received .woocommerce-order-details {
	margin: 0 0 46px !important;
}

body.woocommerce-order-received
	.woocommerce-order-details__title {
	margin: 0 0 18px !important;
	color: var(--saa-ink);
	font-family: "Merriweather", Sans-serif;
	font-size: 24px !important;
	font-weight: 700;
	line-height: 1.25;
	text-transform: capitalize;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table {
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--saa-border) !important;
	border-collapse: collapse !important;
	border-radius: 0 !important;
	background: #fff;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table th,
body.woocommerce-order-received
	.woocommerce-order-details table.shop_table td {
	padding: 18px 22px !important;
	border: 1px solid var(--saa-border) !important;
	background: #fff;
	color: var(--saa-copy);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
	vertical-align: middle;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table thead th {
	background: var(--saa-mint) !important;
	color: var(--saa-ink);
	font-weight: 700;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table
	.product-name {
	width: 77%;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table
	.product-total {
	width: 23%;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table
	tfoot th,
body.woocommerce-order-received
	.woocommerce-order-details table.shop_table
	tfoot td {
	color: var(--saa-ink);
	font-weight: 700;
	font-family: "Merriweather", Sans-serif;
}
body.woocommerce-order-received
	.woocommerce-order-details table.shop_table
	tfoot th{
		font-family: "Merriweather", Sans-serif;
		text-align: right;
	}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table a {
	color: var(--saa-copy);
	text-decoration: none;
}

body.woocommerce-order-received
	.woocommerce-order-details table.shop_table a:hover {
	color: var(--saa-green);
	text-decoration: underline;
}

/* Billing and shipping addresses */

body.woocommerce-order-received .woocommerce-customer-details {
	margin: 0 !important;
}

body.woocommerce-order-received
	.woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 80px;
	margin: 0 !important;
}

body.woocommerce-order-received
	.woocommerce-columns--addresses::before,
body.woocommerce-order-received
	.woocommerce-columns--addresses::after {
	display: none !important;
}

body.woocommerce-order-received
	.woocommerce-columns--addresses
	.woocommerce-column {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-order-received
	.woocommerce-columns--addresses h2 {
	margin: 0px !important;
	color: var(--saa-ink);
	font-family: "Merriweather", Sans-serif;
	font-size: 24px !important;
	font-weight: 700;
	line-height: 1.25;
	border:0px !important;
}

body.woocommerce-order-received
	.woocommerce-columns--addresses address {
	margin: 0px 20px !important;
	padding: 0px  !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--saa-copy);
	font-size: 15px;
	font-style: normal;
	line-height: 1.55;
}

/* TABLET */

@media (max-width: 1024px) {
	body.woocommerce-order-received .saa-checkout-hero-content {
		padding-inline: 24px;
	}

	body.woocommerce-order-received
		.saa-checkout-hero-content h1 {
		font-size: 37px;
	}

	body.woocommerce-order-received .saa-checkout-page {
		padding: 52px 24px 85px;
	}

	body.woocommerce-order-received
		ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 40px;
	}

	body.woocommerce-order-received
		.woocommerce-columns--addresses {
		gap: 45px;
	}
}

/* MOBILE */

@media (max-width: 767px) {
	body.woocommerce-order-received .saa-checkout-hero-content {
		padding-inline: 18px;
	}

	body.woocommerce-order-received
		.saa-checkout-hero-content h1 {
		font-size: 30px;
		line-height: 1.18;
	}

	body.woocommerce-order-received
		.saa-checkout-hero-content p {
		font-size: 14px;
	}

	body.woocommerce-order-received .saa-checkout-page {
		padding: 40px 16px 65px;
	}

	body.woocommerce-order-received
		ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 18px;
		margin-bottom: 34px !important;
	}

	body.woocommerce-order-received
		.woocommerce-order-details__title,
	body.woocommerce-order-received
		.woocommerce-columns--addresses h2 {
		font-size: 22px !important;
	}

	body.woocommerce-order-received
		.woocommerce-order-details table.shop_table th,
	body.woocommerce-order-received
		.woocommerce-order-details table.shop_table td {
		padding: 14px 12px !important;
		font-size: 13px;
	}

	body.woocommerce-order-received
		.woocommerce-order-details table.shop_table
		.product-name {
		width: 72%;
	}

	body.woocommerce-order-received
		.woocommerce-order-details table.shop_table
		.product-total {
		width: 28%;
	}

	body.woocommerce-order-received
		.woocommerce-columns--addresses {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	body.woocommerce-order-received
		.woocommerce-columns--addresses address {
		font-size: 14px;
	}
}


/*
   WooCommerce checkout checkboxes
   Newsletter + Terms — same size, alignment, and checkmark
 */

.woocommerce-checkout label.checkbox,
.woocommerce-checkout label.woocommerce-form__label-for-checkbox {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  column-gap: 10px;
  align-items: start;
  line-height: 1.45;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
}

/* Keep "(optional)" on the line under the newsletter text */
.woocommerce-checkout label.checkbox > .optional {
  grid-column: 2;
  display: block;
  margin-top: -8px;
  font-size: 0.9em;
  color: #69727d;
}
.elementor-widget-woocommerce-checkout-page .woocommerce-form__label-for-checkbox span{
	top:-2px;;
}
/* Hide the native control and draw a custom box */
.woocommerce-checkout input[type="checkbox"].input-checkbox,
.woocommerce-checkout input[type="checkbox"].woocommerce-form__input-checkbox {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border: 2px solid #1b5e20 !important;
  border-radius: 3px;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
}

/* White tick when checked */
.woocommerce-checkout input[type="checkbox"].input-checkbox:checked,
.woocommerce-checkout input[type="checkbox"].woocommerce-form__input-checkbox:checked {
  background: #1b5e20 !important;
  border-color: #1b5e20 !important;
}

.woocommerce-checkout input[type="checkbox"].input-checkbox:checked::after,
.woocommerce-checkout input[type="checkbox"].woocommerce-form__input-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Keyboard focus */
.woocommerce-checkout input[type="checkbox"].input-checkbox:focus-visible,
.woocommerce-checkout input[type="checkbox"].woocommerce-form__input-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.25) !important;
}

/* Terms text + required asterisk stay on the right column */
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-checkout label.woocommerce-form__label-for-checkbox .required {
  grid-column: 2;
}

.woocommerce-checkout label.woocommerce-form__label-for-checkbox .required {
  color: #c00;
  text-decoration: none;
  border: 0;
  display: none;
}

/* Stop Elementor/Woo from forcing the label inline (this is
   what pushed the terms box above the sentence) */
.woocommerce-checkout .form-row label.checkbox,
.woocommerce-checkout .woocommerce-form .form-row label.checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
  display: grid !important;
}


.woocommerce-info a.button.wc-forward {
    color: #fff !important;
    font-family: 'Montserrat';
}
.woocommerce-info a.button.wc-forward:hover {
    color: #fff !important;
    font-family: 'Montserrat';
	background-color: #006838 !important;
}

.elementor-widget-woocommerce-checkout-page a {
    color:  #006838 !important;
	line-height: 1.5 !important;
}
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table thead tr th {
    padding-top: 0;
    font-family: 'Merriweather';
}

/* ==========================================================================
   Accessibility and mobile checkout
   ========================================================================== */

/* Visible keyboard focus. The Elementor checkout widget removes the default
   outline on fields, so these rules use !important. */
.woocommerce form input.input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus,
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-cart .coupon input.input-text:focus {
	border-color: #006838 !important;
	outline: 2px solid #006838 !important;
	outline-offset: 1px !important;
	box-shadow: none !important;
}

.woocommerce .button:focus-visible,
.woocommerce button:focus-visible,
.woocommerce a:focus-visible,
.saa-catalog a:focus-visible,
.saa-catalog button:focus-visible,
.elementor-nav-menu a:focus-visible,
.elementor-location-header a:focus-visible,
[role="button"]:focus-visible {
	outline: 3px solid #006838 !important;
	outline-offset: 2px;
	box-shadow: none;
}

/* Readable placeholder text (at least 4.5:1 on the light field background). */
.woocommerce form input.input-text::placeholder,
.woocommerce form textarea::placeholder,
.woocommerce-checkout input.input-text::placeholder,
.woocommerce-cart .coupon input.input-text::placeholder {
	color: #5c6668 !important;
	opacity: 1 !important;
}

/* Field errors in red, next to the field. */
.woocommerce-checkout .checkout-inline-error-message,
.woocommerce form .form-row.woocommerce-invalid .checkout-inline-error-message {
	margin-top: 4px;
	color: #b3261e;
	font-size: 13px;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: #b3261e !important;
}

/* Larger terms checkbox (24px touch target). */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
	flex: 0 0 24px;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px;
}

/* Keep closed cart drawers out of the keyboard tab order. */
.elementor-widget-woocommerce-menu-cart:not(.elementor-menu-cart--shown) .elementor-menu-cart__container,
.astra-cart-drawer:not(.active) {
	visibility: hidden;
}

/* One-per-order items show a fixed quantity of 1 in the cart. */
.saa-fixed-quantity {
	display: inline-block;
	min-width: 24px;
	color: #344346;
	font-size: 15px;
	text-align: center;
}

/* Payment confirmation message on the Order Received page. */
.saa-payment-pending {
	margin-bottom: 24px;
}

/* Mobile: stack name fields with matching edges. */
@media (max-width: 767px) {
	.woocommerce-checkout .woocommerce-billing-fields .form-row-first,
	.woocommerce-checkout .woocommerce-billing-fields .form-row-last,
	.woocommerce-checkout .woocommerce-shipping-fields .form-row-first,
	.woocommerce-checkout .woocommerce-shipping-fields .form-row-last {
		float: none !important;
		width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

/* Shipping method names: break between words only. */
.woocommerce-checkout-review-order-table #shipping_method li label,
.woocommerce-cart #shipping_method li label {
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	hyphens: none;
}

/* Order summary: fixed column widths so product names are not squeezed
   by the shipping options. */
.woocommerce-checkout-review-order-table {
	width: 100%;
	table-layout: fixed;
}

.woocommerce-checkout-review-order-table thead th.product-name {
	width: 58%;
}

.woocommerce-checkout-review-order-table thead th.product-total {
	width: 42%;
}

/* International orders: import duties notice in the order summary. */
.woocommerce-checkout-review-order-table tr.saa-duties-notice td {
	padding: 10px 12px !important;
	border-left: 3px solid #006838 !important;
	background: #f2fbf5;
	color: #344346;
	font-size: 13px;
	text-align: left !important;
}

/* Literature controls share the catalog sidebar spacing. */
.saa-literature-filter { border: 0; margin: 24px 0; padding: 0; min-width: 0; }
.saa-literature-filter legend { margin-bottom: 12px; }
.saa-literature-filter .saa-catalog-checkbox { margin-bottom: 10px; }

/* Cart membership is refreshed independently of cached convention markup. */
.saa-convention-cart-status { color: #006838; font-size: 12px; font-weight: 600; }
.saa-convention-cart-status[hidden], .saa-convention-cart-message[hidden] { display: none; }
.saa-convention-cart-message { margin: 12px 0 0; padding: 12px; background: #f0f8f4; color: #304349; }
.saa-convention-cart-message a { margin-left: 8px; text-decoration: underline; }
.saa-convention-track.is-in-cart .saa-convention-track-checkbox { opacity: 0.75; }

/* Audios sidebar links (convention / literature audio) */
.saa-audio-nav {
	margin-bottom: 25px;
}
.saa-audio-nav ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.saa-audio-nav__link {
	display: block;
	padding: 8px 10px;
	border-radius: 3px;
	color: #344346;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.saa-audio-nav__link:hover,
.saa-audio-nav__link:focus-visible,
.saa-audio-nav__link.is-current {
	background: #effaf4;
	color: #006838;
}

/* Accepted payment methods [saa_payment_icons] */
.saa-pay-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.saa-pay-icon img {
	display: block;
	height: 24px;
	width: auto;
}
.saa-pay-icon--text {
	padding: 3px 8px;
	border: 1px solid #c9d4cf;
	border-radius: 4px;
	background: #fff;
	color: #344346;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
