.theoasso-serenite-calculator{
	padding: 0 32px;
	color: var(--wp--preset--color--contrast);
	box-sizing: border-box;
	text-align: left;
}

.theoasso-serenite-calculator__panel{
	margin-top: 32px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 16px;
	overflow: hidden;
}

.theoasso-serenite-calculator__header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
}

.theoasso-serenite-calculator__title{
	margin: 0;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
}

.theoasso-serenite-calculator__add{
	appearance: none;
	border: 1px solid var(--wp--preset--color--accent-6);
	background: transparent;
	color: inherit;
	border-radius: 999px;
	width: 36px;
	height: 36px;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.theoasso-serenite-calculator__rows{
	display: grid;
	grid-auto-rows: minmax(0, auto);
}

.theoasso-serenite-calculator__row{
	display: grid;
	grid-template-columns: 1.15fr 1.5fr 1.4fr 1.5fr 1.35fr 0.9fr 44px;
	gap: 12px;
	padding: 14px 22px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	align-items: center;
}

.theoasso-serenite-calculator__remove{
	appearance: none;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--main-bg) 14%, transparent);
	color: inherit;
	border-radius: 999px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.theoasso-serenite-calculator__remove:disabled{
	opacity: 0.4;
	cursor: not-allowed;
}

.theoasso-serenite-calculator__row:first-child{
	border-top: none;
}

.theoasso-serenite-calculator__row label{
	display: block;
	font-size: 12px;
	opacity: 0.8;
	margin-bottom: 4px;
}

.theoasso-serenite-calculator__row input[type="text"],
.theoasso-serenite-calculator__row input[type="number"],
.theoasso-serenite-calculator__row select{
	width: 100%;
	box-sizing: border-box;
	padding: 10px 10px;
	border-radius: 10px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--main-bg) 14%, transparent);
	color: inherit;
}

.theoasso-serenite-calculator__checkboxWrap{
	margin-top: 8px;
	grid-column: 1 / -1;
}

.theoasso-serenite-calculator__checkboxLabel{
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12px;
	opacity: 0.85;
	margin: 0;
}

.theoasso-serenite-calculator__checkboxLabel input[type="checkbox"]{
	margin-top: 2px;
	flex: 0 0 auto;
}

.theoasso-serenite-calculator__value{
	font-weight: 600;
	font-size: 14px;
}

.theoasso-serenite-calculator__quoteLink{
	color: inherit;
	text-decoration: underline;
}

.theoasso-serenite-calculator__offerInfo{
	padding: 18px 22px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	font-size: 14px;
	color: color-mix(in srgb, currentColor 88%, transparent);
}

.theoasso-serenite-calculator__offerInfo p{
	margin: 0;
}

.theoasso-serenite-calculator__offerInfo p + p{
	margin-top: 8px;
}

.theoasso-serenite-calculator__totals{
	padding: 18px 22px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
}

.theoasso-serenite-calculator__totalsTitle{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
}

.theoasso-serenite-calculator__totalsTitleValue{
	text-align: right;
}

.theoasso-serenite-calculator__totalsRow{
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.theoasso-serenite-calculator__totalsRow:first-child{
	margin-top: 0;
}

.theoasso-serenite-calculator__promo{
	margin-top: 12px;
	font-size: 14px;
	color: color-mix(in srgb, currentColor 78%, transparent);
}

.theoasso-serenite-calculator__actions{
	padding: 18px 22px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	display: flex;
	justify-content: flex-end;
}

.theoasso-serenite-calculator__export{
	appearance: none;
	border: 1px solid var(--wp--preset--color--accent-6);
	background: transparent;
	color: inherit;
	border-radius: 999px;
	padding: 10px 16px;
	cursor: pointer;
}

@media (max-width: 900px){
	.theoasso-serenite-calculator__row{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.theoasso-serenite-calculator{
		padding: 0 18px;
	}
	.theoasso-serenite-calculator__header,
	.theoasso-serenite-calculator__row,
	.theoasso-serenite-calculator__offerInfo,
	.theoasso-serenite-calculator__totals,
	.theoasso-serenite-calculator__actions{
		padding-left: 16px;
		padding-right: 16px;
	}
}
