/* Nisha Magazine Checkout v0.6.2 */

:root {
	--nisha-primary: var(--e-global-color-primary, #E8540C);
	--nisha-secondary: var(--e-global-color-secondary, #D4DC53);
	--nisha-text: var(--e-global-color-text, #C0C9E8);
	--nisha-accent: var(--e-global-color-accent, #E9D9DC);
	--nisha-black: #000000;
	--nisha-muted: rgba(0, 0, 0, 0.35);
	--nisha-border: var(--e-global-color-accent, #E9D9DC);
	--nisha-radius: 8px;
	--nisha-field-height: 64px;
}

/* General typography */
.woocommerce-checkout,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout button {
	font-family: var(--e-global-typography-text-font-family, inherit);
}

.woocommerce-checkout {
	color: var(--nisha-black);
}

.woocommerce-checkout .nisha-step-next,
.woocommerce-checkout .nisha-step-back,
.woocommerce-checkout .nisha-payment-step-back,
.woocommerce-checkout #place_order {
	font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-text-font-family, inherit));
	font-weight: var(--e-global-typography-accent-font-weight, 700);
}

/* Hide WooCommerce's default section title */
.woocommerce-checkout .woocommerce-billing-fields > h3 {
	display: none;
}

/* Main checkout width */
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .woocommerce-shipping-fields {
	display: none !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout .nisha-current-step-heading,
.woocommerce-checkout .nisha-step-navigation,
.woocommerce-checkout .nisha-payment-step-back-wrap,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	float: none !important;
	width: 100% !important;
	max-width: 1100px;
	margin-inline: auto;
}

.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after,
.woocommerce-billing-fields__field-wrapper::after {
	content: "";
	display: table;
	clear: both;
}

/* Step progress */
.nisha-checkout-steps {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr auto;
	align-items: start;
	gap: 18px;
	max-width: 1400px;
	margin: 0 auto 56px;
	direction: rtl;
}

.nisha-step-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	min-width: 130px;
	color: var(--nisha-accent);
	opacity: 1;
	text-align: center;
	transition: color 0.2s ease;
}

.nisha-step-indicator.is-active,
.nisha-step-indicator.is-complete {
	color: var(--nisha-primary);
}

.nisha-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
	background: #fff;
}

.nisha-step-indicator.is-complete .nisha-step-number {
	font-size: 0;
}

.nisha-step-indicator.is-complete .nisha-step-number::before {
	content: "✓";
	font-size: 26px;
	font-weight: 700;
}

.nisha-step-label {
	max-width: 150px;
	font-size: clamp(20px, 1.7vw, 30px);
	line-height: 1.35;
	font-weight: 400;
}

.nisha-step-divider {
	align-self: start;
	height: 1px;
	margin-top: 25px;
	background: var(--nisha-text);
	opacity: 1;
}

/* Current heading */
.nisha-current-step-heading {
	margin-bottom: 32px;
}

.nisha-current-step-heading h2 {
	margin: 0;
	color: var(--nisha-primary);
	font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-text-font-family, inherit));
	font-size: clamp(32px, 3.2vw, 54px);
	line-height: 1.15;
	font-weight: var(--e-global-typography-accent-font-weight, 700);
}

/* Form layout */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.woocommerce-checkout .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #nisha_neighborhood_select_field,
.woocommerce-checkout #nisha_neighborhood_text_field,
.woocommerce-checkout #billing_address_1_field {
	grid-column: 1 / -1;
}

.woocommerce-checkout #nisha_house_number_field,
.woocommerce-checkout #nisha_entrance_field,
.woocommerce-checkout #nisha_apartment_field {
	grid-column: auto;
}

/* Address details: 3 equal columns on desktop */
.woocommerce-checkout #nisha_house_number_field,
.woocommerce-checkout #nisha_entrance_field,
.woocommerce-checkout #nisha_apartment_field {
	width: 100% !important;
}


.woocommerce-checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
	width: 100%;
	min-height: var(--nisha-field-height);
	box-sizing: border-box;
	border: 1px solid var(--nisha-border);
	border-radius: var(--nisha-radius);
	background: #fff;
	color: var(--nisha-black);
	font-size: clamp(20px, 1.7vw, 30px);
	line-height: 1.2;
	text-align: right;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .form-row input.input-text {
	padding: 12px 28px;
}

.woocommerce-checkout .form-row select {
	padding: 12px 28px;
}

.woocommerce-checkout .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 28px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	width: 100%;
	padding: 0;
	color: var(--nisha-black);
	line-height: 1.2;
	text-align: right;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	inset-inline-start: 18px;
	inset-inline-end: auto;
	top: 50%;
	transform: translateY(-50%);
}

.woocommerce-checkout input::placeholder {
	color: rgba(0, 0, 0, 0.58);
	opacity: 1;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
	outline: none;
	border-color: var(--nisha-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--nisha-primary) 15%, transparent);
}

.woocommerce-checkout .woocommerce-invalid input.input-text,
.woocommerce-checkout .woocommerce-invalid select,
.woocommerce-checkout .woocommerce-invalid .select2-selection--single {
	border-color: #b81c23;
}

/* Neighborhood fields */
#nisha_neighborhood_select_field,
#nisha_neighborhood_text_field {
	display: none;
}

/* Step navigation */
.nisha-step-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	clear: both;
	padding-top: 22px;
}

.nisha-step-navigation .button,
.nisha-payment-step-back {
	min-height: 64px;
	border: 0;
	border-radius: var(--nisha-radius);
	font-size: clamp(22px, 1.8vw, 32px);
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.nisha-step-navigation .button:hover,
.nisha-payment-step-back:hover,
.woocommerce-checkout #place_order:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.nisha-step-next {
	grid-column: 2;
	width: 100%;
	margin: 0 !important;
	background: var(--nisha-secondary) !important;
	color: var(--nisha-black) !important;
}

.nisha-step-back {
	grid-column: 1;
	width: 100%;
	margin: 0 !important;
	background: var(--nisha-accent) !important;
	color: var(--nisha-black) !important;
}

.nisha-payment-step-back-wrap {
	display: none;
	margin: 0 auto 20px;
	text-align: right;
}

.nisha-payment-step-back {
	width: calc(50% - 10px);
	background: var(--nisha-accent) !important;
	color: var(--nisha-black) !important;
}

/* Payment step */
.woocommerce-checkout #order_review_heading {
	margin-bottom: 20px;
	color: var(--nisha-primary);
	font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-text-font-family, inherit));
}

.woocommerce-checkout #order_review {
	background: transparent;
}

.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
	border: 0;
	padding-inline: 0;
}

.woocommerce-checkout #place_order {
	float: none;
	width: 100%;
	min-height: 68px;
	margin: 20px 0 0;
	border: 0;
	border-radius: var(--nisha-radius);
	background: var(--nisha-secondary);
	color: var(--nisha-black);
	font-size: clamp(22px, 1.9vw, 34px);
}

/* Order table */
.woocommerce-checkout-review-order-table {
	border-color: var(--nisha-accent) !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 16px !important;
}

/* Admin */
.nisha-admin-delivery-data {
	margin-top: 20px;
}

@media (min-width: 768px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	/* Personal fields: two columns */
	.woocommerce-checkout #billing_first_name_field,
	.woocommerce-checkout #billing_last_name_field,
	.woocommerce-checkout #billing_phone_field,
	.woocommerce-checkout #billing_email_field {
		grid-column: span 3;
	}

	/* Full width fields */
	.woocommerce-checkout #billing_city_field,
	.woocommerce-checkout #nisha_neighborhood_select_field,
	.woocommerce-checkout #nisha_neighborhood_text_field,
	.woocommerce-checkout #billing_address_1_field {
		grid-column: 1 / -1;
	}

	/* Three equal address detail fields */
	.woocommerce-checkout #nisha_house_number_field,
	.woocommerce-checkout #nisha_entrance_field,
	.woocommerce-checkout #nisha_apartment_field {
		grid-column: span 2;
	}

	/* USA fields */
	.woocommerce-checkout #billing_state_field,
	.woocommerce-checkout #billing_postcode_field {
		grid-column: span 3;
	}
}

@media (max-width: 767px) {
	:root {
		--nisha-field-height: 56px;
	}

	.nisha-checkout-steps {
		grid-template-columns: auto 1fr auto 1fr auto;
		gap: 8px;
		margin-bottom: 34px;
	}

	.nisha-step-indicator {
		min-width: 0;
		gap: 8px;
	}

	.nisha-step-number {
		width: 38px;
		height: 38px;
		font-size: 18px;
	}

	.nisha-step-indicator.is-complete .nisha-step-number::before {
		font-size: 20px;
	}

	.nisha-step-label {
		max-width: 72px;
		font-size: 13px;
	}

	.nisha-step-divider {
		margin-top: 19px;
	}

	.woocommerce-checkout #customer_details .col-1,
	.woocommerce-checkout .nisha-current-step-heading,
	.woocommerce-checkout .nisha-step-navigation,
	.woocommerce-checkout .nisha-payment-step-back-wrap,
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		max-width: none;
	}

	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.woocommerce-checkout .form-row,
	.woocommerce-checkout #billing_first_name_field,
	.woocommerce-checkout #billing_last_name_field,
	.woocommerce-checkout #billing_phone_field,
	.woocommerce-checkout #billing_email_field,
	.woocommerce-checkout #billing_city_field,
	.woocommerce-checkout #nisha_neighborhood_select_field,
	.woocommerce-checkout #nisha_neighborhood_text_field,
	.woocommerce-checkout #billing_address_1_field,
	.woocommerce-checkout #nisha_house_number_field,
	.woocommerce-checkout #nisha_entrance_field,
	.woocommerce-checkout #nisha_apartment_field,
	.woocommerce-checkout #billing_state_field,
	.woocommerce-checkout #billing_postcode_field {
		grid-column: 1 !important;
	}

	.woocommerce-checkout .form-row input.input-text,
	.woocommerce-checkout .form-row select,
	.woocommerce-checkout .select2-container .select2-selection--single {
		font-size: 20px;
	}

	.nisha-step-navigation {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.nisha-step-navigation .button,
	.nisha-payment-step-back,
	.woocommerce-checkout #place_order {
		min-height: 56px;
		font-size: 20px;
	}

	.nisha-payment-step-back {
		width: 100%;
	}
}


/* Floating labels */
.woocommerce-checkout .form-row {
	position: relative;
}

.woocommerce-checkout .form-row > label {
	position: absolute;
	z-index: 2;
	top: 50%;
	right: 28px;
	transform: translateY(-50%);
	margin: 0;
	padding: 0 4px;
	background: #fff;
	color: rgba(0, 0, 0, 0.58);
	font-size: clamp(18px, 1.5vw, 26px);
	line-height: 1;
	pointer-events: none;
	transition:
		top 0.18s ease,
		transform 0.18s ease,
		font-size 0.18s ease,
		color 0.18s ease;
}

.woocommerce-checkout .form-row:focus-within > label,
.woocommerce-checkout .form-row.nisha-has-value > label {
	top: -7px;
	right: 20px;
	transform: none;
	padding-inline: 7px;
	background: #fff;
	color: var(--nisha-primary);
	font-size: 13px;
	line-height: 1.15;
}

.woocommerce-checkout .form-row:focus-within input.input-text,
.woocommerce-checkout .form-row.nisha-has-value input.input-text {
	padding-top: 12px;
	padding-bottom: 12px;
}

.woocommerce-checkout .form-row:focus-within select,
.woocommerce-checkout .form-row.nisha-has-value select,
.woocommerce-checkout .form-row:focus-within .select2-selection--single,
.woocommerce-checkout .form-row.nisha-has-value .select2-selection--single {
	padding-top: 0;
}

.woocommerce-checkout .form-row input::placeholder {
	color: transparent;
}

.woocommerce-checkout .form-row:not(.nisha-has-value):not(:focus-within) input::placeholder {
	color: rgba(0, 0, 0, 0.58);
}

.woocommerce-checkout #billing_country_field > label,
.woocommerce-checkout .form-row[style*="display: none"] > label {
	display: none !important;
}

@media (max-width: 767px) {
	.woocommerce-checkout .form-row > label {
		right: 20px;
		font-size: 19px;
	}

	.woocommerce-checkout .form-row:focus-within > label,
	.woocommerce-checkout .form-row.nisha-has-value > label {
		font-size: 12px;
	}
}


/* Prevent floating labels from being clipped by wrappers. */
.woocommerce-checkout .form-row,
.woocommerce-checkout .form-row .woocommerce-input-wrapper,
.woocommerce-checkout .select2-container {
	overflow: visible;
}


/*
 * Select fields always keep their labels floating above the border.
 * A select already displays visible option text, so this prevents overlap
 * between the field label and placeholders such as "בחירת עיר".
 */
.woocommerce-checkout #billing_city_field > label,
.woocommerce-checkout #nisha_neighborhood_select_field > label,
.woocommerce-checkout #billing_state_field > label {
	top: -7px;
	right: 20px;
	transform: none;
	padding-inline: 7px;
	background: #fff;
	color: var(--nisha-primary);
	font-size: 13px;
	line-height: 1.15;
}

.woocommerce-checkout #billing_city_field select,
.woocommerce-checkout #nisha_neighborhood_select_field select,
.woocommerce-checkout #billing_state_field select,
.woocommerce-checkout #billing_city_field .select2-selection--single,
.woocommerce-checkout #nisha_neighborhood_select_field .select2-selection--single,
.woocommerce-checkout #billing_state_field .select2-selection--single {
	padding-top: 0;
}

/* Keep the select option text vertically centered. */
.woocommerce-checkout #billing_city_field .select2-selection__rendered,
.woocommerce-checkout #nisha_neighborhood_select_field .select2-selection__rendered,
.woocommerce-checkout #billing_state_field .select2-selection__rendered {
	display: flex;
	align-items: center;
	min-height: calc(var(--nisha-field-height) - 2px);
}


/* Step 3: order review and payment polish */
.woocommerce-checkout #order_review_heading {
	margin: 0 0 26px;
	color: var(--nisha-primary);
	font-size: clamp(28px, 2.6vw, 46px);
	line-height: 1.2;
}

.woocommerce-checkout #order_review {
	padding: 0;
}

.woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 30px !important;
	border: 1px solid var(--nisha-accent) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.woocommerce-checkout-review-order-table thead th {
	background: color-mix(in srgb, var(--nisha-accent) 42%, #fff);
	color: var(--nisha-black);
	font-size: 15px;
	font-weight: 700;
	border: 0 !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 20px 22px !important;
	border: 0 !important;
	border-bottom: 1px solid color-mix(in srgb, var(--nisha-accent) 70%, #fff) !important;
	vertical-align: middle;
}

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

.woocommerce-checkout-review-order-table .product-name {
	font-size: clamp(20px, 1.7vw, 28px);
	font-weight: 700;
	line-height: 1.45;
}

.woocommerce-checkout-review-order-table .product-quantity {
	font-size: 0.9em;
	font-weight: 700;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot td {
	font-weight: 700;
	white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot th {
	font-weight: 700;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
	background: color-mix(in srgb, var(--nisha-secondary) 18%, #fff);
	font-size: clamp(20px, 1.6vw, 26px);
}

/* Back button above order summary */
.nisha-payment-step-back-wrap {
	margin-bottom: 22px;
}

.nisha-payment-step-back {
	border-radius: 10px !important;
	box-shadow: none !important;
}

/* Payment methods */
.woocommerce-checkout #payment {
	margin-top: 12px;
	padding: 24px;
	border: 1px solid var(--nisha-accent);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

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

.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--nisha-accent) 72%, #fff);
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods li > label {
	font-size: 17px;
	font-weight: 600;
}

.woocommerce-checkout #payment div.payment_box {
	margin: 14px 0 0;
	padding: 16px 18px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--nisha-accent) 58%, #fff);
	color: var(--nisha-black);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: color-mix(in srgb, var(--nisha-accent) 58%, #fff);
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.7;
}

.woocommerce-checkout #place_order {
	margin-top: 24px;
	min-height: 72px;
	border-radius: 12px;
	box-shadow: 0 7px 18px color-mix(in srgb, var(--nisha-secondary) 35%, transparent);
}

.woocommerce-checkout #place_order:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--nisha-primary) 35%, transparent);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td {
		padding: 15px 14px !important;
	}

	.woocommerce-checkout-review-order-table .product-name {
		font-size: 18px;
	}

	.woocommerce-checkout #payment {
		padding: 18px 16px;
	}

	.woocommerce-checkout #payment ul.payment_methods li > label {
		font-size: 16px;
	}
}


/* v0.7.1 – WooCommerce terms checkbox and checkout notices */

/*
 * WooCommerce uses .form-row for both normal inputs and the terms checkbox.
 * Reset the floating-label/layout rules only inside the terms wrapper.
 */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
	position: relative;
	display: block;
	width: 100% !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	overflow: visible;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row > label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row:focus-within > label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row.nisha-has-value > label {
	position: static;
	z-index: auto;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	top: auto;
	right: auto;
	transform: none;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--nisha-black);
	font-size: 15px;
	line-height: 1.65;
	pointer-events: auto;
	cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
	position: static;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 4px 0 0;
	padding: 0;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	cursor: pointer;
	accent-color: var(--nisha-primary);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper
.woocommerce-terms-and-conditions-checkbox-text {
	display: inline;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
	color: var(--nisha-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper
.form-row.woocommerce-invalid {
	padding: 12px 14px !important;
	border: 1px solid #b81c23;
	border-radius: 10px;
	background: rgba(184, 28, 35, 0.045);
}

/* Ensure native WooCommerce checkout errors remain visible above the form. */
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout ul.woocommerce-error,
.woocommerce-checkout .woocommerce-error {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	position: relative;
	z-index: 20;
}

.woocommerce-checkout ul.woocommerce-error {
	margin: 0 auto 24px !important;
	padding: 16px 20px !important;
	border: 1px solid rgba(184, 28, 35, 0.28);
	border-top: 3px solid #b81c23;
	border-radius: 10px;
	background: #fff8f8;
	color: #7f1117;
	line-height: 1.6;
}

.woocommerce-checkout ul.woocommerce-error li {
	display: list-item !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0;
}

@media (max-width: 767px) {
	.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row > label,
	.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row:focus-within > label,
	.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row.nisha-has-value > label {
		font-size: 14px;
	}

	.woocommerce-checkout ul.woocommerce-error {
		padding: 14px 16px !important;
	}
}


/* v0.8.0 – marketing consent checkbox */
.woocommerce-checkout .nisha-marketing-consent-row {
	position: relative;
	display: block;
	width: 100% !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	overflow: visible;
}

.woocommerce-checkout .nisha-marketing-consent-row > label,
.woocommerce-checkout .nisha-marketing-consent-row:focus-within > label,
.woocommerce-checkout .nisha-marketing-consent-row.nisha-has-value > label {
	position: static;
	z-index: auto;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	top: auto;
	right: auto;
	transform: none;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--nisha-black);
	font-size: 15px;
	line-height: 1.65;
	pointer-events: auto;
	cursor: pointer;
}

.woocommerce-checkout .nisha-marketing-consent-row input[type="checkbox"] {
	position: static;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 4px 0 0;
	padding: 0;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	cursor: pointer;
	accent-color: var(--nisha-primary);
}

.woocommerce-checkout .nisha-marketing-consent-row.woocommerce-invalid {
	padding: 12px 14px !important;
	border: 1px solid #b81c23;
	border-radius: 10px;
	background: rgba(184, 28, 35, 0.045);
}

@media (max-width: 767px) {
	.woocommerce-checkout .nisha-marketing-consent-row > label,
	.woocommerce-checkout .nisha-marketing-consent-row:focus-within > label,
	.woocommerce-checkout .nisha-marketing-consent-row.nisha-has-value > label {
		font-size: 14px;
	}
}
