/*
 * Majestic Native Checkout
 * v0.12.0
 */

.majestic-checkout {
	--majestic-checkout-border: var(--majestic-color-border, #e7e7e7);
	--majestic-checkout-muted: color-mix(in srgb, var(--majestic-color-text, #222) 62%, transparent);
	--majestic-checkout-summary-bg: var(--majestic-color-secondary, #f7f3ed);
	width: 100%;
	color: var(--majestic-color-text, #222);
	font-family: var(--e-global-typography-text-font-family, inherit);
}

.majestic-checkout *,
.majestic-checkout *::before,
.majestic-checkout *::after {
	box-sizing: border-box;
}

body.woocommerce-checkout .majestic-cart-trigger--floating {
	display: none !important;
}

.majestic-checkout__notices {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.majestic-checkout .woocommerce-error,
.majestic-checkout .woocommerce-info,
.majestic-checkout .woocommerce-message,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
	margin: 0 0 18px !important;
	padding: 14px 16px 14px 42px !important;
	border: 1px solid var(--majestic-checkout-border) !important;
	border-top-width: 1px !important;
	background: var(--majestic-color-background, #fff) !important;
	color: var(--majestic-color-text, #222) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}

.majestic-checkout__utility {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 18px 48px 18px;
	background: var(--majestic-color-background, #fff);
}

.majestic-checkout__coupon-toggle {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--majestic-color-accent, #aa7f79);
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	cursor: pointer;
}

.majestic-checkout__coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	width: 100%;
	max-width: 470px;
	margin: 12px 0 0;
}

.majestic-checkout__coupon[hidden] {
	display: none !important;
}

.majestic-checkout__coupon:not([hidden]) {
	display: grid !important;
}

.majestic-checkout__coupon input {
	width: 100%;
	height: 44px;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid var(--majestic-checkout-border) !important;
	border-radius: 0 !important;
	background: var(--majestic-color-background, #fff) !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	box-shadow: none !important;
}

.elementor .majestic-checkout__coupon button,
.majestic-checkout__coupon button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 88px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 8px 16px !important;
	border: 1px solid var(--majestic-color-text, #222) !important;
	border-radius: 0 !important;
	background: var(--majestic-color-text, #222) !important;
	color: var(--majestic-color-on-dark, #fff) !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.majestic-checkout__form {
	margin: 0 !important;
	padding: 0 !important;
}

.majestic-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	border-top: 1px solid var(--majestic-checkout-border);
	border-bottom: 1px solid var(--majestic-checkout-border);
}

.majestic-checkout__main {
	min-width: 0;
	padding: 36px 48px 52px;
	border-right: 1px solid var(--majestic-checkout-border);
	background: var(--majestic-color-background, #fff);
}

.majestic-checkout__summary {
	min-width: 0;
	background: var(--majestic-checkout-summary-bg);
}

.majestic-checkout__summary-inner {
	position: sticky;
	top: 24px;
	padding: 36px 42px 52px;
}

.majestic-checkout__section + .majestic-checkout__section {
	margin-top: 30px;
}

.majestic-checkout__section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 13px;
}

.majestic-checkout__section-title,
.elementor .majestic-checkout__section-title {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 650 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.majestic-checkout__signin {
	color: var(--majestic-color-text, #222) !important;
	font-size: 12px;
	line-height: 1.3;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.majestic-checkout__section-copy {
	margin: -5px 0 14px;
	color: var(--majestic-checkout-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* Checkout fields */
.majestic-checkout .woocommerce-billing-fields__field-wrapper,
.majestic-checkout .woocommerce-shipping-fields__field-wrapper,
.majestic-checkout .woocommerce-account-fields,
.majestic-checkout .woocommerce-additional-fields__field-wrapper,
.majestic-checkout__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
	width: 100%;
}

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

.majestic-checkout .form-row-first,
.majestic-checkout .form-row-last {
	width: calc(50% - 6px) !important;
}

.majestic-checkout .form-row label {
	display: block;
	margin: 0 0 5px;
	color: var(--majestic-checkout-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.majestic-checkout .form-row label .required {
	color: var(--majestic-color-accent, #aa7f79);
	text-decoration: none;
}

.majestic-checkout .input-text,
.majestic-checkout input[type="email"],
.majestic-checkout input[type="tel"],
.majestic-checkout input[type="text"],
.majestic-checkout input[type="password"],
.majestic-checkout select,
.majestic-checkout textarea,
.majestic-checkout .select2-container .select2-selection--single {
	width: 100% !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid var(--majestic-checkout-border) !important;
	border-radius: 0 !important;
	background: var(--majestic-color-background, #fff) !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

.majestic-checkout textarea {
	min-height: 96px !important;
	resize: vertical;
}

.majestic-checkout .select2-container {
	width: 100% !important;
}

.majestic-checkout .select2-selection__rendered {
	padding-left: 0 !important;
	line-height: 24px !important;
	color: var(--majestic-color-text, #222) !important;
}

.majestic-checkout .select2-selection__arrow {
	height: 44px !important;
}

.majestic-checkout .input-text:focus,
.majestic-checkout input:focus,
.majestic-checkout select:focus,
.majestic-checkout textarea:focus,
.majestic-checkout .select2-container--focus .select2-selection {
	border-color: var(--majestic-color-text, #222) !important;
	outline: 1px solid var(--majestic-color-text, #222) !important;
	outline-offset: 0 !important;
}

.majestic-checkout .woocommerce-invalid .input-text,
.majestic-checkout .woocommerce-invalid select,
.majestic-checkout .woocommerce-invalid .select2-selection {
	border-color: var(--majestic-color-error, #b42318) !important;
}

.majestic-checkout .woocommerce-validated .input-text,
.majestic-checkout .woocommerce-validated select,
.majestic-checkout .woocommerce-validated .select2-selection {
	border-color: var(--majestic-checkout-border) !important;
}

.majestic-checkout__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 3px 0 12px;
	font-size: 12px;
	line-height: 1.45;
	cursor: pointer;
}

.majestic-checkout__checkbox input {
	width: 17px !important;
	height: 17px !important;
	flex: 0 0 17px;
	margin: 1px 0 0 !important;
	accent-color: var(--majestic-color-accent, #aa7f79);
}

.majestic-checkout .shipping_address,
.majestic-checkout .create-account {
	width: 100%;
	padding-top: 10px;
}

/* Shipping methods */
.majestic-checkout__shipping-methods-content {
	width: 100%;
}

.majestic-checkout__shipping-list {
	margin: 0;
	padding: 0;
	border: 1px solid var(--majestic-checkout-border);
	list-style: none;
}

.majestic-checkout__shipping-option {
	position: relative;
	margin: 0;
	padding: 0;
}

.majestic-checkout__shipping-option + .majestic-checkout__shipping-option {
	border-top: 1px solid var(--majestic-checkout-border);
}

.majestic-checkout__shipping-option label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 11px;
	align-items: center;
	min-height: 62px;
	margin: 0;
	padding: 13px 15px;
	cursor: pointer;
}

.majestic-checkout__shipping-option input {
	width: 17px !important;
	height: 17px !important;
	margin: 0 !important;
	accent-color: var(--majestic-color-accent, #aa7f79);
}

.majestic-checkout__shipping-label {
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.majestic-checkout__shipping-price {
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
}

.majestic-checkout__shipping-empty {
	margin: 0;
	padding: 14px 15px;
	border: 1px solid var(--majestic-checkout-border);
	background: color-mix(in srgb, var(--majestic-color-secondary, #fcfaf7) 60%, #fff);
	color: var(--majestic-checkout-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* Payment */
.majestic-checkout .woocommerce-checkout-payment {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--majestic-checkout-border) !important;
	list-style: none !important;
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods > li {
	margin: 0 !important;
	padding: 14px 15px !important;
	border: 0 !important;
	background: var(--majestic-color-background, #fff) !important;
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods > li + li {
	border-top: 1px solid var(--majestic-checkout-border) !important;
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods li > input[type="radio"] {
	width: 17px !important;
	height: 17px !important;
	margin: 0 8px 0 0 !important;
	accent-color: var(--majestic-color-accent, #aa7f79);
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods li > label {
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.majestic-checkout .woocommerce-checkout-payment ul.payment_methods li img {
	max-height: 28px !important;
	margin-left: 8px !important;
	vertical-align: middle;
}

.majestic-checkout .payment_box {
	margin: 12px 0 0 !important;
	padding: 13px !important;
	border-radius: 0 !important;
	background: var(--majestic-checkout-summary-bg) !important;
	color: var(--majestic-checkout-muted) !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
}

.majestic-checkout .payment_box::before {
	display: none !important;
}

.majestic-checkout .woocommerce-checkout-payment .place-order {
	margin: 18px 0 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.majestic-checkout .woocommerce-privacy-policy-text,
.majestic-checkout .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 13px;
	color: var(--majestic-checkout-muted);
	font-size: 10px;
	line-height: 1.5;
}

.majestic-checkout .woocommerce-terms-and-conditions-checkbox-text a,
.majestic-checkout .woocommerce-privacy-policy-text a {
	color: inherit !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.majestic-checkout #place_order,
.elementor .majestic-checkout #place_order {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	float: none !important;
	width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 1px solid var(--majestic-color-accent, #aa7f79) !important;
	border-radius: 0 !important;
	background: var(--majestic-color-accent, #aa7f79) !important;
	color: var(--majestic-color-on-dark, #fff) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
}

.majestic-checkout #place_order:hover,
.majestic-checkout #place_order:focus {
	border-color: var(--majestic-color-text, #222) !important;
	background: var(--majestic-color-text, #222) !important;
}

.majestic-checkout #place_order:disabled,
.majestic-checkout #place_order.disabled {
	border-color: color-mix(in srgb, var(--majestic-color-text, #222) 24%, transparent) !important;
	background: color-mix(in srgb, var(--majestic-color-text, #222) 24%, var(--majestic-color-background, #fff)) !important;
	color: var(--majestic-color-on-dark, #fff) !important;
	cursor: not-allowed;
}

/* Summary */
.majestic-checkout__summary-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.majestic-checkout__summary-title,
.elementor .majestic-checkout__summary-title {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-weight: 650 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
}

.elementor .majestic-checkout__summary-toggle,
.majestic-checkout__summary-toggle {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.majestic-checkout__summary-content {
	width: 100%;
}

.majestic-checkout__products {
	margin: 0;
	padding: 0;
	list-style: none;
}

.majestic-checkout__product {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 0 0 17px;
}

.majestic-checkout__product + .majestic-checkout__product {
	padding-top: 17px;
	border-top: 1px solid var(--majestic-checkout-border);
}

.majestic-checkout__product-media {
	position: relative;
	width: 62px;
	height: 62px;
	overflow: visible;
	border: 1px solid var(--majestic-checkout-border);
	background: var(--majestic-color-background, #fff);
}

.majestic-checkout__product-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.majestic-checkout__qty-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--majestic-color-text, #222);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.majestic-checkout__product-copy {
	min-width: 0;
}

.majestic-checkout__product-name {
	margin: 0 0 3px;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.majestic-checkout__product-variation {
	color: var(--majestic-checkout-muted);
	font-size: 10px;
	line-height: 1.4;
}

.majestic-checkout__product-variation dl,
.majestic-checkout__product-variation dt,
.majestic-checkout__product-variation dd,
.majestic-checkout__product-variation p {
	display: inline;
	margin: 0;
	padding: 0;
}

.majestic-checkout__product-variation dt::after {
	content: ": ";
}

.majestic-checkout__product-variation dd::after {
	content: " · ";
}

.majestic-checkout__product-variation dd:last-child::after {
	content: "";
}

.majestic-checkout__product-total {
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
}

.majestic-checkout__totals {
	margin-top: 20px;
	padding-top: 17px;
	border-top: 1px solid var(--majestic-checkout-border);
}

.majestic-checkout__total-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	font-size: 12px;
	line-height: 1.45;
}

.majestic-checkout__total-row + .majestic-checkout__total-row {
	margin-top: 9px;
}

.majestic-checkout__total-row strong {
	font-weight: 650;
	text-align: right;
}

.majestic-checkout__total-row--grand {
	margin-top: 17px !important;
	padding-top: 16px;
	border-top: 1px solid var(--majestic-checkout-border);
	font-size: 17px;
	font-weight: 700;
}

.majestic-checkout__total-row--grand strong {
	font-size: 19px;
}

.majestic-checkout__reassurance {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--majestic-checkout-border);
}

.majestic-checkout__reassurance-item {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	color: var(--majestic-checkout-muted);
	font-size: 9px;
	line-height: 1.3;
}

.majestic-checkout__reassurance-icon {
	display: inline-flex;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	color: var(--majestic-color-accent, #aa7f79);
}

.majestic-checkout__reassurance-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* Account/order fields */
.majestic-checkout__account,
.majestic-checkout__different-shipping,
.majestic-checkout__notes {
	margin-top: 12px;
}

.majestic-checkout__account .create-account {
	padding-top: 8px;
}

.majestic-checkout__empty {
	width: min(760px, calc(100% - 40px));
	margin: 0 auto;
	padding: 70px 20px;
	text-align: center;
}

.majestic-checkout__empty h2 {
	margin: 0 0 10px !important;
	font-family: var(--e-global-typography-primary-font-family, Georgia, serif) !important;
	font-size: 34px !important;
	font-weight: var(--e-global-typography-primary-font-weight, 400) !important;
	line-height: 1.15 !important;
}

.majestic-checkout__empty p {
	margin: 0 0 22px;
	color: var(--majestic-checkout-muted);
	font-size: 14px;
}

.majestic-checkout__empty a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	min-height: 46px;
	padding: 10px 18px;
	background: var(--majestic-color-text, #222);
	color: var(--majestic-color-on-dark, #fff) !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

@media (max-width: 900px) {
	.majestic-checkout__layout {
		grid-template-columns: 1fr;
		width: min(720px, calc(100% - 32px));
		border-top: 0;
	}

	.majestic-checkout__main {
		order: 2;
		padding: 28px 0 48px;
		border-right: 0;
	}

	.majestic-checkout__summary {
		order: 1;
		width: 100%;
		margin: 0;
		border-top: 1px solid var(--majestic-checkout-border);
		border-bottom: 1px solid var(--majestic-checkout-border);
	}

	.majestic-checkout__summary-inner {
		position: static;
		padding: 18px 20px;
	}

	.majestic-checkout__summary-head {
		margin-bottom: 0;
	}

	.elementor .majestic-checkout__summary-toggle,
	.majestic-checkout__summary-toggle {
		display: inline-flex !important;
	}

	.majestic-checkout__summary-content {
		display: none;
		padding-top: 18px;
	}

	.majestic-checkout__summary.is-open .majestic-checkout__summary-content {
		display: block;
	}

	.majestic-checkout__utility,
	.majestic-checkout__notices {
		width: min(720px, calc(100% - 32px));
	}

	.majestic-checkout__utility {
		margin-bottom: 14px;
	}
}

@media (max-width: 600px) {
	.majestic-checkout .form-row-first,
	.majestic-checkout .form-row-last {
		width: 100% !important;
	}

	.majestic-checkout__section + .majestic-checkout__section {
		margin-top: 26px;
	}

	.majestic-checkout__product {
		grid-template-columns: 54px minmax(0, 1fr) auto;
		gap: 10px;
	}

	.majestic-checkout__product-media {
		width: 54px;
		height: 54px;
	}

	.majestic-checkout__reassurance {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/*
 * Checkout extensions may inject their own H2/H3 headings, such as gift-order
 * fields. Keep them in the same visual hierarchy as Majestic checkout sections.
 */
.majestic-checkout__main h3,
.majestic-checkout__main h2:not(.majestic-checkout__section-title) {
	margin: 0 0 13px !important;
	padding: 0 !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}


@media (max-width: 900px) {
	.majestic-checkout__main {
		padding: 28px 20px 48px;
	}

	.majestic-checkout__utility {
		padding: 16px 20px 18px;
	}
}


/* Keep coupon prompt and form on exactly the same left edge as checkout fields. */
.majestic-checkout__utility {
	text-align: left;
}

.majestic-checkout__coupon-toggle,
.elementor .majestic-checkout__coupon-toggle {
	display: block !important;
	width: fit-content !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.majestic-checkout__coupon,
.elementor .majestic-checkout__coupon {
	margin-left: 0 !important;
	margin-right: 0 !important;
}


/* Coupon field/button refinement. */
.majestic-checkout__coupon,
.elementor .majestic-checkout__coupon {
	grid-template-columns: minmax(0, 1fr) 88px !important;
	align-items: stretch !important;
	gap: 10px !important;
}

.majestic-checkout__coupon input,
.elementor .majestic-checkout__coupon input {
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.majestic-checkout__coupon input:focus,
.elementor .majestic-checkout__coupon input:focus {
	border-width: 1px !important;
	border-color: var(--majestic-color-text, #222) !important;
	outline: none !important;
	box-shadow: none !important;
}

.majestic-checkout__coupon button,
.elementor .majestic-checkout__coupon button {
	align-self: stretch !important;
	width: 88px !important;
	min-width: 88px !important;
	max-width: 88px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	box-sizing: border-box !important;
}


/*
 * iOS Safari zooms form controls on focus when the computed font-size is
 * smaller than 16px. Keep mobile checkout controls at 16px to prevent the
 * unwanted page zoom while leaving desktop/tablet typography unchanged.
 */
@media (max-width: 767px) {
	.majestic-checkout .input-text,
	.majestic-checkout input[type="email"],
	.majestic-checkout input[type="tel"],
	.majestic-checkout input[type="text"],
	.majestic-checkout input[type="password"],
	.majestic-checkout select,
	.majestic-checkout textarea,
	.majestic-checkout .select2-container .select2-selection--single,
	.majestic-checkout__coupon input,
	.elementor .majestic-checkout__coupon input {
		font-size: 16px !important;
	}

	.majestic-checkout .select2-selection__rendered {
		font-size: 16px !important;
	}
}


@media (max-width: 767px) {
	.majestic-checkout .form-row label {
		font-size: 13px !important;
		line-height: 1.3 !important;
	}
}


/* Final checkout section-title weight lock. */
.majestic-checkout .majestic-checkout__section-title,
.elementor .majestic-checkout .majestic-checkout__section-title,
body.woocommerce-checkout .majestic-checkout .majestic-checkout__section-title {
	font-weight: 600 !important;
}

/* Extension headings such as gift/order headings follow the same hierarchy. */
.majestic-checkout__main h3,
.majestic-checkout__main h2:not(.majestic-checkout__section-title),
.elementor .majestic-checkout__main h3,
.elementor .majestic-checkout__main h2:not(.majestic-checkout__section-title) {
	font-weight: 600 !important;
}


/* Keep Order Summary title aligned with the rest of the Checkout hierarchy. */
.majestic-checkout .majestic-checkout__summary-title,
.elementor .majestic-checkout .majestic-checkout__summary-title,
body.woocommerce-checkout .majestic-checkout .majestic-checkout__summary-title {
	font-weight: 600 !important;
}


/* Native Majestic Gift Orders */
.majestic-checkout__gift {
	margin-top: 18px;
}

.majestic-checkout__gift-title,
.elementor .majestic-checkout__gift-title {
	margin: 0 0 13px !important;
	padding: 0 !important;
	color: var(--majestic-color-text, #222) !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	font-style: normal !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.majestic-checkout__gift-toggle {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	color: var(--majestic-color-text, #222);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.majestic-checkout__gift-toggle input {
	flex: 0 0 auto;
	width: 15px !important;
	height: 15px !important;
	min-height: 0 !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	accent-color: var(--majestic-color-accent, #aa7f79);
}

.majestic-checkout__gift-message {
	margin-top: 13px;
}

.majestic-checkout__gift-message[hidden] {
	display: none !important;
}

.majestic-checkout__gift-message label {
	display: block;
	margin: 0 0 5px;
	color: var(--majestic-checkout-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.majestic-checkout__gift-message textarea {
	display: block;
	width: 100%;
	min-height: 78px;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid var(--majestic-checkout-border);
	border-radius: 0;
	background: var(--majestic-color-background, #fff);
	color: var(--majestic-color-text, #222);
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	resize: vertical;
	box-shadow: none;
}

.majestic-checkout__gift-message textarea:focus {
	border-color: var(--majestic-color-text, #222);
	border-width: 1px;
	outline: none;
	box-shadow: none;
}

.majestic-checkout__gift-count {
	display: block;
	margin-top: 5px;
	color: var(--majestic-checkout-muted);
	font-size: 10px;
	line-height: 1.3;
	text-align: right;
}

@media (max-width: 767px) {
	.majestic-checkout__gift-title,
	.elementor .majestic-checkout__gift-title {
		font-size: 18px !important;
	}

	.majestic-checkout__gift-toggle {
		font-size: 13px;
	}

	.majestic-checkout__gift-message label {
		font-size: 13px;
	}

	.majestic-checkout__gift-message textarea {
		font-size: 16px;
	}
}
