/* IDR price preview / display — only enqueued when preview or live flag is on */

.sd-price {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	vertical-align: baseline;
	line-height: 1.15;
	font-weight: inherit;
	color: inherit;
	text-align: start;
}

.sd-price__idr {
	display: block;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
	margin: 0;
	text-align: inherit;
}

.sd-price__usd {
	display: block;
	margin: 0.2em 0 0 0;
	font-size: 0.72em;
	font-weight: 400;
	opacity: 0.62;
	letter-spacing: 0;
	white-space: nowrap;
	color: inherit;
	text-align: inherit;
}

.sd-page__price-value .sd-price__idr,
.what-includes-price .sd-price__idr,
.sd-camp-hero .sd-price__idr,
.sos-pack .sd-price__idr,
.slider-one-price .sd-price__idr {
	font-size: 1.05em;
}

.sd-price-card--promo .sd-price__idr {
	font-size: 1.35em;
}

/* Headings/titles: compact inline IDR, never a stacked USD block */
h1 .sd-price,
h2 .sd-price,
h3 .sd-price,
.sd-camp-hero__title .sd-price,
.page-title .sd-price {
	display: inline;
	font-weight: inherit;
	line-height: inherit;
	text-align: inherit;
}
h1 .sd-price__idr,
h2 .sd-price__idr,
h3 .sd-price__idr,
.sd-camp-hero__title .sd-price__idr,
.page-title .sd-price__idr {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	white-space: nowrap;
}
h1 .sd-price__usd,
h2 .sd-price__usd,
h3 .sd-price__usd,
.sd-camp-hero__title .sd-price__usd,
.page-title .sd-price__usd {
	display: none;
}

/* Mid-sentence / struck prices stay on one line */
s .sd-price,
del .sd-price,
.sd-price-promo-note .sd-price {
	display: inline;
	vertical-align: baseline;
}
s .sd-price__idr,
del .sd-price__idr,
.sd-price-promo-note .sd-price__idr,
s .sd-price__usd,
del .sd-price__usd,
.sd-price-promo-note .sd-price__usd {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
	white-space: nowrap;
}
s .sd-price__usd,
del .sd-price__usd,
.sd-price-promo-note .sd-price__usd {
	margin-left: 0.3em;
	opacity: 0.62;
	font-size: 0.85em;
	font-weight: 400;
}

.sd-price-note {
	margin: 10px 0 0;
	max-width: 36em;
	font-size: 12px;
	line-height: 1.45;
	opacity: 0.62;
	font-weight: 400;
	color: inherit;
}

.tab-content .sd-price-note,
.prices .sd-price-note,
.what-includes-price .sd-price-note,
.sd-page__prices .sd-price-note,
.calculator .sd-price-note,
.sos-pack .sd-price-note,
.sd-camp-hero .sd-price-note,
.living-page .sd-price-note,
.sd-page__price-grid + .sd-price-note {
	margin-top: 12px;
}

/* Calculator totals: IDR main, USD under, left-aligned with the IDR amount */
.sd-price-calc {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.15;
	text-align: start;
}
.sd-price-calc .sd-price__idr {
	display: block;
	font-size: 1em;
	font-weight: 700;
}
.sd-price-calc .sd-price__usd {
	display: block;
	margin: 0.2em 0 0 0;
	font-size: 0.72em;
	opacity: 0.62;
	font-weight: 400;
	text-align: inherit;
}

.sd-idr-preview-banner {
	position: fixed;
	z-index: 99999;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 16px;
	background: #272727;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	box-shadow: 0 -2px 10px rgba(0,0,0,.2);
}
.sd-idr-preview-banner a {
	color: #ffc700;
	margin-left: 0.4em;
}
body:has(.sd-idr-preview-banner) {
	padding-bottom: 40px;
}

@media (max-width: 600px) {
	.sd-idr-preview-banner {
		font-size: 12px;
		padding: 8px 10px 10px;
	}
}

.sd-price-unit {
	display: block;
	margin-top: 0.15em;
	margin-left: 0;
	font-size: 0.72em;
	font-weight: 400;
	opacity: 0.7;
	white-space: nowrap;
	text-align: inherit;
}
