/**
 * Bcons Aria — section ưu đãi (scoped).
 */

.ar-promo {
	--ar-promo-bg: #000000;
	--ar-promo-gold: #efc84a;
	--ar-promo-gold-2: #f7de7a;
	--ar-promo-gold-3: #d4a017;
	--ar-promo-white: #ffffff;
	--ar-promo-ink: #111111;
	padding: clamp(20px, 3vw, 40px) 0;
	background: transparent;
}

.ar-promo__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	grid-template-areas: "copy media";
	align-items: center;
	column-gap: clamp(16px, 3vw, 36px);
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: clamp(24px, 3vw, 40px) clamp(22px, 3.2vw, 44px);
	min-height: calc(min(1120px, 100vw - 32px) / 3);
	height: auto;
	overflow: visible;
	border-radius: 18px;
	color: var(--ar-promo-white);
	background: var(--ar-promo-bg);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.75);
}

.ar-promo__copy {
	grid-area: copy;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	text-align: center;
}

.ar-promo__intro,
.ar-promo__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.ar-promo__actions {
	gap: 10px;
	margin-top: 2px;
}

.ar-promo__media {
	grid-area: media;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
	isolation: isolate;
}

.ar-promo__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100%, 506px);
	height: auto;
	max-height: min(368px, 92%);
	object-fit: contain;
}

.ar-promo__brand {
	margin: 0;
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	background: linear-gradient(180deg, #fff6c8 0%, var(--ar-promo-gold) 45%, var(--ar-promo-gold-3) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ar-promo__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ar-promo__eyebrow::before,
.ar-promo__eyebrow::after {
	content: "";
	flex: 1 1 28px;
	max-width: 72px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--ar-promo-gold), transparent);
}

.ar-promo__title {
	margin: 2px 0 0;
	font-size: clamp(24px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: linear-gradient(180deg, #fff4b8 0%, var(--ar-promo-gold-2) 28%, var(--ar-promo-gold) 62%, var(--ar-promo-gold-3) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 0 rgba(120, 80, 0, 0.35));
}

.ar-promo__subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(13px, 1.2vw, 15px);
	font-weight: 500;
	line-height: 1.4;
}

.ar-promo__timer-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ar-promo__timer-label::before,
.ar-promo__timer-label::after {
	content: "";
	flex: 1 1 24px;
	max-width: 64px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--ar-promo-gold), transparent);
}

.ar-promo__timer {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ar-promo__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: clamp(54px, 6.2vw, 70px);
	padding: 8px 10px 7px;
	border: 1.5px solid var(--ar-promo-gold);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
}

.ar-promo__unit-value {
	color: var(--ar-promo-gold);
	font-size: clamp(22px, 2.7vw, 32px);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.ar-promo__unit-label {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ar-promo__sep {
	color: var(--ar-promo-gold);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.85;
}

.ar-promo__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: min(100%, 280px);
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #f6d96a 0%, #efc84a 48%, #e0a82a 100%);
	color: var(--ar-promo-ink);
	font-size: clamp(12px, 1.15vw, 14px);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 10px 24px -12px rgba(239, 200, 74, 0.85);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.ar-promo__cta:hover,
.ar-promo__cta:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.05);
	outline: none;
}

.ar-promo__cta-arrow {
	font-size: 1.05em;
	line-height: 1;
}

.ar-promo__note {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11px;
	line-height: 1.35;
}

@media (max-width: 767px) {
	.ar-promo {
		padding: 16px 0;
	}

	.ar-promo__panel {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		width: min(440px, calc(100% - 24px));
		min-height: 0;
		height: auto;
		padding: 20px 16px 18px;
	}

	.ar-promo__copy {
		display: contents;
	}

	.ar-promo__intro {
		order: 1;
		gap: 6px;
	}

	.ar-promo__media {
		order: 2;
		width: 100%;
	}

	.ar-promo__actions {
		order: 3;
		gap: 10px;
		margin-top: 0;
	}

	.ar-promo__brand {
		font-size: 13px;
	}

	.ar-promo__eyebrow {
		font-size: 10px;
		gap: 8px;
	}

	.ar-promo__title {
		font-size: clamp(22px, 6vw, 26px);
	}

	.ar-promo__subtitle {
		font-size: 12px;
	}

	.ar-promo__media img {
		width: min(82%, 260px);
		max-height: 200px;
	}

	.ar-promo__unit {
		min-width: 52px;
		padding: 6px 7px 5px;
	}

	.ar-promo__unit-value {
		font-size: 20px;
	}

	.ar-promo__cta {
		width: min(100%, 280px);
		padding: 11px 16px;
		font-size: 12px;
	}
}

@media (max-width: 380px) {
	.ar-promo__panel {
		width: calc(100% - 16px);
		padding: 16px 12px;
	}

	.ar-promo__unit {
		min-width: 48px;
	}

	.ar-promo__sep {
		font-size: 14px;
	}
}
