/*
 * USP Phone single product template
 * Stage 15 mobile vertical offer cards
 */

.usp-phone-page {
	background: #f6f8fb;
	padding: 36px 20px 72px;
}

.usp-phone-shell {
	width: min(1120px, 100%);
	margin: 0 auto;
}

.usp-phone-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 18px;
	font-size: 13px;
	color: #697386;
}

.usp-phone-breadcrumb a {
	color: #40546f;
	text-decoration: none;
}

.usp-phone-breadcrumb a:hover {
	text-decoration: underline;
}

.usp-phone-hero {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: stretch;
	padding: 32px;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 20px;
	box-shadow: 0 12px 35px rgba(25, 39, 60, 0.06);
}

.usp-phone-product-media {
	min-width: 0;
	align-self: center;
	overflow: hidden;
	border: 1px solid #e3e8ef;
	border-radius: 16px;
	background: #f3f5f8;
}

.usp-phone-product-visual {
	min-height: 240px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #f1f5fa 0%, #e8eef6 100%);
	color: #697386;
}

.usp-phone-image-note-area {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 54px;
	padding: 10px 12px;
	background: #f3f5f8;
}

.usp-phone-image-note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	margin: 0;
	padding: 7px 13px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(25, 39, 60, 0.08);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	color: #6f8097;
}

.usp-phone-product-image {
	width: 100%;
	height: 100%;
	max-height: 300px;
	object-fit: contain;
	object-position: center;
	padding: 14px;
	background: #fff;
}

.usp-phone-image-fallback {
	width: 100%;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
}

.usp-phone-device-icon {
	display: block;
	font-size: 108px;
	line-height: 0.75;
	font-family: Arial, sans-serif;
	transform: scaleX(0.66);
}

.usp-phone-visual-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.usp-phone-image-pending {
	font-size: 12px;
	font-weight: 600;
	color: #7a8798;
}

.usp-phone-hero-main {
	align-self: center;
	min-width: 0;
}

.usp-phone-maker {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #54708f;
}

.usp-phone-title {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.18;
	letter-spacing: -0.025em;
	color: #142033;
	word-break: break-word;
}

.usp-phone-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.usp-phone-badges span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 11px;
	border: 1px solid #d9e1eb;
	border-radius: 999px;
	background: #f8fafc;
	font-size: 12px;
	font-weight: 600;
	color: #40546f;
}

.usp-phone-lead {
	margin: 20px 0 0;
	max-width: 650px;
	font-size: 15px;
	line-height: 1.9;
	color: #5e6c7f;
}

.usp-phone-price-card {
	align-self: center;
	padding: 24px;
	border-radius: 16px;
	background: #f4f8ff;
	border: 1px solid #dce7f6;
}

.usp-phone-price-label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #4f6480;
}

.usp-phone-price-value {
	margin: 0;
	font-size: clamp(30px, 3.3vw, 42px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #17345d;
}

.usp-phone-price-caption {
	margin: 7px 0 0;
	font-size: 12px;
	font-weight: 700;
	color: #5e7189;
}

.usp-phone-price-sub {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid #dce7f6;
	font-size: 12px;
	line-height: 1.6;
	color: #60738c;
}

.usp-phone-price-sub strong {
	color: #2a4365;
}

.usp-phone-offer-count {
	margin: 12px 0 0;
	display: inline-block;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e7f0ff;
	font-size: 11px;
	font-weight: 700;
	color: #365d91;
}

.usp-phone-price-updated {
	margin: 10px 0 0;
	font-size: 10px;
	color: #8491a3;
}

.usp-phone-price-pending {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.35;
	color: #17345d;
}

.usp-phone-price-note {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: #68788c;
}

.usp-phone-section {
	margin-top: 28px;
	padding: 30px 32px;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 18px;
}

.usp-phone-section-heading {
	margin-bottom: 22px;
}

.usp-phone-eyebrow {
	margin: 0 0 5px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: #6b7d91;
}

.usp-phone-section h2 {
	margin: 0;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.3;
	color: #18263a;
}

.usp-phone-price-summary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.usp-phone-price-summary-card {
	display: flex;
	min-width: 0;
	min-height: 154px;
	padding: 22px;
	flex-direction: column;
	justify-content: center;
	border: 1px solid #e1e7ef;
	border-radius: 14px;
	background: #f8fafc;
}

.usp-phone-price-summary-card--min {
	border-color: #d7e5f7;
	background: #f4f8ff;
}

.usp-phone-price-summary-label {
	display: block;
	margin: 0 0 9px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	color: #526781;
}

.usp-phone-price-summary-value {
	display: block;
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #17345d;
}

.usp-phone-price-summary-note {
	display: block;
	margin-top: 9px;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.55;
	color: #77869a;
}

.usp-phone-price-summary-empty {
	padding: 24px;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
	font-size: 13px;
	line-height: 1.8;
	text-align: center;
	color: #66758a;
}

.usp-phone-section-heading--offers {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.usp-phone-offer-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding-bottom: 2px;
}

.usp-phone-offer-summary-count,
.usp-phone-offer-summary-sort {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.usp-phone-offer-summary-count {
	background: #eaf2ff;
	color: #315f98;
}

.usp-phone-offer-summary-sort {
	border: 1px solid #dce4ee;
	background: #fff;
	color: #65758a;
}

.usp-phone-offer-table-wrap {
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.usp-phone-offer-table-wrap:focus {
	outline: 2px solid #8fb5e3;
	outline-offset: 3px;
}

.usp-phone-offer-table {
	width: 100%;
	min-width: 860px;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	font-size: 13px;
	color: #2d3d52;
}

.usp-phone-offer-table th,
.usp-phone-offer-table td {
	margin: 0;
	padding: 15px 14px;
	border: 0;
	border-bottom: 1px solid #e8edf3;
	vertical-align: middle;
}

.usp-phone-offer-table thead th {
	background: #f7f9fc;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #617188;
	text-align: left;
}

.usp-phone-offer-table thead th:first-child {
	width: 25%;
}

.usp-phone-offer-table thead th:nth-child(2) {
	width: 15%;
}

.usp-phone-offer-table thead th:nth-child(3),
.usp-phone-offer-table thead th:nth-child(4),
.usp-phone-offer-table thead th:nth-child(5) {
	width: 14%;
}

.usp-phone-offer-table thead th:last-child {
	width: 18%;
}

.usp-phone-offer-table tbody tr:last-child td {
	border-bottom: 0;
}

.usp-phone-offer-table tbody tr {
	background: #fff;
	transition: background-color 0.15s ease;
}

.usp-phone-offer-table tbody tr:hover {
	background: #fbfcfe;
}

.usp-phone-offer-table tbody tr.is-best-offer {
	background: #f9fbff;
}

.usp-phone-offer-table tbody tr.is-best-offer:hover {
	background: #f4f8ff;
}

.usp-phone-money-head,
.usp-phone-money-cell,
.usp-phone-shipping-cell,
.usp-phone-total-cell {
	text-align: right !important;
	font-variant-numeric: tabular-nums;
}

.usp-phone-shop-cell {
	min-width: 0;
}

.usp-phone-shop-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.usp-phone-shop-name-row strong {
	font-size: 13px;
	line-height: 1.5;
	color: #20314a;
	word-break: break-word;
}

.usp-phone-best-badge {
	display: inline-flex;
	align-items: center;
	min-height: 23px;
	padding: 3px 7px;
	border-radius: 999px;
	background: #e8f1ff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	color: #2d5f9a;
}

.usp-phone-shop-source {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.5;
	color: #8894a5;
}

.usp-phone-condition-badge {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	max-width: 100%;
	padding: 4px 8px;
	border: 1px solid #dfe5ec;
	border-radius: 999px;
	background: #f8fafc;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	color: #56677e;
	word-break: break-word;
}

.usp-phone-condition-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
}

.usp-phone-battery-status {
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	color: #7a8798;
	white-space: nowrap;
}

.usp-phone-offer-card-head .usp-phone-condition-stack {
	flex: 0 0 auto;
	align-items: flex-end;
	text-align: right;
}

.usp-phone-money-cell,
.usp-phone-shipping-cell {
	font-weight: 650;
	color: #34465e;
}

.usp-phone-total-cell strong {
	font-size: 15px;
	font-weight: 800;
	color: #153d70;
}

.usp-phone-free-shipping {
	display: inline-flex;
	align-items: center;
	padding: 3px 7px;
	border-radius: 999px;
	background: #edf8f1;
	font-size: 10px;
	font-weight: 800;
	color: #37704e;
}

.usp-phone-muted-value {
	color: #9aa5b4;
}

.usp-phone-action-head,
.usp-phone-action-cell {
	text-align: right !important;
}

.usp-phone-offer-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 9px;
	background: #2769af;
	box-shadow: 0 5px 12px rgba(39, 105, 175, 0.14);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	color: #fff !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease,
		box-shadow 0.15s ease;
}

.usp-phone-offer-button:hover,
.usp-phone-offer-button:focus {
	background: #205b98;
	box-shadow: 0 7px 16px rgba(39, 105, 175, 0.2);
	transform: translateY(-1px);
	color: #fff !important;
	text-decoration: none !important;
}

.usp-phone-offer-button.is-disabled {
	background: #e7ebf0;
	box-shadow: none;
	color: #8b97a7 !important;
	cursor: default;
	transform: none;
}

.usp-phone-offer-cards {
	display: none;
}

.usp-phone-offer-card {
	overflow: hidden;
	border: 1px solid #e1e7ef;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 7px 18px rgba(24, 43, 70, 0.05);
}

.usp-phone-offer-card.is-best-offer {
	border-color: #cbdcf2;
	background: #fbfdff;
}

.usp-phone-offer-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px 13px;
	border-bottom: 1px solid #edf1f5;
}

.usp-phone-offer-card-shop {
	min-width: 0;
}

.usp-phone-offer-card-prices {
	padding: 4px 16px;
}

.usp-phone-offer-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 46px;
	border-bottom: 1px solid #eef2f6;
}

.usp-phone-offer-card-row:last-child {
	border-bottom: 0;
}

.usp-phone-offer-card-label {
	font-size: 12px;
	font-weight: 650;
	color: #6a788b;
}

.usp-phone-offer-card-value {
	font-size: 14px;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	text-align: right;
	color: #2c3e55;
}

.usp-phone-offer-card-total {
	min-height: 58px;
}

.usp-phone-offer-card-total .usp-phone-offer-card-label {
	font-weight: 800;
	color: #40536b;
}

.usp-phone-offer-card-total-value {
	font-size: 20px;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	color: #153f73;
}

.usp-phone-offer-card-action {
	padding: 12px 16px 16px;
}

.usp-phone-offer-button--mobile {
	min-height: 46px;
	border-radius: 10px;
	font-size: 14px;
}

.usp-phone-offer-footnote {
	margin: 12px 2px 0;
	font-size: 10px;
	line-height: 1.7;
	color: #8491a3;
}

.usp-phone-empty-state {
	padding: 30px;
	text-align: center;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
}

.usp-phone-empty-state strong {
	display: block;
	font-size: 17px;
	color: #27384f;
}

.usp-phone-empty-state p {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.8;
	color: #66758a;
}

.usp-phone-spec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid #e7ebf0;
	border-left: 1px solid #e7ebf0;
}

.usp-phone-spec-item {
	display: grid;
	grid-template-columns: minmax(120px, 38%) 1fr;
	min-width: 0;
	border-right: 1px solid #e7ebf0;
	border-bottom: 1px solid #e7ebf0;
}

.usp-phone-spec-item dt,
.usp-phone-spec-item dd {
	margin: 0;
	padding: 14px 16px;
	line-height: 1.6;
}

.usp-phone-spec-item dt {
	background: #f7f9fb;
	font-size: 13px;
	font-weight: 700;
	color: #526277;
}

.usp-phone-spec-item dd {
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: #1f2d40;
	word-break: break-word;
}

.usp-phone-entry-content {
	font-size: 16px;
	line-height: 1.9;
	color: #34445a;
}

.usp-phone-notice {
	margin-top: 24px;
	padding: 20px 22px;
	border-radius: 14px;
	background: #fffaf0;
	border: 1px solid #f0dfb8;
	color: #5e5138;
}

.usp-phone-notice strong {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
}

.usp-phone-notice p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
}

.usp-phone-admin-id {
	margin: 18px 0 0;
	font-size: 11px;
	color: #8a96a8;
}

@media (max-width: 900px) {
	.usp-phone-hero {
		grid-template-columns: 170px minmax(0, 1fr);
	}

	.usp-phone-price-card {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.usp-phone-price-summary-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.usp-phone-price-summary-card {
		min-height: 0;
		padding: 18px;
	}

	.usp-phone-price-summary-value {
		font-size: 28px;
	}

	.usp-phone-section-heading--offers {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.usp-phone-offer-summary {
		justify-content: flex-start;
	}

	.usp-phone-offer-table-wrap {
		display: none;
	}

	.usp-phone-offer-cards {
		display: grid;
		gap: 12px;
	}

	.usp-phone-offer-summary {
		width: 100%;
	}

	.usp-phone-offer-summary-count,
	.usp-phone-offer-summary-sort {
		font-size: 10px;
	}

	.usp-phone-offer-footnote {
		margin-top: 10px;
		font-size: 10px;
	}

	.usp-phone-offer-button {
		min-height: 46px;
		padding-inline: 12px;
	}

	.usp-phone-page {
		padding: 20px 14px 48px;
	}

	.usp-phone-hero {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px;
		border-radius: 16px;
	}

	.usp-phone-product-visual,
	.usp-phone-image-fallback {
		min-height: 180px;
	}

	.usp-phone-product-image {
		max-height: 260px;
	}

	.usp-phone-image-note-area {
		min-height: 50px;
		padding: 8px 10px;
	}

	.usp-phone-image-note {
		min-height: 32px;
		padding: 6px 12px;
		font-size: 11px;
	}

	.usp-phone-offer-card-head {
		padding: 14px;
	}

	.usp-phone-offer-card-prices {
		padding-inline: 14px;
	}

	.usp-phone-offer-card-action {
		padding: 11px 14px 14px;
	}

	.usp-phone-offer-card-total-value {
		font-size: 19px;
	}

	.usp-phone-device-icon {
		font-size: 80px;
	}

	.usp-phone-title {
		font-size: 30px;
	}

	.usp-phone-price-card {
		grid-column: auto;
	}

	.usp-phone-section {
		padding: 22px 18px;
		border-radius: 16px;
	}

	.usp-phone-spec-grid {
		grid-template-columns: 1fr;
	}

	.usp-phone-spec-item {
		grid-template-columns: 118px minmax(0, 1fr);
	}

	.usp-phone-spec-item dt,
	.usp-phone-spec-item dd {
		padding: 12px;
	}
}
