/* HomeRunner Toolkit — Inline Price Breakdown */

.hrtk-ipb {
	margin: 10px 0;
	font-size: 14px;
	line-height: 1.5;
}

.hrtk-ipb-heading {
	font-weight: 700;
	margin-bottom: 6px;
}

.hrtk-ipb-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
}

.hrtk-ipb-label {
	opacity: 0.8;
}

.hrtk-ipb-amount {
	white-space: nowrap;
}

.hrtk-ipb-toggle {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
}

.hrtk-ipb-chevron::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	position: relative;
	top: -2px;
}

.hrtk-ipb--open .hrtk-ipb-chevron::after {
	transform: rotate(-135deg);
	top: 2px;
}

.hrtk-ipb--accordion .hrtk-ipb-body {
	padding-top: 6px;
}

/* Doubled selector: theme/page-builder kits (e.g. Elementor) style `button`
   inside the widget at higher specificity than a single class; without it the
   toggle renders as a full-size theme button and breaks the row layout. */
.hrtk-ipb .hrtk-ipb-exp-toggle {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	margin: 0 0 0 6px;
	min-width: 0;
	min-height: 0;
	width: auto;
	height: auto;
	line-height: 1;
	cursor: pointer;
	font: inherit;
	color: inherit;
	display: inline-flex;
	vertical-align: baseline;
}

.hrtk-ipb .hrtk-ipb-exp-toggle:hover,
.hrtk-ipb .hrtk-ipb-exp-toggle:focus {
	background: none;
	color: inherit;
}

.hrtk-ipb-exp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 10px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	opacity: 0.6;
}

.hrtk-ipb .hrtk-ipb-exp-toggle:hover .hrtk-ipb-exp-icon,
.hrtk-ipb .hrtk-ipb-exp-toggle:focus .hrtk-ipb-exp-icon,
.hrtk-ipb .hrtk-ipb-exp-toggle[aria-expanded="true"] .hrtk-ipb-exp-icon {
	opacity: 1;
}

.hrtk-ipb-explanation {
	font-size: 12px;
	opacity: 0.7;
	padding: 0 0 4px;
	max-width: 42em;
}
