/* AMC Sales Manager — Countdown Banner */
.asm-sale-banner {
	position: relative;
	z-index: 9990;
	width: 100%;
	background: linear-gradient(135deg, #2F8499, #3AAFB9);
	color: #fff;
	text-align: center;
	padding: 10px 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.asm-sale-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.asm-sale-text {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.asm-sale-timer {
	display: flex;
	gap: 10px;
}

.asm-sale-timer > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(135deg, #2d7a7e, #3a989d);
	border-radius: 6px;
	padding: 4px 8px;
	min-width: 45px;
}

.asm-sale-timer span {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.asm-sale-timer small {
	font-size: 10px;
	text-transform: uppercase;
	opacity: 0.8;
	letter-spacing: 0.5px;
}

/* Stacked layout (title → ends → timer) */
.asm-sale-inner--stacked {
	flex-direction: column;
	gap: 0;
}

/* Heading row: icon + title */
.asm-sale-title {
		font-size: 22px !important;
		white-space: nowrap !important;
	}
	.asm-sale-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.asm-sale-icon {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
}

.asm-sale-icon-wrap {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.asm-sale-icon-wrap svg {
	width: 24px;
	height: 24px;
}

.asm-sale-title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.3px;
	white-space: nowrap;
}

/* Heading margin */
.asm-sale-title {
		font-size: 22px !important;
		white-space: nowrap !important;
	}
	.asm-sale-heading {
	margin-bottom: 2px;
}

/* Ends date line */
.asm-sale-ends {
	font-size: 15px;
	font-weight: 500;
	opacity: 0.85;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3;
	white-space: nowrap;
}

/* Kill any theme p/div margins inside the shortcode */
.asm-sale-inner--stacked * {
	margin-top: 0;
	margin-bottom: 0;
}

.asm-sale-timer {
	margin-top: 4px;
}

/* Inline shortcode variant */
.asm-sale-inline {
	position: static;
	z-index: auto;
	width: 100%;
	border-radius: 10px;
	display: block;
	padding: 12px 24px;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.asm-sale-text {
		font-size: 13px;
	}
	
	.asm-sale-title {
		font-size: 22px !important;
		white-space: nowrap !important;
	}
	.asm-sale-heading {
		flex-wrap: nowrap;
		justify-content: center;
		width: 100%;
	}
	.asm-sale-icon {
		width: 26px;
		height: 26px;
	}
	.asm-sale-ends {
		font-size: 13px;
	}
	.asm-sale-banner {
		overflow: visible;
	}
	.asm-sale-timer span {
		font-size: 16px;
	}
	.asm-sale-inner {
		gap: 10px;
	}
}
