/* Bimek – Zapytaj o produkt */
.bpq-wrap { margin: 30px 0 18px; }
.bpq-wrap button.bpq-open, .bpq-wrap button.bpq-open:hover, .bpq-wrap button.bpq-open:focus {
	display: inline-flex !important; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px !important; margin: 0 !important;
	background: #fff !important; color: #1d1d1f !important; border: 1px solid #cfcfd4 !important; border-radius: 6px !important;
	font: inherit; font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
	box-shadow: none !important; cursor: pointer; transition: border-color .15s, color .15s;
}
.bpq-wrap button.bpq-open:hover { border-color: #33cc33 !important; color: #22a322 !important; }
.bpq-wrap button.bpq-open:focus-visible { outline: 2px solid #33cc33; outline-offset: 2px; }

html.bpq-lock { overflow: hidden; }
dialog.bpq {
	width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: #1d1d1f; background: #fff; overflow: auto;
}
dialog.bpq::backdrop { background: rgba(20, 20, 22, .55); }
.bpq__form { margin: 0; }
.bpq__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e6e6e8; }
.bpq__title { margin: 0 !important; font-size: 18px !important; text-transform: none !important; }
.bpq button.bpq__close, .bpq button.bpq__close:hover {
	width: 36px; height: 36px; min-height: 0; padding: 0 !important; margin: -6px -8px -6px 0 !important; border: 0 !important;
	background: none !important; color: #1d1d1f !important; font-size: 28px !important; line-height: 1; cursor: pointer; box-shadow: none !important;
}
.bpq__body { padding: 16px 20px 4px; }
.bpq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .bpq__row { grid-template-columns: 1fr; } }
.bpq__field { display: block; margin: 0 0 12px !important; }
.bpq__field > span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.bpq .bpq__field input, .bpq .bpq__field textarea {
	width: 100%; box-sizing: border-box; padding: 9px 11px !important; border: 1px solid #cfcfd4 !important; border-radius: 6px !important;
	background: #fff !important; font: inherit; font-size: 15px; color: #1d1d1f; box-shadow: none !important;
}
.bpq .bpq__field textarea { min-height: 120px; resize: vertical; }
.bpq .bpq__field input:focus, .bpq .bpq__field textarea:focus { outline: none; border-color: #33cc33 !important; box-shadow: 0 0 0 3px rgba(51, 204, 51, .15) !important; }
.bpq .bpq__subject { background: #f5f5f6 !important; color: #55555a !important; cursor: default; }
.bpq__info { margin: 0 0 12px; font-size: 13px; color: #55555a; }
.bpq__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bpq__consent { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 12.5px; color: #55555a; line-height: 1.4; }
.bpq__consent input { margin-top: 2px; flex: 0 0 auto; }
.bpq__msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.bpq__msg.is-ok { background: #ecfbec; border: 1px solid #bfeabf; }
.bpq__msg.is-err { background: #fdeeee; border: 1px solid #f1c4c4; }
.bpq__form.is-done .bpq__field, .bpq__form.is-done .bpq__row, .bpq__form.is-done .bpq__consent, .bpq__form.is-done .bpq__info, .bpq__form.is-done .bpq__cancel { display: none; }
.bpq__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px 16px; }
.bpq button.bpq__cancel, .bpq button.bpq__send {
	min-height: 42px; padding: 0 18px !important; border-radius: 6px !important; font: inherit; font-size: 14px !important; font-weight: 600 !important;
	text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: none !important; margin: 0 !important;
}
.bpq button.bpq__cancel, .bpq button.bpq__cancel:hover { background: #fff !important; color: #1d1d1f !important; border: 1px solid #cfcfd4 !important; }
.bpq button.bpq__send, .bpq button.bpq__send:hover { background: #33cc33 !important; color: #fff !important; border: 1px solid #33cc33 !important; }
.bpq button.bpq__send:hover { background: #22a322 !important; border-color: #22a322 !important; }
.bpq button.bpq__send[disabled] { opacity: .65; cursor: wait; }

/* Karta produktu: puste pole wtyczki Flexible Product Fields robiło dodatkowy rząd między „Dodaj do koszyka” a przyciskiem InPost */
.ct-cart-actions > .fpf-fields:empty,
.ct-cart-actions > .fpf-fields:not(:has(input:not([type=hidden]), select, textarea, label)) { display: none !important; }
.ct-cart-actions > .izi-widget-placeholder { margin-top: 0 !important; padding-top: 0 !important; }
.ct-cart-actions .izi-widget-placeholder inpost-izi-button { margin-top: 0 !important; }
