/* =============================================================================
   WooCommerce Delivery PE — Checkout (functional only, zero visual changes)
   ============================================================================= */

/* Hide WC fields replaced by ubigeo selects */
#billing_country_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#shipping_country_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field {
	display: none;
}

/* Ubigeo select width */
.wdpe-field select {
	width: 100%;
}

/* Loading state for selects */
select.wdpe-loading {
	opacity: 0.5;
	pointer-events: none;
	cursor: wait;
}

/* Store selector width */
.wdpe-store-select {
	width: 100%;
	max-width: 420px;
}

/* Coordination note textarea */
.wdpe-coordination-note textarea {
	min-height: 80px;
	width: 100%;
}

/* Shipping method descriptions */
.wdpe-shipping-description {
	display: block !important;
	font-size: 0.85em;
	color: #666;
	margin-top: 4px;
	line-height: 1.4;
}

/* Cascading selects injected by JS over WC Blocks text inputs */
.wdpe-cascade-select {
	display: block;
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	background-color: #fff;
	color: inherit;
	box-sizing: border-box;
	margin-bottom: 0.5rem;
}

.wdpe-cascade-select:disabled {
	opacity: 0.5;
	cursor: wait;
}

/* ============================================================================
   No grid layout. Checkout inherits 100% theme styles.
   All visual styling (colors, fonts, borders, spacing) comes from theme.
   ============================================================================ */

/* Data-attribute hooks for optional external styling */
span[data-wdpe="shipping-description"] {
	/* Your theme can add styles here via data-attributes */
}

.wdpe-select-district-notice {
	/* Your theme can add styles here */
}

.wdpe-free-shipping-promo {
	/* Your theme can add styles here */
}

.wdpe-free-badge {
	/* Your theme can add styles here */
}

.wdpe-estimated-delivery {
	/* Your theme can add styles here */
}
