/* ==========================================================================
   Баннер сайдбара. Figma Bonus: рамка #C90025, радиус 8, картинка 320 × 253,
   низ #111 с отступами 24, промокод — пунктир #83001C.
   ========================================================================== */

.sidebar-banner {
	overflow: hidden;
	border: 1px solid var(--c-red);
	border-radius: 8px;
}

.sidebar-banner__img {
	width: 100%;
	height: auto;
	aspect-ratio: 320 / 253;
	object-fit: cover;
}

.sidebar-banner__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 24px;
	background: var(--c-card);
}

.sidebar-banner__txt {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: center;
}

.sidebar-banner__title {
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.2;
}

.sidebar-banner__subtitle {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.58;
	color: var(--c-gray);
}

.sidebar-banner__promo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 11px 17px;
	background: var(--c-black);
	border: 1px dashed var(--c-red-dark);
	border-radius: var(--radius);
	transition: border-color var(--transition);
}

.sidebar-banner__promo:hover,
.sidebar-banner__promo.is-copied {
	border-color: var(--c-red);
}

.sidebar-banner__code {
	overflow: hidden;
	font-size: var(--fs-h4);
	font-weight: 600;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sidebar-banner__copy {
	flex-shrink: 0;
}

.sidebar-banner__btn {
	width: 100%;
	margin-block-start: 0;
}

.sidebar-banner__apps {
	display: flex;
	gap: 10px;
	width: 100%;
}

.sidebar-banner__app {
	flex: 1 1 auto;
	gap: 10px;
	padding-inline: 12px;
	background: var(--c-card);
}

.sidebar-banner__app img {
	width: 20px;
	height: 20px;
}

/* Галочка «Не показывать на планшете и мобильном» (GuideBook → Баннеры сайдбара). */
@media (max-width: 1023px) {
	.sidebar-banner--desktop {
		display: none;
	}
}
