/* BrushieBrushie Pedidos – inherits the theme's fonts; colours via variables so the
   dark Elementor site can override them (accent = the brand red/orange). */
.bbp, .bbp-done {
	--bbp-accent: #e0a100;
	--bbp-accent-ink: #111;
	--bbp-text: inherit;
	--bbp-muted: rgba(127, 127, 127, .95);
	--bbp-border: rgba(127, 127, 127, .45);
	--bbp-surface: rgba(127, 127, 127, .08);
	--bbp-error: #e5484d;
	max-width: 880px;
	margin: 0 auto;
	color: var(--bbp-text);
}
.bbp *, .bbp *::before, .bbp *::after { box-sizing: border-box; }

.bbp-step { border: 1px solid var(--bbp-border); border-radius: 12px; padding: 20px 20px 12px; margin: 0 0 20px; }
.bbp-step[hidden] { display: none; }
.bbp-step legend { font-size: 1.15rem; font-weight: 700; padding: 0 8px; }
.bbp-num { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--bbp-accent); color: var(--bbp-accent-ink); font-size: .85em; margin-right: 6px; }
.bbp-help, .bbp-legal { color: var(--bbp-muted); font-size: .88rem; margin: 4px 0 12px; }
.bbp-legal { font-size: .78rem; }

.bbp-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.bbp-choice input { position: absolute; opacity: 0; }
.bbp-choice span { display: inline-block; padding: 10px 16px; border: 1px solid var(--bbp-border); border-radius: 999px; cursor: pointer; }
.bbp-choice input:checked + span { background: var(--bbp-accent); color: var(--bbp-accent-ink); border-color: var(--bbp-accent); font-weight: 600; }
.bbp-choice input:focus-visible + span { outline: 2px solid var(--bbp-accent); outline-offset: 2px; }

.bbp-field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; font-size: .92rem; }
.bbp-field input, .bbp-field select, .bbp-field textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--bbp-border); border-radius: 8px;
	background: var(--bbp-surface); color: inherit; font: inherit;
}
.bbp-field select option { color: #111; }
.bbp-check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: .92rem; }
.bbp-check input { margin-top: 3px; }
.bbp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }

.bbp-unit {
	display: grid; gap: 8px 12px; align-items: end; position: relative;
	grid-template-columns: 1.3fr 1.6fr .9fr .6fr auto auto;
	padding: 12px 36px 8px 12px; margin-bottom: 10px; border-radius: 10px; background: var(--bbp-surface);
}
.bbp-unit .bbp-field { margin: 0; }
.bbp-unit-opt { margin: 0 0 10px; white-space: nowrap; }
.bbp-example { color: var(--bbp-muted); min-height: 1.2em; }
.bbp-unit-price { grid-column: 1 / -1; font-size: .85rem; color: var(--bbp-muted); }
.bbp-unit-remove { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: .7; }
.bbp-unit-remove:hover { opacity: 1; }

.bbp-estimate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; margin: 12px 0 8px; border: 1px dashed var(--bbp-accent); border-radius: 10px; }
.bbp-estimate-value { font-size: 1.35rem; }
.bbp-estimate-note { color: var(--bbp-muted); font-size: .82rem; flex-basis: 100%; }

.bbp-btn { display: inline-block; padding: 12px 26px; border: 1px solid var(--bbp-accent); border-radius: 999px; background: var(--bbp-accent); color: var(--bbp-accent-ink); font-weight: 700; cursor: pointer; font: inherit; }
.bbp-btn[disabled] { opacity: .6; cursor: wait; }
.bbp-btn-ghost { background: transparent; color: inherit; font-weight: 600; padding: 8px 16px; }
.bbp-submit { text-align: center; margin: 8px 0 24px; }
.bbp-status { margin-top: 10px; min-height: 1.4em; }
.bbp-error { color: var(--bbp-error); font-size: .88rem; margin: 2px 0 6px; min-height: 0; }
.bbp-error:empty { display: none; }
.bbp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bbp-done { text-align: center; padding: 32px 20px; border: 1px solid var(--bbp-accent); border-radius: 12px; }

@media (max-width: 760px) {
	.bbp-step { padding: 16px 12px 8px; }
	.bbp-unit { grid-template-columns: 1fr 1fr; padding-right: 36px; }
	.bbp-unit-name, .bbp-unit-type { grid-column: 1 / -1; }
}
