/* InoBags Noir — cart + checkout. Frames WooCommerce's classic forms and the courier plugins' widgets. */

.woocommerce-cart .site-main > .ct-container, .woocommerce-checkout .site-main > .ct-container { padding-top: 20px; }
/* Page title: hidden visually, kept for screen readers */
html body.woocommerce-cart .hero-section, html body.woocommerce-checkout .hero-section { display: block !important; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }

/* Forms */
.woocommerce-checkout form .form-row label, .woocommerce-cart form label { color: #C9B8AE; font-size: 13px; font-weight: 500; }
.woocommerce-checkout form .form-row .required { color: var(--ibn-gold); text-decoration: none; }
.woocommerce-checkout form .form-row input.input-text, .woocommerce-checkout form .form-row select, .woocommerce-checkout form .form-row textarea,
.woocommerce-cart input.qty, .woocommerce-cart #coupon_code {
	min-height: 52px; background: var(--ibn-surface); border: 1px solid rgba(243, 234, 226, .22); border-radius: var(--ibn-radius); color: var(--ibn-ink); font: 500 16px var(--ibn-sans);
}
.woocommerce-checkout form .form-row textarea { min-height: 96px; }
.woocommerce-checkout form .form-row input.input-text:focus, .woocommerce-checkout form .form-row select:focus { border-color: var(--ibn-gold); outline: 2px solid var(--ibn-gold); outline-offset: 1px; }
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text { border-color: #E9A9A0; }
.woocommerce-checkout input::placeholder { color: #8A7A73; }
.woocommerce-checkout input[type="checkbox"], .woocommerce-checkout input[type="radio"] { accent-color: var(--ibn-gold); }

/* select2 / selectWoo (Econt offices, towns) */
.woocommerce-checkout .select2-container .select2-selection--single { height: 52px; background: var(--ibn-surface); border: 1px solid rgba(243, 234, 226, .22); border-radius: var(--ibn-radius); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px; color: var(--ibn-ink); padding-left: 14px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; }
.select2-dropdown { background: var(--ibn-surface); border-color: rgba(212, 176, 122, .3); color: var(--ibn-ink); }
.select2-search--dropdown .select2-search__field { background: var(--ibn-bg); color: var(--ibn-ink); border: 1px solid rgba(243, 234, 226, .22); }
.select2-results__option { color: var(--ibn-ink-2); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ibn-gold); color: var(--ibn-on-gold); }
.select2-container--default .select2-results__option[aria-selected="true"] { background: var(--ibn-surface-2); }

/* Step titles */
.ibn-step, .woocommerce-checkout .woocommerce-billing-fields > h3 {
	display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 400 24px/1.2 var(--ibn-serif); color: var(--ibn-ink);
}
.ibn-step:not(:first-child), #ibn-step-delivery, #ibn-step-payment { margin-top: 36px; }
.ibn-step__n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ibn-gold); color: var(--ibn-gold); font: 700 13px var(--ibn-sans); }
#ibn-step-payment { font-size: 20px; margin-top: 24px; }

/* Coupon link */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: none; border: 0; padding: 0; color: var(--ibn-muted); font-size: 14px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--ibn-gold); }
.woocommerce-checkout .checkout_coupon { padding: 16px; background: var(--ibn-surface); border: 1px solid var(--ibn-line); }

/* Phones: summary shortcut */
.ibn-sumbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 calc(-1 * var(--ibn-gutter)) 18px; padding: 14px var(--ibn-gutter);
	background: var(--ibn-surface); border-bottom: 1px solid var(--ibn-line); color: var(--ibn-gold); font-weight: 600; font-size: 14px; text-decoration: none;
}
.ibn-sumbar strong { color: var(--ibn-ink); font-size: 16px; }
.ibn-sumbar strong .woocommerce-Price-amount { color: inherit; }

/* Speedy plugin widgets */
.bg-speedy-delivery-type__label, .woocommerce-checkout .bg-speedy-carrier__label { color: var(--ibn-ink-2) !important; }
.woocommerce-checkout .bg-speedy-delivery-type-card {
	background: var(--ibn-surface) !important; border: 1px solid rgba(243, 234, 226, .18) !important; color: var(--ibn-ink-2) !important; border-radius: var(--ibn-radius) !important; box-shadow: none !important; min-height: 64px;
}
.woocommerce-checkout .bg-speedy-delivery-type-card:hover { border-color: rgba(212, 176, 122, .6) !important; }
.woocommerce-checkout .bg-speedy-delivery-type-card.is-active { background: var(--ibn-surface-2) !important; border-color: var(--ibn-gold) !important; color: var(--ibn-ink) !important; }
.woocommerce-checkout .bg-speedy-delivery-type-card svg { color: var(--ibn-gold); }
.woocommerce-checkout .bg-speedy-map-toggle { background: transparent !important; border: 1px solid rgba(243, 234, 226, .3) !important; color: var(--ibn-ink) !important; border-radius: var(--ibn-radius) !important; min-height: 44px; }
.woocommerce-checkout .bg-speedy-map-toggle:hover { border-color: var(--ibn-gold) !important; color: var(--ibn-gold) !important; }
/* carrier logos stay on a light tile so they remain legible */
.woocommerce-checkout .bg-speedy-carrier-card { background: #F3EAE2 !important; border: 2px solid transparent !important; border-radius: var(--ibn-radius) !important; }
.woocommerce-checkout .bg-speedy-carrier-card.is-active, .woocommerce-checkout .bg-speedy-carrier-card[aria-pressed="true"] { border-color: var(--ibn-gold) !important; }
.woocommerce-checkout .bg-speedy-min-badge { background: var(--ibn-gold) !important; color: var(--ibn-on-gold) !important; }

/* Econt plugin widgets */
.woocommerce-checkout #econt_custom_checkout_field { color: var(--ibn-ink-2); }
.woocommerce-checkout #econt_shipping_to_buttons_field label.radio {
	background: var(--ibn-surface) !important; border: 1px solid rgba(243, 234, 226, .18) !important; color: var(--ibn-ink) !important; border-radius: var(--ibn-radius); min-height: 56px;
}
.woocommerce-checkout #econt_shipping_to_buttons_field input:checked + label.radio,
.woocommerce-checkout #econt_shipping_to_buttons_field label.radio.checked { border-color: var(--ibn-gold) !important; background: var(--ibn-surface-2) !important; }
.woocommerce-checkout #econt_shipping_to_buttons_field label.radio img { filter: invert(.9) sepia(.2); }

/* Order summary card */
.woocommerce-checkout .ct-order-review { background: var(--ibn-surface); border: 1px solid var(--ibn-line); padding: 24px 20px; }
.woocommerce-checkout #order_review_heading { margin: 0 0 16px; font: 400 26px/1.2 var(--ibn-serif); color: var(--ibn-ink); }
.woocommerce-checkout-review-order-table { border: 0; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border-color: var(--ibn-line) !important; color: var(--ibn-ink-2); background: transparent; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .cart_item td { padding: 12px 0; vertical-align: middle; }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; color: var(--ibn-ink); font-weight: 700; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 18px; color: var(--ibn-ink); }
.woocommerce-checkout-review-order-table .order-total .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--ibn-muted); }
.ibn-sum__item { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--ibn-ink); }
.ibn-sum__qty { display: block; margin-top: 4px; color: var(--ibn-muted); font-size: 13px; }
.ibn-sum__thumb { flex: 0 0 56px; width: 56px; height: 70px; overflow: hidden; background: var(--ibn-cover); }
.ibn-sum__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--ibn-muted); font-weight: 400; }

/* Payment + place order */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 14px 16px; background: var(--ibn-surface-2); border: 1px solid var(--ibn-gold); color: var(--ibn-ink); list-style: none; }
.woocommerce-checkout #payment div.payment_box { background: transparent; color: var(--ibn-muted); padding: 6px 0 0; margin: 0; font-size: 13px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout .woocommerce-privacy-policy-text, .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { color: var(--ibn-muted); font-size: 12px; }
.woocommerce-checkout .woocommerce-privacy-policy-text a, .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--ibn-gold); }
.woocommerce-checkout .woocommerce-form__label-for-checkbox { color: var(--ibn-ink-2); font-size: 14px; }
.woocommerce-checkout .woocommerce-privacy-policy-text { margin-bottom: 14px; }
/* Terms: shoppers could not find the small dark box — a framed row with a large gold checkbox. */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required { margin: 0; padding: 14px 16px; background: var(--ibn-surface-2); border: 1px solid var(--ibn-gold); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { position: relative; display: block; min-height: 24px; padding-left: 36px; margin: 0; color: var(--ibn-ink); font-size: 15px; line-height: 1.45; cursor: pointer; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms {
	-webkit-appearance: none; appearance: none; position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ibn-gold); background: transparent; cursor: pointer; display: grid; place-content: center;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms::after { content: ''; width: 12px; height: 7px; border: solid var(--ibn-bg, #120B0D); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms:checked { background: var(--ibn-gold); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms:checked::after { opacity: 1; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input#terms:focus-visible { outline: 2px solid var(--ibn-gold); outline-offset: 2px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .required { color: var(--ibn-gold); text-decoration: none; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper.is-missing .validate-required { border-color: #e07a6b; box-shadow: 0 0 0 1px #e07a6b; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper.is-missing .validate-required::after { content: 'Отбележи, за да завършиш поръчката'; display: block; margin: 8px 0 0 36px; color: #f0a497; font-size: 13px; }
.woocommerce-checkout #place_order {
	width: 100%; min-height: 56px; margin-top: 12px; background: var(--ibn-gold); color: var(--ibn-on-gold); border: 0; border-radius: var(--ibn-radius); font: 700 16px var(--ibn-sans); letter-spacing: .02em;
}
.woocommerce-checkout #place_order:hover { background: var(--ibn-gold-hover); }
.ibn-checkout-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 14px 0 0; padding: 0; color: var(--ibn-muted); font-size: 12px; }
.ibn-checkout-trust li { margin: 0; }
.ibn-checkout-trust li::before { content: '✓ '; color: var(--ibn-gold); }

/* Notices */
.woocommerce-checkout .woocommerce-error, .woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message, .woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info), .woocommerce-cart .woocommerce-info {
	background: var(--ibn-surface); border: 1px solid var(--ibn-line); border-left: 3px solid var(--ibn-gold); color: var(--ibn-ink); --background-color: var(--ibn-surface);
}
.woocommerce-checkout .woocommerce-error, .woocommerce-cart .woocommerce-error { border-left-color: #E9A9A0; }

/* Cart page */
.woocommerce-cart table.shop_table { border: 0; }
.woocommerce-cart table.shop_table th, .woocommerce-cart table.shop_table td { border-color: var(--ibn-line) !important; color: var(--ibn-ink-2); background: transparent; }
.woocommerce-cart table.shop_table .product-name a { color: var(--ibn-ink); }
.woocommerce-cart table.shop_table .product-thumbnail img { background: var(--ibn-cover); }
.woocommerce-cart table.shop_table .product-subtotal, .woocommerce-cart table.shop_table .product-price { color: var(--ibn-ink); font-weight: 600; }
.woocommerce-cart .product-remove a.remove { color: var(--ibn-muted) !important; }
.woocommerce-cart .product-remove a.remove:hover { color: #E9A9A0 !important; background: transparent; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-cart .ct-cart-totals { background: var(--ibn-surface); border: 1px solid var(--ibn-line); padding: 24px 20px; }
.woocommerce-cart .cart_totals h2 { font: 400 26px/1.2 var(--ibn-serif); color: var(--ibn-ink); }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td { color: var(--ibn-ink-2); border-color: var(--ibn-line) !important; }
.woocommerce-cart .cart_totals .order-total td, .woocommerce-cart .cart_totals .order-total th { color: var(--ibn-ink); font-size: 18px; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { min-height: 56px; background: var(--ibn-gold); color: var(--ibn-on-gold); border-radius: var(--ibn-radius); font: 700 16px var(--ibn-sans); }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: var(--ibn-gold-hover); }
.woocommerce-cart .quantity { border-color: rgba(243, 234, 226, .35); }
.woocommerce-cart .quantity .ct-increase, .woocommerce-cart .quantity .ct-decrease { color: var(--ibn-ink); }
.woocommerce-cart button[name="update_cart"], .woocommerce-cart button[name="apply_coupon"] { background: transparent; color: var(--ibn-ink); border: 1px solid rgba(243, 234, 226, .4); border-radius: var(--ibn-radius); }
.woocommerce-cart .cart-empty, .woocommerce-cart .return-to-shop .button { color: var(--ibn-ink); }
.woocommerce-cart .return-to-shop .button { background: var(--ibn-gold); color: var(--ibn-on-gold); }

@media (min-width: 1000px) {
	.woocommerce-checkout .ct-order-review { padding: 32px 32px; }
	.woocommerce-cart .site-main > .ct-container, .woocommerce-checkout .site-main > .ct-container { padding-top: 40px; }
}
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--open .select2-selection--single { background: var(--ibn-surface) !important; border-color: rgba(243, 234, 226, .22) !important; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ibn-ink) !important; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #8A7A73 !important; }

/* Touch targets and narrow screens */
.ibn-sumbar { margin-inline: 0; }
.woocommerce-cart .product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.woocommerce-cart .inobags-coupon-toggle, .woocommerce-checkout .inobags-notes-toggle, .woocommerce-cart .shipping-calculator-button,
.woocommerce-checkout .showcoupon { display: inline-flex; align-items: center; min-height: 44px; }

/* ======================================================================
   Delivery picker (inobags-core) — big, clear, easy for every age
   ====================================================================== */
.inobags-hidden { display: none !important; }
/* Our cards choose the rate; WooCommerce's own radios in the summary only show the choice. */
.woocommerce-shipping-methods li:has(input:not(:checked)) { display: none; }
.woocommerce-shipping-methods input.shipping_method { display: none; }

.ibs { margin-top: 8px; }
.ibs-types { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.ibs-legend { margin: 0 0 12px; padding: 0; color: var(--ibn-ink-2); font-size: 15px; font-weight: 600; }
.ibs-type {
	position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px;
	background: var(--ibn-surface); border: 1px solid rgba(243, 234, 226, .2); border-radius: var(--ibn-radius); cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.ibs-type:hover { border-color: rgba(212, 176, 122, .6); }
.ibs-type.is-on { border-color: var(--ibn-gold); background: var(--ibn-surface-2); box-shadow: inset 0 0 0 1px var(--ibn-gold); }
.ibs-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ibs-type:has(input:focus-visible) { outline: 2px solid var(--ibn-gold); outline-offset: 2px; }
.ibs-type__radio { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ibn-muted); display: flex; align-items: center; justify-content: center; }
.ibs-type.is-on .ibs-type__radio { border-color: var(--ibn-gold); }
.ibs-type.is-on .ibs-type__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ibn-gold); }
.ibs-type__text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ibs-type__label { font-size: 17px; font-weight: 600; color: var(--ibn-ink); }
.ibs-type__note { font-size: 14px; color: var(--ibn-muted); }
.ibs-type__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.ibs-type__carrier { padding: 3px 7px; border: 1px solid rgba(243, 234, 226, .3); color: var(--ibn-ink-2); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ibs-type__price { font-size: 14px; font-weight: 700; color: var(--ibn-ink); white-space: nowrap; }

.ibs-types .ibs-price { margin: 0; }
.ibs-types .ibs-panel { margin-top: 0; }
.ibs-panel { margin-top: 18px; padding: 18px 16px; background: var(--ibn-surface-3); border: 1px solid rgba(212, 176, 122, .3); }
.ibs-label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--ibn-ink); }
.ibs-optional { font-weight: 400; color: var(--ibn-muted); }
.ibs-search { display: flex; gap: 8px; }
.ibs-input {
	width: 100%; min-height: 56px; padding: 0 16px; box-sizing: border-box;
	background: var(--ibn-bg); border: 1px solid rgba(243, 234, 226, .3); border-radius: var(--ibn-radius); color: var(--ibn-ink); font: 500 18px var(--ibn-sans);
}
.ibs-input::placeholder { color: #8A7A73; font-size: 16px; }
.ibs-input:focus { outline: 2px solid var(--ibn-gold); outline-offset: 1px; border-color: transparent; }
.ibs-near {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 14px;
	background: transparent; border: 1px solid rgba(243, 234, 226, .35); border-radius: var(--ibn-radius); color: var(--ibn-ink); font: 600 14px var(--ibn-sans); cursor: pointer; white-space: nowrap;
}
.ibs-near:hover { border-color: var(--ibn-gold); color: var(--ibn-gold); }
.ibs-near.is-busy { opacity: .6; }
.ibs-hint { margin: 8px 0 0; font-size: 13px; color: var(--ibn-muted); }

.ibs-combo { position: relative; }
.ibs-combo[hidden] { display: none; }
.ibs-list {
	position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; list-style: none; margin: 0; padding: 8px 8px 0;
	max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain;
	background: var(--ibn-surface-3); border: 1px solid var(--ibn-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.ibs-list:empty { display: none; }
/* Phones: the summary is below the form (nothing beside it can jump), and a floating list would hide
   behind the bottom order bar — keep the results in the flow. */
@media (max-width: 999.98px) {
	.ibs-list { position: static; margin-top: 8px; padding: 0; max-height: none; background: none; border: 0; box-shadow: none; }
}
.ibs-list li { margin: 0 0 8px; }
.ibs-option {
	display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 14px 16px; text-align: left; cursor: pointer;
	background: var(--ibn-surface); border: 1px solid rgba(243, 234, 226, .16); border-radius: var(--ibn-radius); color: var(--ibn-ink); font-family: var(--ibn-sans);
}
.ibs-option:hover, .ibs-option:focus-visible { border-color: var(--ibn-gold); background: var(--ibn-surface-2); outline: none; }
.ibs-option__title { font-size: 16px; font-weight: 600; }
.ibs-option__line { font-size: 14px; color: var(--ibn-ink-2); }
.ibs-option__meta { font-size: 13px; color: var(--ibn-muted); }
.ibs-option__dist { font-size: 13px; color: var(--ibn-gold); font-weight: 600; }
.ibs-empty { padding: 4px 8px 12px; color: var(--ibn-muted); font-size: 15px; }

/* Loading: a spinner inside the search box while the server answers; the old results fade meanwhile */
.ibs-field { position: relative; display: block; flex: 1 1 auto; min-width: 0; }
.ibs-field.is-loading .ibs-input { padding-right: 52px; }
.ibs-field.is-loading::after {
	content: ""; position: absolute; top: 50%; right: 16px; width: 22px; height: 22px; margin-top: -11px; box-sizing: border-box;
	border: 2px solid rgba(212, 176, 122, .25); border-top-color: var(--ibn-gold); border-radius: 50%;
	animation: ibs-spin .7s linear infinite; pointer-events: none;
}
.ibs-field.is-loading .ibs-input::-webkit-search-cancel-button { display: none; }
@keyframes ibs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ibs-field.is-loading::after { animation-duration: 1.6s; } }
.ibs-list.is-stale { opacity: .45; pointer-events: none; transition: opacity .15s; }
.ibs-empty--busy { color: var(--ibn-ink-2); }
.ibs-near:disabled { cursor: progress; }

/* Office picker: town first, then every office of that town under one free box */
.ibs-sheet-bar { display: none; }
.ibs-town { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 8px 8px 8px 16px; background: var(--ibn-surface-2); border: 1px solid var(--ibn-line); }
.ibs-town__text { font-size: 16px; color: var(--ibn-ink); }
.ibs-town__text span { color: var(--ibn-muted); font-size: 14px; }
.ibs-found { margin: 8px 0 0; min-height: 1em; font-size: 14px; color: var(--ibn-muted); }
.ibs-found:empty { display: none; }
.ibs-list.ibs-list--all { position: static; margin-top: 10px; padding: 0 6px 0 0; max-height: 440px; background: none; border: 0; box-shadow: none; }
@media (max-width: 999.98px) {
	.ibs-list.ibs-list--all { max-height: 360px; }
	html.ibs-sheet-open, html.ibs-sheet-open body { overflow: hidden; }
	.ibs-picker.is-sheet {
		position: fixed; inset: 0; z-index: 100000; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		padding: 0 16px calc(32px + env(safe-area-inset-bottom)); background: var(--ibn-bg);
	}
	.is-sheet .ibs-sheet-bar {
		position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
		height: 60px; margin: 0 -16px; padding: 0 6px 0 16px; background: var(--ibn-bg); border-bottom: 1px solid var(--ibn-line);
	}
	.ibs-sheet-bar__title { font: 400 21px/1.2 var(--ibn-serif); color: var(--ibn-ink); }
	.ibs-sheet-close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--ibn-ink); cursor: pointer; }
	.is-sheet .ibs-step { padding-top: 16px; }
	.is-sheet .ibs-step__head { position: sticky; top: 60px; z-index: 1; margin: 0 -16px; padding: 16px 16px 10px; background: var(--ibn-bg); }
	.is-sheet .ibs-step[data-step="office"] { padding-top: 0; }
	.is-sheet .ibs-list.ibs-list--all { max-height: none; overflow: visible; padding: 0; }
}

.ibs-chosen { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 14px 16px; background: var(--ibn-surface-2); border: 1px solid var(--ibn-gold); }
.ibs-chosen__text { display: flex; flex-direction: column; gap: 3px; color: var(--ibn-ink); }
.ibs-change { flex: 0 0 auto; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid rgba(243, 234, 226, .35); color: var(--ibn-ink); font: 600 14px var(--ibn-sans); cursor: pointer; border-radius: var(--ibn-radius); }
.ibs-change:hover { border-color: var(--ibn-gold); color: var(--ibn-gold); }

.ibs-addr { margin-top: 18px; }
.ibs-addr > p, .ibs-grid > p { margin: 14px 0 0; }
.ibs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.ibs-price { margin: 14px 0 0; padding: 12px 16px; background: rgba(212, 176, 122, .1); border-left: 3px solid var(--ibn-gold); color: var(--ibn-ink-2); font-size: 15px; }
.ibs-price strong { color: var(--ibn-ink); }
@media (min-width: 600px) { .ibs-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ibs-near span, .ibs-near { padding: 0 10px; font-size: 13px; } }

/* Order received (thank-you) */
.woocommerce-order .woocommerce-thankyou-order-received {
	background: var(--ibn-surface); border: 1px solid var(--ibn-line); border-left: 3px solid var(--ibn-gold); color: var(--ibn-ink); --background-color: var(--ibn-surface);
	padding: 22px 24px; font: 400 clamp(20px, 2.4vw, 26px)/1.3 var(--ibn-serif);
}
.woocommerce-order .woocommerce-thankyou-order-received::before { content: none; }

/* Cart quantity: the input fills the bordered box so − 1 + share one line */
.woocommerce-cart .quantity { height: 48px; width: 112px; border: 1px solid rgba(243, 234, 226, .35); border-radius: var(--ibn-radius); }
.woocommerce-cart .quantity input.qty { height: 100%; min-height: 0; border: 0; background: transparent; font-weight: 600; line-height: 1; }

/* Phone hint: always visible (not a WooCommerce description, which toggles on focus) */
.ibn-field-hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: #A8968E; }
/* Order summary: who the delivery is paid to (the rate itself is 0) */
.ibn-ship-est { display: block; margin-top: 2px; font-size: 12px; color: #A8968E; }
