/* ==========================================================================
   FN — Rabaty ilościowe
   Tabelka progów na stronie produktu + oznaczenie rabatu w koszyku.
   Bez animacji i bez transition na opacity/visibility — na tej stronie potrafią
   się zamrażać przez zewnętrzny skrypt w kontenerze GTM klienta.
   Kolory z brand kitu: róż #A34B65, złoto #C9A15A, espresso #2E2321,
   tło miękkie #F5EBE7, ramka #DDD0CB, tekst wyciszony #756A65.
   ========================================================================== */

.fn-qd-box {
	margin: 18px 0;
	padding: 16px 18px 14px;
	background: #F5EBE7;
	border: 1px solid #DDD0CB;
	border-radius: 12px;
}

.fn-qd-box__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 18px;
	line-height: 1.3;
	color: #2E2321;
	margin: 0 0 10px;
}

.fn-qd-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 14px;
}

.fn-qd-table th,
.fn-qd-table td {
	padding: 7px 0;
	text-align: left;
	border: 0;
	border-bottom: 1px solid rgba(46, 35, 33, .10);
	font-weight: 400;
	color: #2E2321;
	vertical-align: middle;
}

.fn-qd-table tr:last-child th,
.fn-qd-table tr:last-child td {
	border-bottom: 0;
}

.fn-qd-table th {
	white-space: nowrap;
	padding-right: 12px;
}

.fn-qd-table td:last-child {
	text-align: right;
	white-space: nowrap;
}

/* Wiersz z rabatem — wyróżniony różem marki. */
.fn-qd-table__row--on th,
.fn-qd-table__row--on td {
	font-weight: 600;
	color: #A34B65;
}

.fn-qd-table__row--on td:nth-child(2) {
	color: #A34B65;
}

.fn-qd-table .amount,
.fn-qd-table .woocommerce-Price-amount {
	font-weight: inherit;
	color: inherit;
}

.fn-qd-note {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #756A65;
}

/* --------------------------------------------------------------------------
   Koszyk / mini-koszyk: stara cena przekreślona + nowa.
   -------------------------------------------------------------------------- */

.fn-qd-price del {
	color: #756A65;
	text-decoration: line-through;
	margin-right: 5px;
}

.fn-qd-price ins {
	background: none;
	text-decoration: none;
	color: #A34B65;
	font-weight: 600;
}

/* Podpis „Rabat ilościowy” pod nazwą produktu (koszyk blokowy i klasyczny). */
.wc-block-components-product-details__rabat-ilościowy,
.wc-block-components-product-details__rabat-ilosciowy {
	color: #A34B65;
	font-weight: 600;
}

.wc-block-components-product-details__rabat-ilościowy .wc-block-components-product-details__name,
.wc-block-components-product-details__rabat-ilosciowy .wc-block-components-product-details__name {
	color: #756A65;
	font-weight: 400;
}

@media (max-width: 480px) {
	.fn-qd-box {
		padding: 14px 14px 12px;
	}

	.fn-qd-table {
		font-size: 13px;
	}
}
