/* ===============================
   MAIN WRAPPER
================================ */
.sa-custom-order-summary {
	background: #1d1f205c;
	padding: 40px;
}

/* ===============================
   REGISTRATION MESSAGE
================================ */
.sa-custom-order-summary__message {
	color: #ffffff;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom: 30px;
}

/* Divider under message */
.sa-custom-order-summary__divider {
	margin: 20px 0;
	height: 1px;
	background: rgba(224, 224, 224, 0.2);
	border: none;
}

/* ===============================
   GRID LAYOUT
================================ */
.sa-custom-order-summary__grid {
	display: flex;
	gap: 120px; /* increase for more premium spacing */
	align-items: flex-start;
}

/* ===============================
   IMAGE
================================ */
.sa-custom-order-summary__media {
	flex: 0 0 420px;
	max-width: 420px;
}

.sa-custom-order-summary__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* ===============================
   CONTENT
================================ */
.sa-custom-order-summary__content {
	flex: 1 1 auto;
	min-width: 0;
}

/* ===============================
   CLASS TITLE
================================ */
.sa-custom-order-summary__title {
	margin: 0 0 28px;
	color: #00AFFF;
	font-weight: 700;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

/* ===============================
   SECTIONS
================================ */
.sa-custom-order-summary__section {
	margin-bottom: 34px;
}

.sa-custom-order-summary__section:last-child {
	margin-bottom: 0;
}

.sa-custom-order-summary__heading {
	margin: 0 0 22px;
	color: #E0E0E0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0.01em;
}

/* ===============================
   LIST (DETAILS)
================================ */
.sa-custom-order-summary__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sa-custom-order-summary__list li {
	margin: 0 0 5px;
	color: #E0E0E0;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 400;
}

/* Label */
.sa-custom-order-summary__label {
	display: inline-block;
	margin-right: 14px;
	color: rgba(224, 224, 224, 0.72);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ===============================
   TOTALS SECTION
================================ */
.sa-custom-order-summary__totals {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(224, 224, 224, 0.16);
}

.sa-custom-order-summary__totals ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sa-custom-order-summary__totals li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	font-size: 16px;
	color: #E0E0E0;
}

.sa-custom-order-summary__totals li:last-child {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(224, 224, 224, 0.12);
	font-weight: 700;
	font-size: 20px;
	color: #ffffff;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {
	.sa-custom-order-summary {
		padding: 32px;
	}

	.sa-custom-order-summary__grid {
		gap: 64px;
	}

	.sa-custom-order-summary__media {
		flex: 0 0 340px;
		max-width: 340px;
	}

	.sa-custom-order-summary__title {
		font-size: 30px;
		margin-bottom: 24px;
	}
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 767px) {
	.sa-custom-order-summary {
		padding: 24px;
	}

	.sa-custom-order-summary__grid {
		flex-direction: column;
		gap: 32px;
	}

	.sa-custom-order-summary__media {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.sa-custom-order-summary__title {
		font-size: 26px;
		margin-bottom: 22px;
	}

	.sa-custom-order-summary__section {
		margin-bottom: 28px;
	}

	.sa-custom-order-summary__heading {
		font-size: 18px;
		margin-bottom: 18px;
	}

	.sa-custom-order-summary__list li {
		margin-bottom: 18px;
		font-size: 16px;
	}

	.sa-custom-order-summary__label {
		display: block;
		margin: 0 0 7px;
		font-size: 12px;
	}

	.sa-custom-order-summary__totals li {
		font-size: 15px;
	}

	.sa-custom-order-summary__totals li:last-child {
		font-size: 18px;
	}
}