/* ============================================================
   CLIMASURE CUSTOM CHECKOUT — Stylesheet
   Pairs with climasure-checkout-functions.php
   ============================================================ */

#climasure_pickup_time_field label,
#climasure_delivery_notes_field label,
#pickup_date_field label,
#climasure_authority_to_leave_field label {
	position: static !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	height: auto !important;
	width: auto !important;
	max-width: none !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	z-index: auto !important;
	display: block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #444 !important;
	margin-bottom: 4px !important;
	text-indent: 0 !important;
}

#climasure-shipping-method-slot,
#climasure-pickup-box,
#climasure-pickup-time-wrap,
.woocommerce-shipping-fields {
	background: #fff !important;
	border: 1px solid #e2e2e2 !important;
	border-radius: 8px !important;
	padding: 20px !important;
	margin: 0 0 16px !important;
}

#climasure-pickup-box {
	background: #eaf7fb !important;
	border-color: #b8e2ef !important;
}

#climasure-shipping-method-slot h3,
.woocommerce-shipping-fields h3#ship-to-different-address {
	font-size: 15px !important;
	color: #1e73be !important;
	margin: 0 0 12px !important;
	border-bottom: 1px solid #eee !important;
	padding-bottom: 8px !important;
}

/* ===== Shipping method cards — stacked, single column ===== */

#climasure-shipping-method-target ul.woocommerce-shipping-methods {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 14px !important;
}

#climasure-shipping-method-target ul.woocommerce-shipping-methods li {
	position: relative !important;
	display: block !important;
	border: 2px solid #d5d5d5 !important;
	border-radius: 10px !important;
	padding: 18px 20px 18px 52px !important;
	margin: 0 !important;
	cursor: pointer !important;
	background: #fff !important;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
	text-indent: 0 !important;
}

#climasure-shipping-method-target ul.woocommerce-shipping-methods li:hover {
	border-color: #9ec9ea !important;
	box-shadow: 0 2px 8px rgba(30, 115, 190, 0.08) !important;
}

#climasure-shipping-method-target ul.woocommerce-shipping-methods li:has(input:checked) {
	border-color: #1e73be !important;
	background: #eaf2fb !important;
	box-shadow: 0 2px 10px rgba(30, 115, 190, 0.15) !important;
}

/* Neutralize Astra's faux-radio hiding technique entirely */
#climasure-shipping-method-target ul.woocommerce-shipping-methods li input.shipping_method,
#climasure-shipping-method-target ul.woocommerce-shipping-methods li input[type="radio"].shipping_method {
	position: absolute !important;
	top: 21px !important;
	left: 20px !important;
	margin: 0 !important;
	width: 18px !important;
	height: 18px !important;
	accent-color: #1e73be !important;
	cursor: pointer !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	appearance: auto !important;
	-webkit-appearance: radio !important;
	transform: none !important;
	clip: auto !important;
	clip-path: none !important;
}

/* Neutralize Astra's negative text-indent on the label itself — max specificity */
#climasure-shipping-method-target ul.woocommerce-shipping-methods li label,
#climasure-shipping-method-target ul.woocommerce-shipping-methods li label[for],
body.woocommerce-checkout #climasure-shipping-method-target ul.woocommerce-shipping-methods li label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: #222 !important;
	cursor: pointer !important;
	text-indent: 0 !important;
	transform: none !important;
	position: static !important;
	left: auto !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

#climasure-shipping-method-target label .woocommerce-Price-amount {
	float: right !important;
	font-weight: 700 !important;
	color: #1e73be !important;
	background: #dcecfa !important;
	padding: 3px 10px !important;
	border-radius: 20px !important;
	font-size: 12px !important;
	margin-left: 10px !important;
}

/* Hide the now-empty "Shipment" row left in the order summary table */
tr.woocommerce-shipping-totals.shipping {
	display: none !important;
}

#climasure-shipping-method-target ul.woocommerce-shipping-methods li.climasure-single-option {
	border-color: #1e73be !important;
	background: #eaf2fb !important;
	box-shadow: 0 2px 10px rgba(30, 115, 190, 0.15) !important;
}

/* ===== Authority to Leave — clean inline Yes/No radios ===== */

#climasure-authority-row-inner .radio .optional {
	display: none !important;
}

#climasure-authority-row-inner .woocommerce-input-wrapper {
	display: flex !important;
	align-items: center !important;
	gap: 24px !important;
	margin-top: 6px !important;
}

#climasure-authority-row-inner .woocommerce-input-wrapper label.radio {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	font-weight: normal !important;
	text-indent: 0 !important;
}

#climasure-authority-row-inner input.input-radio {
	margin: 0 !important;
	text-indent: 0 !important;
}

#climasure-shipping-placeholder {
	margin: 0 !important;
	padding: 14px !important;
	background: #f7f9fb !important;
	border: 1px dashed #ccc !important;
	border-radius: 8px !important;
	color: #777 !important;
	font-size: 13px !important;
	font-style: italic !important;
}
.validate-state .select2-container .select2-selection--single {height:60px !important;}
