/**
 * DS Elements — Dải kêu gọi cuối trang
 */

.elementor-widget-ds-cta-band {
	width: 100%;
	min-width: 0;
}

.ds-cb {
	--ds-cb-pad-y: var(--ds-space-8);

	width: 100%;
	min-width: 0;
	padding: var(--ds-cb-pad-y) var(--ds-gutter);
	background: var(--ds-cb-bg, var(--ds-color-brand));
}

.ds-cb *,
.ds-cb *::before,
.ds-cb *::after {
	box-sizing: border-box;
}

/* Nội dung căn theo cùng bề rộng với các section khác dù dải chạy hết màn. */
.ds-cb__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--ds-space-6);

	width: 100%;
	max-width: var(--ds-max-width);
	margin: 0 auto;
}

/* --- Chữ ---------------------------------------------------------------- */

.ds-cb__text {
	flex: 1 1 280px;
	min-width: 0;
}

.ds-cb__heading {
	margin: 0;
	color: var(--ds-cb-heading-color, var(--ds-color-white));
	font-size: var(--ds-cb-heading-fs, var(--ds-fs-h3));
	font-weight: var(--ds-fw-bold);
	line-height: var(--ds-lh-h3);
	text-transform: uppercase;
}

.ds-cb__sub {
	margin: var(--ds-space-2) 0 0;
	color: var(--ds-cb-sub-color, var(--ds-color-on-dark-muted));
	font-size: var(--ds-fs-small);
	line-height: var(--ds-lh-small);
}

/* --- Kênh liên hệ + nút -------------------------------------------------- */

.ds-cb__actions {
	flex: 0 1 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ds-space-3);
	min-width: 0;
}

.ds-cb__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ds-space-3);
	min-width: 0;
}

.ds-cb__chip {
	display: flex;
	align-items: center;
	gap: var(--ds-space-3);
	padding: var(--ds-space-2) var(--ds-space-4);
	min-width: 0;

	border: 1px solid var(--ds-cb-chip-border, rgba(255, 255, 255, .22));
	border-radius: var(--ds-radius-sm);
	text-decoration: none;
	transition: border-color var(--ds-transition);
}

a.ds-cb__chip:hover {
	border-color: var(--ds-color-accent);
}

.ds-cb__chip-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--ds-color-white);
	border: 1px solid var(--ds-cb-chip-border, rgba(255, 255, 255, .22));
	border-radius: var(--ds-radius-pill);
}

.ds-cb__chip-icon svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.ds-cb__chip-icon i {
	font-size: 13px;
	line-height: 1;
}

.ds-cb__chip-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ds-cb__chip-label {
	color: var(--ds-cb-chip-label, var(--ds-color-white));
	font-size: var(--ds-fs-topbar);
	font-weight: var(--ds-fw-bold);
	line-height: var(--ds-lh-tight);
	letter-spacing: var(--ds-ls-nav);
	text-transform: uppercase;
}

.ds-cb__chip-value {
	color: var(--ds-cb-chip-value, var(--ds-color-on-dark-muted));
	font-size: var(--ds-fs-small);
	line-height: var(--ds-lh-small);
	white-space: nowrap;
}

/* --- Nút ---------------------------------------------------------------- */

.ds-cb__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--ds-space-3) var(--ds-space-6);

	background: var(--ds-cb-btn-bg, var(--ds-color-accent));
	color: var(--ds-cb-btn-color, var(--ds-color-white));
	border-radius: var(--ds-radius-sm);

	font-size: var(--ds-fs-button);
	font-weight: var(--ds-fw-bold);
	line-height: var(--ds-lh-button);
	letter-spacing: var(--ds-ls-button);
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color var(--ds-transition);
}

a.ds-cb__btn:hover {
	background: var(--ds-cb-btn-bg-hover, var(--ds-color-accent-dark));
}

.ds-cb__btn--static {
	cursor: default;
}

/* --- Màn nhỏ ------------------------------------------------------------ */

@media (max-width: 1024px) {
	.ds-cb__actions {
		flex: 1 1 100%;
	}
}

@media (max-width: 767px) {
	.ds-cb__chips {
		width: 100%;
		flex-direction: column;
	}

	.ds-cb__chip,
	.ds-cb__btn {
		width: 100%;
	}
}
