.bb-pricing-summary {
	position: relative;
	background: #F8F8F9;
	color: #1f2328;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	box-sizing: border-box;
}

.bb-pricing-summary.is-loading {
	pointer-events: none;
}

.bb-pricing-summary.is-loading::before {
	content: "";
	position: absolute;
	z-index: 4;
	inset: 0;
	border-radius: inherit;
	background: rgba(248, 248, 249, 0.76);
	backdrop-filter: blur(1px);
}

.bb-pricing-summary.is-loading::after {
	content: "";
	position: absolute;
	z-index: 5;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 3px solid rgba(31, 35, 40, 0.18);
	border-top-color: #ffc001;
	border-radius: 50%;
	animation: bb-pricing-summary-spin 0.75s linear infinite;
}

@keyframes bb-pricing-summary-spin {
	to {
		transform: rotate(360deg);
	}
}

.bb-pricing-summary__title {
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2328 !important;
}

.bb-pricing-summary__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content max-content;
	column-gap: 16px;
	margin-bottom: 20px;
}

.bb-pricing-summary__empty {
	display: flex;
	grid-column: 1 / -1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
	text-align: center;
}

.bb-pricing-summary__empty-icon {
	margin-bottom: 12px;
}

.bb-pricing-summary__empty-icon svg {
	display: block;
	width: auto;
	height: 80px;
}

.bb-pricing-summary__empty-text {
	margin: 0;
	font-size: 0.9375rem;
	color: #64748b;
}

.bb-pricing-summary__line {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
	align-items: center;
	padding: 10px 0;
	font-size: 0.9375rem;
}

.bb-pricing-summary__line-name {
	color: #1f2328;
	font-weight: 600;
}

.bb-pricing-summary__line-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bb-pricing-summary__line-subline {
	color: #64748b;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.35;
}

.bb-pricing-summary__line-qty {
	color: #1f2328;
	text-align: center;
	white-space: nowrap;
}

.bb-pricing-summary__line-price {
	font-weight: 600;
	white-space: nowrap;
	color: #1f2328;
	text-align: right;
}

.bb-pricing-summary__group {
	display: contents;
}

.bb-pricing-summary__group-label {
	grid-column: 1 / -1;
	margin-top: 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba( 31, 35, 40, 0.72 );
}

.bb-pricing-summary__group-label:first-child {
	margin-top: 0;
}

.bb-pricing-summary__line--contact {
	grid-template-columns: minmax(0, 1fr) max-content;
}

.bb-pricing-summary__line-contact {
	grid-column: 2;
	font-weight: 600;
	color: #1f2328;
	text-align: right;
	white-space: nowrap;
}

.bb-pricing-summary__footer {
	border-top: 1px solid #e2e8f0;
	padding-top: 16px;
}

.bb-pricing-summary__total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2328;
}

.bb-pricing-summary__payment-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 16px;
	border: none;
	border-radius: 8px;
	background: #B5BDC5;
	color: #FFF;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}

.bb-pricing-summary__payment-btn:not(:disabled) {
	background: linear-gradient(93.85deg, #FFD528 -4.79%, #FFE98D 50.31%, #FFC001 122.8%);
	color: #2D2F31;
	cursor: pointer;
}

.bb-pricing-summary__payment-btn:disabled {
	opacity: 0.85;
	cursor: not-allowed;
}

.bb-pricing-summary__payment-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	line-height: 1;
	color: inherit;
}

.bb-pricing-summary__payment-btn-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.bb-pricing-summary__contact-wrap {
	display: grid;
	gap: 16px;
}

.bb-pricing-summary__tooltip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 0;
	padding: 22px 34px;
	border-radius: 8px;
	background: #d7f7fc;
	color: #263238;
}

.bb-pricing-summary__tooltip--optimization-tip {
	margin-bottom: 18px;
	padding: 20px 28px;
	background: #fff6d8;
}

.bb-pricing-summary__tooltip--all-package {
	margin-bottom: 18px;
	padding: 20px 28px;
}

.bb-pricing-summary__tooltip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	line-height: 1;
}

.bb-pricing-summary__tooltip-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.bb-pricing-summary__tooltip-icon--warning {
	width: 20px;
	height: 24px;
}

.bb-pricing-summary__tooltip-icon--warning img {
	display: block;
	width: 20px;
	height: 24px;
}

.bb-pricing-summary__tooltip-title {
	display: block;
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

.bb-pricing-summary__tooltip-text {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.45;
}

.bb-pricing-summary__contact-btn {
	background: linear-gradient(93.85deg, #FFD528 -4.79%, #FFE98D 50.31%, #FFC001 122.8%);
	color: #1e293b;
}

@media (max-width: 640px) {
	.bb-pricing-summary__body {
		column-gap: 8px;
	}

	.bb-pricing-summary__line {
		font-size: 0.8125rem;
	}
}
