.db-prices-page,
.db-prices-page * {
	box-sizing: border-box;
}

.db-prices-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #1a1d24;
	background: #ffffff;
}

.db-prices-page .db-prices-container {
	max-width: 1450px;
	margin: 0 auto;
	padding: 0 32px;
}

.db-prices-hero {
	padding: 36px 0 28px;
	background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
	border-bottom: 1px solid #e4e8f0;
}
.db-prices-hero h1 {
	font-family: 'Inter', sans-serif;
	font-size: 38px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 12px;
}
.db-prices-hero p,
.db-prices-intro p {
	font-size: 16px;
	line-height: 1.6;
	color: #5a6478;
	margin: 0;
	max-width: 760px;
}
.db-prices-intro {
	font-size: 16px;
	line-height: 1.6;
	color: #5a6478;
}
.db-prices-intro p + p {
	margin-top: 0.8em;
}

.db-prices-nav-section {
	padding: 22px 0;
	background: #ffffff;
	border-bottom: 1px solid #e4e8f0;
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92);
}
.db-prices-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.db-prices-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	background: #f7f9fc;
	border: 1px solid #e4e8f0;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1d24;
	text-decoration: none;
	letter-spacing: -0.005em;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.db-prices-nav-link:hover {
	background: #eef2fb;
	border-color: #0039a6;
	color: #0039a6;
}
.db-prices-nav-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 6px;
	background: #0039a6;
	color: #ffffff;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
}

.db-prices-list-section {
	padding: 40px 0 50px;
}
.db-prices-group {
	margin-bottom: 44px;
	scroll-margin-top: 100px;
}
.db-prices-group:last-child {
	margin-bottom: 0;
}
.db-prices-group-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid #e4e8f0;
	position: relative;
}
.db-prices-group-head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, #0039a6, #d52b1e);
}
.db-prices-group-head h2 {
	font-family: 'Inter', sans-serif;
	font-size: 26px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}
.db-prices-group-count {
	font-size: 13px;
	font-weight: 600;
	color: #5a6478;
	padding: 4px 11px;
	background: #f7f9fc;
	border-radius: 12px;
}

.db-prices-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.db-price-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 18px;
	background: #ffffff;
	border: 1px solid #e4e8f0;
	border-radius: 12px;
	padding: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.db-price-row:hover {
	border-color: #c0c8d8;
	box-shadow: 0 10px 26px -14px rgba(0, 57, 166, 0.18);
	transform: translateY(-2px);
}

.db-price-photo {
	width: 130px;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(180deg, #f7f9fc 0%, #eef2fb 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.db-price-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.db-price-photo-stub {
	color: #c0c8d8;
}
.db-price-photo-stub svg {
	width: 36px;
	height: 36px;
}

.db-price-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 6px;
}
.db-price-title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #0a0e1a;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.db-price-years {
	font-size: 12.5px;
	color: #5a6478;
	font-weight: 500;
}
.db-price-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #f0f2f7;
}
.db-price-value {
	display: flex;
	align-items: baseline;
	gap: 5px;
	line-height: 1;
	min-width: 0;
}
.db-price-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #5a6478;
}
.db-price-num {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.018em;
	color: #0a0e1a;
	white-space: nowrap;
}
.db-price-value-ask {
	font-size: 13px;
	font-weight: 600;
	color: #5a6478;
	font-style: normal;
}
.db-price-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	background: #d52b1e;
	color: #ffffff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.005em;
	box-shadow: 0 4px 12px rgba(213, 43, 30, 0.28);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
}
.db-price-btn:hover {
	background: #b32218;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(213, 43, 30, 0.36);
}
.db-price-btn svg {
	width: 13px;
	height: 13px;
}

.db-prices-empty {
	text-align: center;
	padding: 60px 30px;
	background: #f7f9fc;
	border: 1px dashed #c0c8d8;
	border-radius: 14px;
}
.db-prices-empty p {
	margin: 0;
	font-size: 15px;
	color: #5a6478;
}

@media (max-width: 1100px) {
	.db-prices-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.db-prices-page .db-prices-container { padding: 0 16px; }
	.db-prices-hero { padding: 28px 0 22px; }
	.db-prices-hero h1 { font-size: 28px; }
	.db-prices-hero p,
	.db-prices-intro p { font-size: 14.5px; }

	.db-prices-nav-section { padding: 14px 0; }
	.db-prices-nav { gap: 6px; }
	.db-prices-nav-link {
		padding: 7px 12px;
		font-size: 13px;
		gap: 6px;
	}
	.db-prices-nav-count {
		min-width: 20px;
		height: 18px;
		font-size: 10px;
	}

	.db-prices-list-section { padding: 28px 0 36px; }
	.db-prices-group { margin-bottom: 32px; scroll-margin-top: 80px; }
	.db-prices-group-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 14px;
		padding-bottom: 12px;
	}
	.db-prices-group-head h2 { font-size: 22px; }

	.db-price-row {
		grid-template-columns: 100px 1fr;
		gap: 14px;
		padding: 12px;
	}
	.db-price-photo { width: 100px; }
	.db-price-title { font-size: 15px; }
	.db-price-footer {
		flex-wrap: wrap;
		gap: 10px;
	}
	.db-price-num { font-size: 17px; }
	.db-price-btn {
		padding: 8px 14px;
		font-size: 12.5px;
	}
	.db-prices-nav-section {
		position: static; /* убираем sticky на мобильном */
		padding: 12px 0;
	}
	.db-prices-nav {
		flex-wrap: nowrap;          /* одна строка */
		overflow-x: auto;            /* горизонтальный скролл */
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;       /* прячем скроллбар Firefox */
		padding-bottom: 4px;
		margin: 0 -16px;             /* вылет за контейнер до краёв экрана */
		padding-left: 16px;
		padding-right: 16px;
	}
	.db-prices-nav::-webkit-scrollbar {
		display: none;               /* прячем скроллбар WebKit */
	}
	.db-prices-nav-link {
		flex-shrink: 0;              /* чтобы кнопки не сжимались */
	}
}

@media (max-width: 420px) {
	.db-price-row {
		grid-template-columns: 80px 1fr;
		gap: 12px;
		padding: 10px;
	}
	.db-price-photo { width: 80px; }
	.db-price-title { font-size: 14px; }
	.db-price-footer { padding-top: 8px; }
	.db-price-btn {
		width: 100%;
		justify-content: center;
	}
}
