/**
 * HLxHub — Mobile Quick Verdict
 *
 * File:
 * assets/css/single-mobile/quick-verdict.css
 *
 * Purpose:
 * Premium responsive styling for Quick Verdict section.
 */


/* ================================================================
   ROOT
================================================================ */

.hlx-quick-verdict {
	position: relative;
	width: 100%;
	margin: 0 0 32px;
	padding: 0;
	overflow: hidden;
	border-radius: 24px;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#f8fbff 52%,
			#f2f7fc 100%
		);
	border: 1px solid rgba(31, 57, 86, 0.09);
	box-shadow:
		0 18px 50px rgba(28, 52, 78, 0.08),
		0 4px 14px rgba(28, 52, 78, 0.04);
	box-sizing: border-box;
}

.hlx-quick-verdict *,
.hlx-quick-verdict *::before,
.hlx-quick-verdict *::after {
	box-sizing: border-box;
}


/* ================================================================
   DECORATIVE GLOW
================================================================ */

.hlx-quick-verdict__glow {
	position: absolute;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(10px);
	opacity: 0.55;
}

.hlx-quick-verdict__glow--one {
	top: -150px;
	right: -90px;
	background: radial-gradient(
		circle,
		rgba(32, 191, 107, 0.13) 0%,
		rgba(32, 191, 107, 0) 70%
	);
}

.hlx-quick-verdict__glow--two {
	bottom: -170px;
	left: -100px;
	background: radial-gradient(
		circle,
		rgba(23, 105, 255, 0.10) 0%,
		rgba(23, 105, 255, 0) 70%
	);
}


/* ================================================================
   INNER
================================================================ */

.hlx-quick-verdict__inner {
	position: relative;
	z-index: 2;
	width: min(100%, 1180px);
	margin: 0 auto;
	padding: 34px;
}


/* ================================================================
   HEADER
================================================================ */

.hlx-quick-verdict__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-bottom: 26px;
	border-bottom: 1px solid rgba(31, 57, 86, 0.09);
}

.hlx-quick-verdict__heading {
	min-width: 0;
}

.hlx-quick-verdict__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #20a866;
}

.hlx-quick-verdict__eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.hlx-quick-verdict__title {
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.035em;
	color: #172b43;
}

.hlx-quick-verdict__subtitle {
	max-width: 620px;
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: #6d7c8d;
}


/* ================================================================
   RATING
================================================================ */

.hlx-quick-verdict__rating {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 13px;
	min-width: 145px;
	padding: 13px 17px;
	border: 1px solid rgba(32, 191, 107, 0.16);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 8px 24px rgba(31, 57, 86, 0.06);
}

.hlx-quick-verdict__rating-star {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 13px;
	background: rgba(32, 191, 107, 0.11);
	color: #20a866;
	font-size: 22px;
	line-height: 1;
}

.hlx-quick-verdict__rating-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hlx-quick-verdict__rating-content strong {
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	color: #172b43;
	white-space: nowrap;
}

.hlx-quick-verdict__rating-content strong span {
	font-size: 12px;
	font-weight: 600;
	color: #8491a0;
}

.hlx-quick-verdict__rating-content small {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #7d8997;
}


/* ================================================================
   PRICE + BEST FOR
================================================================ */

.hlx-quick-verdict__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	margin-top: 24px;
}


/* ================================================================
   PRICE CARD
================================================================ */

.hlx-quick-verdict__price-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 125px;
	padding: 22px 24px;
	border-radius: 18px;
	background: #172b43;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 12px 30px rgba(23, 43, 67, 0.12);
}

.hlx-quick-verdict__price-label {
	margin-bottom: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.hlx-quick-verdict__price {
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.hlx-quick-verdict__price-note {
	margin-top: 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
}


/* ================================================================
   BEST FOR
================================================================ */

.hlx-quick-verdict__best {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 125px;
	padding: 22px 24px;
	border: 1px solid rgba(32, 191, 107, 0.15);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 10px 28px rgba(31, 57, 86, 0.05);
}

.hlx-quick-verdict__best-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 15px;
	background: rgba(32, 191, 107, 0.11);
	color: #20a866;
	font-size: 22px;
	font-weight: 800;
}

.hlx-quick-verdict__best-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.hlx-quick-verdict__best-content span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8995a3;
}

.hlx-quick-verdict__best-content strong {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	color: #172b43;
}


/* ================================================================
   HIGHLIGHTS
================================================================ */

.hlx-quick-verdict__highlights {
	margin-top: 30px;
}

.hlx-quick-verdict__section-heading {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 16px;
}

.hlx-quick-verdict__section-line {
	width: 4px;
	height: 21px;
	flex: 0 0 4px;
	border-radius: 99px;
	background: #20bf6b;
}

.hlx-quick-verdict__section-heading h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	color: #172b43;
}


/* ================================================================
   SPEC GRID
================================================================ */

.hlx-quick-verdict__specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.hlx-quick-verdict__spec {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	min-height: 88px;
	padding: 15px;
	border: 1px solid rgba(31, 57, 86, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 7px 20px rgba(31, 57, 86, 0.04);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.hlx-quick-verdict__spec:hover {
	transform: translateY(-3px);
	border-color: rgba(32, 191, 107, 0.20);
	box-shadow: 0 12px 28px rgba(31, 57, 86, 0.08);
}


/* ================================================================
   SPEC ICON
================================================================ */

.hlx-quick-verdict__spec-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 12px;
	background: #f1f6fa;
	color: #2872b9;
}

.hlx-quick-verdict__spec-icon svg {
	display: block;
	width: 21px;
	height: 21px;
}

.hlx-quick-verdict__spec-icon--display {
	color: #2872b9;
}

.hlx-quick-verdict__spec-icon--chip {
	color: #7654c9;
}

.hlx-quick-verdict__spec-icon--camera {
	color: #d05b78;
}

.hlx-quick-verdict__spec-icon--battery {
	color: #20a866;
}

.hlx-quick-verdict__spec-icon--charging {
	color: #e09a25;
}

.hlx-quick-verdict__spec-icon--performance {
	color: #3c8f82;
}


/* ================================================================
   SPEC CONTENT
================================================================ */

.hlx-quick-verdict__spec-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.hlx-quick-verdict__spec-label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8a96a4;
}

.hlx-quick-verdict__spec-value {
	display: block;
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	color: #20364e;
}


/* ================================================================
   FINAL VERDICT
================================================================ */

.hlx-quick-verdict__final {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-top: 28px;
	padding: 20px 22px;
	border: 1px solid rgba(32, 191, 107, 0.17);
	border-radius: 18px;
	background:
		linear-gradient(
			135deg,
			rgba(32, 191, 107, 0.07),
			rgba(255, 255, 255, 0.80)
		);
}

.hlx-quick-verdict__final-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 12px;
	background: #20bf6b;
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
}

.hlx-quick-verdict__final-content {
	min-width: 0;
}

.hlx-quick-verdict__final-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #20a866;
}

.hlx-quick-verdict__final-content p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	color: #40536a;
}


/* ================================================================
   CTA
================================================================ */

.hlx-quick-verdict__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-top: 24px;
	padding: 20px;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(31, 57, 86, 0.09);
	box-shadow: 0 8px 25px rgba(31, 57, 86, 0.05);
}

.hlx-quick-verdict__cta-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.hlx-quick-verdict__cta-text strong {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	color: #172b43;
}

.hlx-quick-verdict__cta-text span {
	font-size: 12px;
	line-height: 1.5;
	color: #7c8998;
}


/* ================================================================
   CTA BUTTONS
================================================================ */

.hlx-quick-verdict__buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.hlx-quick-verdict__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 0 18px;
	border-radius: 11px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		opacity 0.22s ease;
}

.hlx-quick-verdict__buy:hover {
	transform: translateY(-2px);
}

.hlx-quick-verdict__buy--amazon {
	background: #ff8a00;
	color: #ffffff !important;
	box-shadow: 0 7px 18px rgba(255, 138, 0, 0.20);
}

.hlx-quick-verdict__buy--amazon:hover {
	color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(255, 138, 0, 0.28);
}

.hlx-quick-verdict__buy--flipkart {
	background: #1769ff;
	color: #ffffff !important;
	box-shadow: 0 7px 18px rgba(23, 105, 255, 0.20);
}

.hlx-quick-verdict__buy--flipkart:hover {
	color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(23, 105, 255, 0.28);
}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 900px) {

	.hlx-quick-verdict__inner {
		padding: 28px;
	}

	.hlx-quick-verdict__header {
		align-items: flex-start;
	}

	.hlx-quick-verdict__specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hlx-quick-verdict__cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.hlx-quick-verdict__buttons {
		width: 100%;
	}

	.hlx-quick-verdict__buy {
		flex: 1 1 0;
	}

}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 640px) {

	.hlx-quick-verdict {
		margin-bottom: 24px;
		border-radius: 18px;
	}

	.hlx-quick-verdict__inner {
		padding: 21px 17px;
	}

	.hlx-quick-verdict__header {
		display: flex;
		flex-direction: column;
		gap: 18px;
		padding-bottom: 20px;
	}

	.hlx-quick-verdict__heading {
		width: 100%;
	}

	.hlx-quick-verdict__title {
		font-size: 29px;
	}

	.hlx-quick-verdict__subtitle {
		font-size: 13px;
	}

	.hlx-quick-verdict__rating {
		width: 100%;
		min-width: 0;
	}

	.hlx-quick-verdict__top {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 18px;
	}

	.hlx-quick-verdict__price-card,
	.hlx-quick-verdict__best {
		min-height: 105px;
		padding: 18px;
	}

	.hlx-quick-verdict__price {
		font-size: 28px;
	}

	.hlx-quick-verdict__best-content strong {
		font-size: 15px;
	}

	.hlx-quick-verdict__highlights {
		margin-top: 23px;
	}

	.hlx-quick-verdict__specs {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hlx-quick-verdict__spec {
		min-height: 76px;
		padding: 13px;
	}

	.hlx-quick-verdict__spec-icon {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.hlx-quick-verdict__spec-value {
		font-size: 13px;
	}

	.hlx-quick-verdict__final {
		margin-top: 20px;
		padding: 17px;
	}

	.hlx-quick-verdict__final-content p {
		font-size: 13px;
		line-height: 1.65;
	}

	.hlx-quick-verdict__cta {
		margin-top: 18px;
		padding: 17px;
		gap: 16px;
	}

	.hlx-quick-verdict__buttons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.hlx-quick-verdict__buy {
		width: 100%;
		min-height: 44px;
		padding: 0 10px;
		font-size: 11px;
	}

}


/* ================================================================
   SMALL MOBILE
================================================================ */

@media (max-width: 380px) {

	.hlx-quick-verdict__inner {
		padding: 18px 13px;
	}

	.hlx-quick-verdict__title {
		font-size: 26px;
	}

	.hlx-quick-verdict__rating {
		padding: 11px 13px;
	}

	.hlx-quick-verdict__rating-star {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.hlx-quick-verdict__buttons {
		grid-template-columns: 1fr;
	}

	.hlx-quick-verdict__buy {
		min-height: 46px;
	}

}


/* ================================================================
   REDUCED MOTION
================================================================ */

@media (prefers-reduced-motion: reduce) {

	.hlx-quick-verdict__spec,
	.hlx-quick-verdict__buy {
		transition: none;
	}

	.hlx-quick-verdict__spec:hover,
	.hlx-quick-verdict__buy:hover {
		transform: none;
	}

}


