.spc-configurator {
	font-family: Tahoma, Arial, sans-serif;
	/* max-width: 1200px; */
	margin: 0 auto;
	padding: 1rem;
	box-sizing: border-box;
}

.spc-configurator *,
.spc-configurator *::before,
.spc-configurator *::after {
	box-sizing: border-box;
}

.spc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.1fr 0.9fr;
	gap: 1rem;
	align-items: start;
}

@media (max-width: 1024px) {
	.spc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.spc-grid {
		grid-template-columns: 1fr;
	}
}

.spc-heading {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	border-bottom: 2px solid #D90A2C;
	padding-bottom: 0.35rem;
	color: #D90A2C;
}

.spc-item-list {
	list-style: none;
	margin: 0 !important;
	padding: 0;
	max-height: 420px;
	overflow-y: auto;
	border: 1px solid #d0d7de;
	border-radius: 6px;
	background: #fff;
}

.spc-item {
	border-bottom: 1px solid #eee;
}

.spc-item:last-child {
	border-bottom: none;
}

.spc-item-empty {
	padding: 1rem;
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
}

.spc-item-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.65rem;
	cursor: pointer;
}

.spc-item-label:hover {
	background: #f6f8fa;
}

.spc-item-name {
	flex: 1;
	font-size: 0.9rem;
}

.spc-item-price {
	font-size: 0.8rem;
	color: #555;
	white-space: nowrap;
}

.spc-item-price--discounted {
	display: inline-flex;
	gap: 0.4rem;
	align-items: baseline;
}

.spc-item-price-original {
	text-decoration: line-through;
	color: #999;
	font-size: 0.75rem;
}

.spc-item-price-sale {
	color: #c0392b;
	font-weight: 700;
}

.spc-package-select {
	margin-bottom: 1rem;
}

.spc-package-select label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.spc-select {
	width: 100%;
	padding: 0.45rem 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
}

.spc-price-box {
	background: #FAFBFC;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.spc-price-box h3 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: #1a5f8a;
}

.spc-price-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}

.spc-price-grand {
	font-size: 1.05rem;
	font-weight: 700;
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #b6d4ee;
	color: #0d3d5c;
}

.spc-btn {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.55rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	text-align: center;
}

.spc-btn-primary {
	background: #D90A2C;
	color: #fff !important;
	width: 100%;
}

.spc-btn-primary:hover {
	background: #333333;
}
.spc-btn-reset {
	width: 100%;
	background: transparent;
	color: #D90A2C;
	border: 1px solid #D90A2C;
	cursor: pointer;
	font: inherit;
}

.spc-btn-reset:hover {
	background: #D90A2C;
	color: #fff;
}


.spc-config-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.spc-config-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
}

.spc-hint {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #666;
}

.spc-desc-box {
	border: 1px solid #d0d7de;
	border-radius: 6px;
	padding: 0.75rem;
	margin-bottom: 0.75rem;
	background: #fafbfc;
	min-height: 120px;
}

.spc-desc-box h4 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: #333;
}

.spc-desc-content {
	font-size: 0.85rem;
	line-height: 1.6;
	color: #444;
}

.spc-offers {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px dashed #c9a227;
	background: #fffbeb;
	border-radius: 6px;
	font-size: 0.9rem;
}

.spc-offers h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.spc-toast {
	position: fixed;
	bottom: 14.5rem;
	left: 50%;
	transform: translateX(-50%);
	background: #ff2323;
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 6px;
	z-index: 99999;
	font-size: 1rem;
	max-width: 90%;
	text-align: center;
}
