/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.woodmart-child-inline-validation {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
}

.woodmart-child-inline-validation.is-checking {
	color: #8d6e63;
}

.woodmart-child-inline-validation.is-valid {
	color: #2e7d32;
}

.woodmart-child-inline-validation.is-invalid {
	color: #c62828;
}

.woodmart-child-valid {
	border-color: #2e7d32 !important;
}

.woodmart-child-invalid {
	border-color: #c62828 !important;
}

.era-checkout-address-book {
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid #e5d7cf;
	background: #faf5f2;
}

.era-checkout-address-book__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.era-checkout-address-book__header h3 {
	margin: 0;
	font-size: 22px;
}

.era-checkout-address-book__list {
	display: grid;
	gap: 12px;
}

.era-checkout-address-book__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px;
	border: 1px solid #ddc9be;
	background: #fff;
	cursor: pointer;
}

.era-checkout-address-book__item input {
	margin-top: 4px;
}

.era-checkout-address-book__content {
	display: grid;
	gap: 6px;
}

.era-checkout-address-book__content strong {
	font-size: 15px;
}

.era-checkout-address-book__content span {
	line-height: 1.6;
}

.era-address-book-new {
	white-space: nowrap;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row:not(#billing_email_field) {
	display: none;
}

.woocommerce-checkout form.checkout:not(.woodmart-child-account-ready) #account_password_field {
	display: none;
}

.woocommerce .woocommerce-password-reset-confirmation {
	display: block;
	max-width: 680px;
	margin: 24px auto 40px;
	padding: 28px 32px;
	border: 1px solid #d8b8a7;
	border-radius: 14px;
	background: #fff7f3;
	color: #4f2f25;
	box-shadow: 0 10px 30px rgba(138, 88, 64, 0.08);
	text-align: left;
}

.woocommerce .woocommerce-password-reset-confirmation h2 {
	margin: 0 0 14px;
	color: #8d5a46;
	font-size: 28px;
	line-height: 1.2;
}

.woocommerce .woocommerce-password-reset-confirmation p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.7;
	color: #4f2f25;
}

.woocommerce .woocommerce-password-reset-confirmation p:last-child {
	margin-bottom: 0;
}

.woocommerce .woocommerce-password-reset-confirmation .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: #8d5a46;
	color: #fff;
}

.woocommerce .woocommerce-password-reset-confirmation .button:hover {
	background: #744838;
	color: #fff;
}

.woocommerce .woocommerce-message {
	display: block;
	margin: 0 auto 20px;
	max-width: 680px;
}

.era-razorpay-payment-processing #btn-razorpay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 150px;
	pointer-events: none;
	opacity: 1;
}

.era-razorpay-payment-processing #btn-razorpay::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: era-razorpay-spin 0.75s linear infinite;
}

.era-razorpay-payment-processing #btn-razorpay-cancel {
	display: none;
}

.era-razorpay-payment-processing #msg-razorpay-success {
	display: block;
	background-color: #f4ede9 !important;
	color: #5d3b31;
	border-top-color: #9b6a57;
}

.woocommerce-order-pay.era-razorpay-payment-handoff .wd-header,
.woocommerce-order-pay.era-razorpay-payment-handoff .whb-header,
.woocommerce-order-pay.era-razorpay-payment-handoff .footer-container,
.woocommerce-order-pay.era-razorpay-payment-handoff .site-content > .woocommerce-order-details,
.woocommerce-order-pay.era-razorpay-payment-handoff .woocommerce-order-overview,
.woocommerce-order-pay.era-razorpay-payment-handoff .woocommerce-order > p:first-of-type:not(#msg-razorpay-success) {
	display: none;
}

.woocommerce-order-pay.era-razorpay-payment-handoff .main-page-wrapper,
.woocommerce-order-pay.era-razorpay-payment-handoff .site-content {
	min-height: 100vh;
	background: #f6f6f6;
}

.woocommerce-order-pay.era-razorpay-payment-handoff .woocommerce {
	display: grid;
	place-items: center;
	min-height: 70vh;
}

.woocommerce-order-pay.era-razorpay-payment-handoff .woocommerce-order {
	width: min(520px, calc(100vw - 32px));
	padding: 32px;
	border: 1px solid #e5e0dc;
	background: #fff;
	text-align: center;
	box-shadow: 0 20px 60px rgba(35, 31, 29, 0.08);
}

.woocommerce-order-pay.era-razorpay-payment-handoff #msg-razorpay-success {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #3c3430;
	font-size: 16px;
	line-height: 1.6;
}

.woocommerce-order-pay.era-razorpay-payment-handoff #btn-razorpay {
	width: 100%;
	min-height: 48px;
}

.single-product form.variations_form .era-product-choice-required {
	display: flex;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	background: #fff7f3;
	color: #5d3b31;
	font-size: 14px;
	line-height: 1.5;
}

.single-product form.variations_form .era-product-choice-required::before {
	content: "*";
	color: #5d3b31;
	font-weight: 700;
}

.single-product .single_add_to_cart_button.era-choice-required-disabled,
.single-product .single_add_to_cart_button.era-choice-required-disabled:hover {
	cursor: not-allowed;
	opacity: 0.45;
	filter: grayscale(0.2);
}

.single-product form.variations_form.era-choice-required-missing .variations {
	margin-bottom: 14px;
}

@keyframes era-razorpay-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 768.98px) {
	.woocommerce table.woocommerce-MyAccount-orders.shop_table_responsive th.woocommerce-orders-table__cell-order-number {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 5px;
		padding: 0;
		border-bottom: none;
	}

	.woocommerce table.woocommerce-MyAccount-orders.shop_table_responsive th.woocommerce-orders-table__cell-order-number:not(:last-child) {
		padding-bottom: 5px;
		border-bottom: 1px dashed var(--brdcolor-gray-300);
	}

	.woocommerce table.woocommerce-MyAccount-orders.shop_table_responsive th.woocommerce-orders-table__cell-order-number::before {
		content: attr(data-title);
		margin-inline-end: auto;
		color: var(--wd-title-color);
		font-weight: var(--wd-title-font-weight);
		font-style: var(--wd-title-font-style);
		font-family: var(--wd-title-font);
	}
}
