/**
 * Bombay Menu 1.9.0 – delivery area notice + driver tip in the block checkout.
 * Same look as the checkout fields (woocommerce-style.css): Montserrat, burgundy #7B1E34,
 * borders #EADFD0 / #D9C9B4, fields 14px radius, pills 40px.
 * Theme-proof like bombay-loyalty.css: `:is(#bbm-scope, .x)` gives ID weight.
 */

:is(#bbm-scope, .bbm-dlv) { margin: 14px 0 4px; font-family: 'Montserrat', Arial, sans-serif; color: #2B2A26; text-align: left; }
:is(#bbm-scope, .bbm-dlv) :is(p, span, label, button, input) { font-family: 'Montserrat', Arial, sans-serif; letter-spacing: 0; text-transform: none; text-shadow: none; font-style: normal; }

/* Outside the area / address not found */
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-notice {
	display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 12px 14px;
	border: 1px solid #EBC9C9; border-left: 4px solid #A32D2D; border-radius: 14px; background: #FDF6F5;
	font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #7A2020;
}
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-notice svg { width: 20px; height: 20px; margin-top: 1px; color: #A32D2D; flex: 0 0 auto; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-notice span { margin: 0; color: inherit; font: inherit; }

/* Tip */
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip { padding: 16px; border: 1px solid #EADFD0; border-radius: 14px; background: #FBF8F3; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip.is-busy { opacity: .7; cursor: progress; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 700; line-height: 1.3; color: #7B1E34; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__title svg { width: 18px; height: 18px; color: #B8863B; flex: 0 0 auto; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 64px; margin: 0; padding: 8px 16px;
	border: 1px solid #D9C9B4; border-radius: 40px; background: #FFFFFF; box-shadow: none;
	font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #2B2A26; white-space: nowrap; cursor: pointer;
	transition: border-color .2s, box-shadow .2s, background-color .2s, color .2s;
}
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill:hover { border-color: #7B1E34; background: #FFFFFF; color: #7B1E34; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill.is-on { border-color: #7B1E34; background: #7B1E34; color: #FFFFFF; box-shadow: 0 0 0 1px #7B1E34; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill--none.is-on { border-color: #6B645A; background: #F7F1E6; color: #2B2A26; box-shadow: 0 0 0 1px #6B645A; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill:focus-visible,
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-tip__apply:focus-visible { outline: 3px solid #B8863B; outline-offset: 2px; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill:disabled { cursor: progress; }

:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__custom { margin: 14px 0 0; }
:is(#bbm-scope, .bbm-dlv) label.bbm-dlv-tip__label { display: block; margin: 0 0 6px; padding: 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: #6B645A; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__row { display: flex; gap: 8px; align-items: stretch; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__field { position: relative; flex: 1 1 auto; max-width: 220px; margin: 0; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__field input {
	box-sizing: border-box; width: 100%; min-height: 50px; margin: 0; padding: 0 44px 0 16px;
	border: 1px solid #D9C9B4; border-radius: 14px; background: #FFFFFF; box-shadow: none;
	font-size: 14px; font-weight: 500; line-height: 1.2; color: #2B2A26;
}
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__field input:focus { border-color: #7B1E34; box-shadow: 0 0 0 3px rgba(123, 30, 52, .12); outline: none; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__field input[aria-invalid="true"] { border-color: #A32D2D; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__cur { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); margin: 0; font-size: 13.5px; font-weight: 600; color: #6B645A; pointer-events: none; }
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-tip__apply {
	min-height: 50px; margin: 0; padding: 0 22px; border: 1px solid #7B1E34; border-radius: 50px; background: #7B1E34; box-shadow: none;
	font-size: 13.5px; font-weight: 700; line-height: 1; color: #FFFFFF; cursor: pointer;
}
:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-tip__apply:hover { border-color: #5E1627; background: #5E1627; color: #FFFFFF; }
:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__err { margin: 6px 0 0; font-size: 12px; font-weight: 600; line-height: 1.4; color: #A32D2D; }

@media (max-width: 480px) {
	:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip { padding: 14px 12px; }
	:is(#bbm-scope, .bbm-dlv) button.bbm-dlv-pill { flex: 1 1 calc(33.33% - 8px); min-width: 0; padding: 8px 10px; }
	:is(#bbm-scope, .bbm-dlv) .bbm-dlv-tip__field { max-width: none; }
}
