/* Детальная карточка смартфона */

.phone-single-page .site-content-inner {
	display: block;
}

.phone-single-page #primary.content-area {
	width: 100%;
	max-width: 100%;
	float: none;
}

.phone-single {
	width: 100%;
}

.phone-single__title {
	margin: 0 0 28px;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
	color: #111827;
}

.phone-hero {
	margin-bottom: 32px;
}

.phone-hero__slider {
	display: flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	margin-bottom: 28px;
}

.phone-hero__viewport {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}

.phone-hero__track {
	display: flex;
	align-items: center;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.phone-hero__track::-webkit-scrollbar {
	display: none;
}

.phone-hero__slide {
	flex: 0 0 auto;
	margin: 0;
	max-width: 280px;
	scroll-snap-align: start;
}

.phone-hero__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: contain;
}

.phone-hero__nav {
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.phone-hero__slider.is-scrollable .phone-hero__nav {
	display: inline-flex;
}

.phone-hero__nav:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.phone-hero__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.phone-hero__nav svg,
.phone-hero__nav .lucide-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

.phone-hero__tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-hero__tile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 76px;
	padding: 14px 16px;
	background: #f3f4f6;
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.phone-hero__tile:hover {
	background: #e8f1ff;
}

.phone-hero__tile-text {
	min-width: 0;
}

.phone-hero__tile-label {
	margin-bottom: 4px;
	font-size: 16px;
	line-height: 1.3;
	color: #6b7280;
}

.phone-hero__tile-value {
	font-size: 16px;
	line-height: 1.35;
	font-weight: 500;
	color: #111827;
}

.phone-hero__tile-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #9ca3af;
}

.phone-hero__tile-icon svg,
.phone-hero__tile-icon .lucide-icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.6;
}

.phone-single__content {
	margin-top: 8px;
	font-size: 17px;
	line-height: 1.7;
	color: #374151;
}

.phone-models {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}

.phone-models__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: #6b7280;
}

.phone-models__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-models__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.phone-models__row + .phone-models__row {
	margin-top: 12px;
}

.phone-models__country {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 1.3;
	color: #374151;
}

.phone-models__flag {
	display: block;
	width: 22px;
	height: 16px;
	object-fit: cover;
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 2px;
}

.phone-models__configs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-models__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: #f3f4f6;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1.3;
	color: #4b5563;
}

.phone-verdict {
	margin-top: 36px;
}

.phone-verdict__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 48px;
	align-items: start;
}

.phone-verdict__title {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.phone-verdict__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-verdict__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: #111827;
}

.phone-verdict__item + .phone-verdict__item {
	margin-top: 10px;
}

.phone-verdict__icon {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 2px;
}

.phone-verdict__icon.is-pro {
	color: #22c55e;
}

.phone-verdict__icon.is-con {
	color: #ef4444;
}

.phone-verdict__icon svg,
.phone-verdict__icon .lucide-icon {
	width: 18px;
	height: 18px;
	stroke-width: 2.5;
}

.phone-verdict__intro {
	margin-top: 28px;
	font-size: 16px;
	line-height: 1.7;
	color: #4b5563;
}

.phone-verdict__intro p {
	margin: 0 0 12px;
}

.phone-verdict__intro p:last-child {
	margin-bottom: 0;
}

.phone-specs {
	margin-top: 40px;
}

.phone-specs__block {
	margin-bottom: 32px;
}

.phone-specs__block:last-child {
	margin-bottom: 0;
}

.phone-specs__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.phone-specs__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.phone-specs__table th,
.phone-specs__table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e5e7eb;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
}

.phone-specs__table th {
	width: 36%;
	color: #6b7280;
}

.phone-specs__table td {
	color: #111827;
}

.phone-specs__table tr:nth-child(odd) {
	background: #f9fafb;
}

.phone-specs__color {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 16px 6px 0;
}

.phone-specs__dot {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid rgba(17, 24, 39, 0.12);
	flex-shrink: 0;
}

.phone-after {
	margin-top: 32px;
}

.phone-subscribe {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
	color: #111827;
}

.phone-subscribe a,
.phone-disclaimer a {
	color: #2563eb;
	text-decoration: underline;
}

.phone-disclaimer {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.55;
	color: #111827;
}

.phone-disclaimer__mark {
	color: #ef4444;
	font-weight: 700;
}

.phone-single .entry-social {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.phone-hero__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.phone-single__title {
		font-size: 28px;
	}

	.phone-verdict__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.phone-hero__slide {
		max-width: 220px;
	}

	.phone-hero__image {
		max-height: 220px;
	}
}

@media (max-width: 575px) {
	.phone-single__title {
		font-size: 24px;
	}

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

	.phone-specs__table th,
	.phone-specs__table td {
		display: block;
		width: auto;
	}

	.phone-specs__table th {
		padding-bottom: 2px;
		border-bottom: 0;
	}

	.phone-specs__table td {
		padding-top: 2px;
	}

	.phone-hero__slide {
		max-width: 180px;
	}

	.phone-hero__image {
		max-height: 180px;
	}
}
