/* efan's "Check Delivery" pincode box — product page, and the delivery date popup (.efans-dm).
   Input matches .efans-datepicker-input; fonts forced to Figtree to beat the
   summary's Helvetica World rule. */

/* Full row inside the flex form.cart (its 20px gap does the spacing). */
:is(.single-product, .efans-dm) .efans-pincode {
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
}
:is(.single-product, .efans-dm) .efans-pincode__form,
:is(.single-product, .efans-dm) .efans-pincode__msg {
	max-width: 500px;
}
:is(.single-product, .efans-dm) .efans-pincode,
:is(.single-product, .efans-dm) .efans-pincode * {
	font-family: 'Figtree', sans-serif !important;
}

:is(.single-product, .efans-dm) .efans-pincode__title {
	display: flex;
	flex-wrap: wrap; /* hint drops below on narrow screens */
	align-items: center;
	gap: 10px;
	margin: 0 0 12px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #000 !important;
	line-height: 1.4;
}
/* Recommendation beside the heading — sentence case, like the despatch note. */
:is(.single-product, .efans-dm) .efans-pincode__hint {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: #A18A57;
}
:is(.single-product, .efans-dm) .efans-pincode__title svg {
	width: 20px;
	height: 20px;
	color: #9f8a54;
	flex-shrink: 0;
}

:is(.single-product, .efans-dm) .efans-pincode__form {
	display: flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid #e0d8cf;
	background: #fff;
	margin: 0;
}
:is(.single-product, .efans-dm) .efans-pincode__form:focus-within {
	border-color: #9f8a54;
	box-shadow: 0 0 0 2px rgba(159, 138, 84, 0.15);
}

:is(.single-product, .efans-dm) .efans-pincode__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0 !important;
	border-radius: 0;
	padding: 10px 16px;
	font-size: 14px;
	color: #333;
	background: transparent;
	outline: none;
	box-shadow: none !important;
}

:is(.single-product, .efans-dm) .efans-pincode__btn {
	flex-shrink: 0;
	border: 0;
	border-radius: 0;
	padding: 0 20px;
	background: transparent;
	color: #9f8a54;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: color 0.15s;
}
:is(.single-product, .efans-dm) .efans-pincode__btn:hover {
	color: #8a6020;
}
:is(.single-product, .efans-dm) .efans-pincode__btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

:is(.single-product, .efans-dm) .efans-pincode__msg {
	margin: 8px 0 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}
:is(.single-product, .efans-dm) .efans-pincode.is-ok .efans-pincode__msg {
	color: #2e7d32;
}
:is(.single-product, .efans-dm) .efans-pincode.is-error .efans-pincode__msg {
	color: #b3261e;
}

/* Checkout block: "we deliver" line under the delivery PIN Code field
   (failures use WooCommerce's own field error). */
.efans-checkout-pincode {
	margin: 6px 0 0 !important;
	font-family: 'Figtree', sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #2e7d32;
}
