/* Sempre B2B – paski, zablokowany zakup, minimum zamówienia. Kolory z sekcji 6 specyfikacji. */

.sb-announcement {
	background: #2b1a15;
	color: #f6efe8;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.12em;
	line-height: 1.5;
	padding: 9px 16px;
}

.sb-pending-bar {
	background: #efe4d8;
	border-bottom: 1px solid #e0d2c4;
	color: #2a1d17;
	text-align: center;
	padding: 12px 20px;
	font-size: 13px;
	line-height: 1.6;
}
.sb-pending-bar p { margin: 0; }
.sb-pending-bar strong { font-weight: 600; }
.sb-pending-bar a {
	color: #2a1d17;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-inline: 4px;
	white-space: nowrap;
}
.sb-pending-bar a:hover { color: #b0856a; }

.sb-price-locked {
	font-size: 0.9em;
	color: #7a6a60;
}

.sb-b2b-locked { margin: 1rem 0; }
.sb-b2b-locked__button[disabled],
.sb-checkout-disabled[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}
.sb-b2b-locked__hint {
	margin: 0.6rem 0 0;
	font-size: 0.9em;
}
.sb-b2b-locked__hint a { text-decoration: underline; }

.sb-min-order {
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid #d6c9bd;
	background: #f8f6f4;
	color: #2b1a15;
	font-size: 14px;
	line-height: 1.4;
}
.sb-min-order a { text-decoration: underline; }

/* Karta produktu: minimum zamówienia pod ceną. */
.sb-min-note {
	flex-basis: 100%;
	margin: 2px 0 0 !important;
	font-size: 12px;
	letter-spacing: 0.04em;
	line-height: 1.4;
	color: #7a6a60;
}
.sb-min-note strong {
	color: #2b1a15;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
}
.sb-min-note .woocommerce-Price-amount { font-size: inherit !important; font-weight: inherit !important; }

.sb-shipping-desc {
	display: block;
	font-size: 0.85em;
	color: #7a6a60;
	margin: 0.2em 0 0.4em;
}

.sb-b2b-register {
	max-width: 640px;
	margin-inline: auto;
}
.sb-b2b-register-fields .clear { clear: both; }

.sb-contact::after { content: ""; display: table; clear: both; }
.sb-contact textarea { width: 100%; }
.sb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sb-contact-ok,
.sb-contact-error { padding: 12px 14px; border: 1px solid #d6c9bd; background: #f8f6f4; }
.sb-contact-error { border-color: #a3261b; color: #a3261b; }

/* Kasa: NIP firmy z konta */
.sb-checkout-nip { margin: 0 0 1.2em; padding: .8em 1em; background: #f6efe8; border-left: 3px solid #b0856a; font-size: .95em; }
.sb-checkout-nip small { color: #7a6a60; }

/* Rejestracja: podpowiedź pod polem NIP (biała lista MF) */
.sb-nip-info { display: block; margin-top: .4em; font-size: .9em; color: #7a6a60; }
.sb-nip-info.is-ok { color: #2e6b3a; }
.sb-nip-info.is-error { color: #a3261b; }

/* Formularz kontaktowy: informacja o danych pod przyciskiem. */
.sb-contact__info { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: #6f5b4d; }
.sb-contact__info a { color: inherit; text-decoration: underline; }

/* Etapy zamówienia na telefonie: pionowa lista zamiast 5 ściśniętych kolumn (podziękowanie, Moje konto). */
@media (max-width: 599px) {
	body .sb-flow { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 300px; margin: 18px auto 8px; text-align: left; }
	body .sb-flow__item { flex-direction: row; align-items: center; gap: 14px; padding: 5px 0; text-align: left; }
	body .sb-flow__item::before { top: -50%; left: 17px; width: 2px; height: 100%; }
	body .sb-flow__item:first-child::before { display: none; }
	body .sb-flow__txt { gap: 1px; }
	body .sb-flow__txt span { display: block !important; font-size: 11.5px; }
	body .sb-flow__item.is-todo .sb-flow__txt { opacity: .55; }
}
/* Podsumowanie koszyka: rabat na start. */
.cart_totals .sb-promo-row th, .cart_totals .sb-promo-row td { color: #4f7a4a; }
.cart_totals .sb-promo-row__amt, .cart_totals .sb-promo-row__amt .amount { color: #4f7a4a !important; font-weight: 600; }

/* Moje konto: wyraźny przycisk „Wyloguj się”. */
.woocommerce-account .sb-acc-nav__group--logout { display: block; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .sb-acc-nav__group--logout li { margin: 0; }
.woocommerce-account .sb-acc-nav__group--logout a { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; box-sizing: border-box; padding: 12px 20px !important; border: 1px solid #c98e86 !important; border-radius: 999px !important; background: #fff !important; color: #9a3b30 !important; font-size: 14px; font-weight: 600 !important; letter-spacing: .02em; opacity: 1 !important; text-decoration: none !important; transition: background .2s, color .2s; }
.woocommerce-account .sb-acc-nav__group--logout a:hover,
.woocommerce-account .sb-acc-nav__group--logout a:focus-visible { background: #9a3b30 !important; border-color: #9a3b30 !important; color: #fff !important; }
.woocommerce-account .sb-acc-nav__group--logout .sb-acc-nav__icon { color: currentColor !important; opacity: 1 !important; }

/* 1.9.43 – kraj firmy i numer VAT z prefiksem */
.sb-vat-box { display: flex; align-items: stretch; width: 100%; }
.sb-vat-box > input { flex: 1 1 auto; min-width: 0; }
.sb-vat-prefix { display: none; }
.sb-vat-box.has-prefix .sb-vat-prefix { display: inline-flex; align-items: center; padding: 0 .8em; border: 1px solid #d8cdc4; border-right: 0; border-radius: 6px 0 0 6px; background: #f5efe9; color: #5a4a40; font-weight: 600; letter-spacing: .04em; font-size: .95em; }
.sb-vat-box.has-prefix > input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; text-transform: uppercase; }
.sb-nip-info.is-warn { color: #8a6418; }
.sb-nip-info.is-busy { color: #7a6a60; }
#sb_kraj_field select, select#sb_kraj { width: 100%; }
.sb-b2b-register-fields select#sb_kraj { padding: .7em .9em; border: 1px solid #d8cdc4; border-radius: 6px; background-color: #fff; font: inherit; color: inherit; min-height: 2.9em; }
