.estimate-block {
	color: #e7e7e7;
	background: #1e1e1e;
}

.estimate-block__inner {
	padding-top: 30px;
	padding-bottom: 20px;
}

.estimate-block__title {
	width: 695px;
	max-width: 100%;
	margin: 0;
	color: #f2ceb5;
	font-weight: 300;
	font-size: 36px;
	line-height: normal;
	text-transform: uppercase;
}

.estimate-block__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 30px;
}

.estimate-block__cell {
	display: flex;
	min-height: 65px;
	align-items: center;
	border-radius: 10px;
	padding: 20px 30px;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	background: rgba(0, 0, 0, 0.3);
}

.estimate-block__cell--label,
.estimate-block__cell--price {
	color: #f2ceb5;
	font-size: 20px;
	text-transform: uppercase;
}

/* Collapsible extra rows, revealed with a soft height + fade animation. */
.estimate-block__collapse {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .4s ease;
}

.estimate-block__collapse--mobile {
	display: none;
}

.estimate-block.is-expanded .estimate-block__collapse {
	grid-template-rows: 1fr;
}

.estimate-block__collapse-inner {
	min-height: 0;
	overflow: hidden;
	padding-top: 10px;
	opacity: 0;
	transition: opacity .35s ease;
}

.estimate-block.is-expanded .estimate-block__collapse-inner {
	opacity: 1;
}

.estimate-block__grid--more {
	margin-top: 0;
}

.estimate-block__bottom {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.estimate-block__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	padding: 0;
	color: #e7e7e7;
	font-family: inherit;
	font-weight: 300;
	font-size: 12px;
	line-height: normal;
	background: none;
	cursor: pointer;
	transition: color .2s ease;
}

.estimate-block__more:hover {
	color: #f2ceb5;
}

.estimate-block__more-icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
	transition: transform .2s ease;
}

.estimate-block__more-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.estimate-block.is-expanded .estimate-block__more-icon {
	transform: rotate(180deg);
}

/* Mobile tabs layout — hidden on desktop/tablet. */
.estimate-block__tabs {
	display: none;
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.estimate-block__cell {
		padding-right: 22px;
		padding-left: 22px;
	}

	.estimate-block__cell--label,
	.estimate-block__cell--price {
		font-size: 18px;
	}
}

@media (max-width: 1023px) {
	.estimate-block__inner {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.estimate-block__title {
		font-size: 20px;
		line-height: normal;
	}

	.estimate-block__grid {
		display: none;
	}

	.estimate-block__tabs {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 20px;
	}

	.estimate-block__tablist {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		border-radius: 15px;
		padding: 5px;
		background: rgba(0, 0, 0, 0.3);
	}

	.estimate-block__tab {
		border: 0;
		border-radius: 10px;
		padding: 14px 12px;
		color: #f2ceb5;
		font-family: inherit;
		font-weight: 300;
		font-size: 14px;
		line-height: normal;
		white-space: nowrap;
		background: none;
		cursor: pointer;
		transition: background .2s ease;
	}

	.estimate-block__tab.is-active {
		background: #000;
	}

	.estimate-block__panel {
		display: flex;
		flex-direction: column;
		border-radius: 10px;
		padding: 10px 12px 14px;
	}

	.estimate-block__panel-row {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.estimate-block__panel-row + .estimate-block__panel-row {
		margin-top: 16px;
	}

	.estimate-block__collapse--desktop {
		display: none;
	}

	.estimate-block__collapse--mobile {
		display: grid;
	}

	.estimate-block__collapse--mobile .estimate-block__collapse-inner {
		padding-top: 16px;
	}

	.estimate-block__panel-label {
		margin: 0;
		color: #f2ceb5;
		font-weight: 300;
		font-size: 12px;
		line-height: normal;
	}

	.estimate-block__panel-value {
		margin: 0;
		color: #e7e7e7;
		font-weight: 300;
		font-size: 14px;
		line-height: normal;
	}

	.estimate-block__bottom {
		margin-top: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.estimate-block__collapse,
	.estimate-block__collapse-inner,
	.estimate-block__more-icon {
		transition: none;
	}
}
