/* ===== InOut Delivery — block checkout form ===== */
.inout-block-form { margin: 1em 0; padding: 1em; border: 1px solid #e0e0e0; border-radius: 6px; }
.inout-block-form.has-error { border-color: #cc1818; }
.inout-block-title { margin: 0 0 .6em; font-size: 1.1em; }
.inout-block-desc { margin: 0 0 .75em; }
.inout-block-row { margin-bottom: .75em; }
.inout-block-label { display: block; font-weight: 600; margin-bottom: .25em; }
.inout-block-cols { display: flex; gap: .75em; flex-wrap: wrap; }
.inout-block-cols > div { flex: 1 1 140px; }
.inout-block-input {
	width: 100%; box-sizing: border-box; padding: .55em .6em; border: 1px solid #ccc; border-radius: 4px;
	font-size: 1em; background: #fff;
}
.inout-couriers { display: flex; flex-direction: column; gap: .4em; }
.inout-courier {
	display: flex; align-items: center; gap: .5em; padding: .55em .7em; cursor: pointer;
	border: 1px solid #d7dce5; border-radius: 6px; background: #f8f9fb;
}
.inout-courier.is-selected { border-color: #1e1e1e; background: #fff; }
.inout-courier input { margin: 0; }
.inout-search { position: relative; }
.inout-search-results {
	position: absolute; z-index: 20; left: 0; right: 0; margin: 0; padding: 0; list-style: none;
	background: #fff; border: 1px solid #ccc; border-top: 0; max-height: 260px; overflow-y: auto;
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.inout-search-result, .inout-search-empty { padding: .5em; }
.inout-search-result { cursor: pointer; }
.inout-search-result:hover, .inout-search-result.is-selected { background: #f2f6ff; }
.inout-search-empty { color: #757575; }
.inout-block-muted { color: #757575; margin: 0; }
.inout-block-notice { margin: 0; padding: .5em .7em; background: #fcf9e8; border-left: 3px solid #dba617; }
.inout-block-error { margin: .25em 0 0; color: #cc1818; }
.inout-block-map { height: 320px; margin-top: .5em; border: 1px solid #e0e0e0; border-radius: 6px; overflow: hidden; }
.inout-map-popup { width: 200px; color: #000; font-weight: 600; font-size: 12px; }

/* Hide the native address fields while InOut is selected; the country stays (it drives the couriers). */
body.inout-shipping-selected .wc-block-components-address-form__address_1,
body.inout-shipping-selected .wc-block-components-address-form__address_2,
body.inout-shipping-selected .wc-block-components-address-form__address_2-toggle,
body.inout-shipping-selected .wc-block-components-address-form__city,
body.inout-shipping-selected .wc-block-components-address-form__postcode,
body.inout-shipping-selected .wc-block-components-address-form__state {
	display: none !important;
}

/* Let a single-finger vertical swipe over the map scroll the page (OL sets
   touch-action:none by default; drag-pan is disabled in JS on touch). */
.inout-block-map, .inout-block-map .ol-viewport {
    touch-action: pan-y !important;
}
