/*
 * Bazna cijena. The law asks for "jasno, vidljivo i čitljivo", and that the bazna cijena cannot be mistaken
 * for the price being charged. So: its own line, normal weight, never struck through, never below 12px,
 * full opacity, and its colour inherited from the surrounding text so it keeps the theme's contrast.
 */
.bazna-cijene {
	display: block;
	margin-top: 0.25em;
	font-size: 0.8em;
	font-size: max(12px, 0.8em);
	font-weight: 400;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	color: inherit;
	opacity: 1;
	white-space: normal;
}

.bazna-cijene[hidden] {
	display: none;
}

.bazna-cijene .bazna-red {
	display: block;
	text-decoration: none;
}

.bazna-cijene .bazna-iznos {
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

/*
 * A struck-through ancestor (themes wrap old prices in <del>) must not strike these lines through.
 * text-decoration of an ancestor is drawn across inline descendants whatever they declare; it is not drawn
 * across an inline-block, so the block becomes one there (full width keeps it on its own line).
 */
del .bazna-cijene,
s .bazna-cijene,
strike .bazna-cijene {
	display: inline-block;
	width: 100%;
	text-decoration: none;
}

del .bazna-cijene .bazna-red,
s .bazna-cijene .bazna-red,
strike .bazna-cijene .bazna-red {
	display: inline-block;
	width: 100%;
	text-decoration: none;
}

/* "/kg" after the price of goods sold by measure: part of the price, same look. */
.bazna-mjera {
	white-space: nowrap;
}

.bazna-bez-cijene {
	white-space: normal;
}

/* Lines of the chosen variation when the page has no price block of the product to put them in. */
.bazna-varijacija .bazna-cijene {
	margin-bottom: 0.5em;
}

.bazna-stavka {
	display: inline-block;
	vertical-align: top;
}

.bazna-stavka .bazna-mpc {
	display: block;
	font-weight: 600;
	white-space: nowrap;
}

/* Rendered price list. */
.bazna-cjenik {
	width: 100%;
	border-collapse: collapse;
}

.bazna-cjenik th,
.bazna-cjenik td {
	padding: 0.5em 0.75em;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.bazna-cjenik .bazna-cjenik__cijena {
	text-align: right;
	white-space: nowrap;
}

.bazna-cjenik caption {
	text-align: left;
	font-weight: 600;
	padding-bottom: 0.5em;
}

.bazna-cjenici-popis {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bazna-cjenici-popis li {
	padding: 0.35em 0;
	border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.bazna-cjenici-wrap {
	max-width: 960px;
	margin: 2em auto;
	padding: 0 16px;
}
