/* Achei — Promoções: etiqueta e cronômetro. Tudo escopado (.achei-promo-flag / .achei-cd). */

/* Etiqueta "EM PROMOÇÃO" — discreta, sobre a imagem, sem cobrir botões. */
html body span.onsale.achei-promo-flag.achei-promo-flag.achei-promo-flag.achei-promo-flag {
	position: absolute !important;
	top: 10px !important;
	left: 10px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 9 !important;
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 5px 9px 4px !important;
	border: 1px solid rgba(211, 22, 26, .28) !important;
	border-radius: 3px !important;
	background: rgba(255, 255, 255, .95) !important;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .06) !important;
	color: #9f1217 !important;
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	text-align: center !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	transform: none !important;
	animation: none !important;
}
@media (max-width: 480px) {
	html body span.onsale.achei-promo-flag.achei-promo-flag.achei-promo-flag.achei-promo-flag {
		top: 8px !important;
		left: 8px !important;
		padding: 4px 7px 3px !important;
		font-size: 9px !important;
		letter-spacing: .08em !important;
	}
}

/* Nas listagens a etiqueta fica no canto inferior esquerdo da foto (miniaturas quadradas):
   o canto superior direito é do selo de frete e nada deve se sobrepor. A margem em % usa a
   largura do cartão, por isso acompanha a foto em qualquer tamanho de tela. */
html body ul.products li.product span.onsale.achei-promo-flag.achei-promo-flag.achei-promo-flag.achei-promo-flag {
	top: 0 !important;
	margin-top: calc(100% - 31px) !important;
}
@media (max-width: 480px) {
	html body ul.products li.product span.onsale.achei-promo-flag.achei-promo-flag.achei-promo-flag.achei-promo-flag {
		margin-top: calc(100% - 27px) !important;
	}
}

/* Cronômetro da página do produto. */
.achei-cd {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 360px;
	margin: 12px 0 4px;
	padding: 12px 14px 10px;
	border: 1px solid rgba(17, 24, 39, .10);
	border-radius: 10px;
	background: #fafafa;
	color: #111827;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	flex: 0 0 100%;
}
.achei-cd[hidden],
.achei-cd.is-hidden { display: none !important; }
.achei-cd__label {
	display: block;
	margin: 0 0 8px;
	color: #4b5563;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .01em;
}
.achei-cd__label::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 7px 1px 0;
	border-radius: 50%;
	background: #d3161a;
	vertical-align: middle;
}
.achei-cd__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.achei-cd__cell {
	display: block;
	padding: 0 4px;
	text-align: center;
}
.achei-cd__cell + .achei-cd__cell { border-left: 1px solid rgba(17, 24, 39, .09); }
.achei-cd__num {
	display: block;
	color: #111827;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}
.achei-cd__unit {
	display: block;
	margin-top: 3px;
	color: #6b7280;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.achei-cd__until {
	display: block;
	margin-top: 9px;
	padding-top: 8px;
	border-top: 1px solid rgba(17, 24, 39, .07);
	color: #6b7280;
	font-size: 11.5px;
}
.single_variation > .achei-cd { margin-top: 10px; }
@media (max-width: 480px) {
	.achei-cd { max-width: none; padding: 11px 12px 9px; }
	.achei-cd__num { font-size: 21px; }
	.achei-cd__unit { font-size: 9.5px; letter-spacing: .06em; }
}
@media (prefers-color-scheme: dark) {
	/* A loja usa fundo claro; mantemos o tema claro por consistência. */
}
