/* WooCommerce Shipping Methods */

.hafo-order-summary__shipping {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.hafo-order-summary__shipping-title,
.hafo-order-summary__shipping-package {
	color: var(--hafo-checkout-text, #1e315e);
	display: block;
	font-size: var(--hafo-checkout-font-size-sm, 0.875rem);
	font-weight: var(--hafo-checkout-font-weight-regular, 400);
	line-height: 1.5;
}

.hafo-order-summary__shipping-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.hafo-order-summary__shipping-method {
	align-items: center;
	background: transparent;
	border: 1px solid var(--hafo-checkout-border, #d2d6df);
	border-radius: var(--hafo-checkout-radius-sm, 0.25rem);
	box-shadow: 0 4px 40px rgba(39, 80, 136, 0.08);
	color: var(--hafo-checkout-text, #1e315e);
	cursor: pointer;
	display: flex;
	gap: 16px;
	min-height: 40px;
	padding: 8px 18px;
	position: relative;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.hafo-order-summary__shipping-method:has(.hafo-order-summary__shipping-input:checked) {
	border-color: var(--hafo-checkout-text, #1e315e);
}

.hafo-order-summary__shipping-method:has(.hafo-order-summary__shipping-input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(30, 49, 94, 0.18);
	outline: none;
}

.hafo-order-summary__shipping-input {
	height: 1px;
	opacity: 0;
	position: absolute;
	pointer-events: none;
	width: 1px;
}

.hafo-order-summary__shipping-radio {
	border: 1px solid var(--hafo-checkout-border, #d2d6df);
	border-radius: 999px;
	box-sizing: border-box;
	flex: 0 0 auto;
	height: 13px;
	width: 13px;
}

.hafo-order-summary__shipping-input:checked + .hafo-order-summary__shipping-radio {
	background: var(--hafo-checkout-border, #d2d6df);
	border: 3px solid var(--hafo-checkout-text, #1e315e);
}

.hafo-order-summary__shipping-name {
	color: var(--hafo-checkout-text, #1e315e);
	font-family: var(--hafo-font-family, Lexend, sans-serif);
	font-size: 16px;
	font-weight: var(--hafo-checkout-font-weight-semibold, 600);
	line-height: 24px;
}

.hafo-order-summary__shipping-name .amount {
	color: inherit;
	font-weight: inherit;
}

.hafo-order-summary__shipping-empty {
	color: var(--hafo-checkout-text-light, #666);
	font-size: var(--hafo-checkout-font-size-sm, 0.875rem);
	line-height: 1.5;
}