/* Checkout Expresso de Reserva (Digipaper) — telas 2, 3 e 4. Mobile first. */
#checkout-expresso {
	max-width: 760px;
	margin: 0 auto 40px;
	font-size: 15px;
	line-height: 1.5;
}

#checkout-expresso h1 {
	font-size: 24px;
	margin: 6px 0 18px;
}

/* Etapas */
.ce-etapas {
	display: flex;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	counter-reset: etapa;
}

.ce-etapas li {
	flex: 1;
	text-align: center;
	font-size: 13px;
	color: #999;
	position: relative;
	padding-top: 34px;
}

.ce-etapas li::before {
	counter-increment: etapa;
	content: counter(etapa);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 28px;
	height: 28px;
	line-height: 26px;
	border-radius: 50%;
	border: 2px solid #ccc;
	background: #fff;
	font-weight: bold;
	z-index: 1;
}

.ce-etapas li + li::after {
	content: '';
	position: absolute;
	top: 13px;
	right: 50%;
	width: 100%;
	height: 2px;
	background: #ddd;
}

.ce-etapas li.ativa,
.ce-etapas li.feita {
	color: #333;
	font-weight: bold;
}

.ce-etapas li.ativa::before {
	border-color: #229ac8;
	background: #229ac8;
	color: #fff;
}

.ce-etapas li.feita::before {
	content: '\2713';
	border-color: #3c9f40;
	background: #3c9f40;
	color: #fff;
}

.ce-etapas li.feita + li::after,
.ce-etapas li.ativa::after {
	background: #3c9f40;
}

/* Cartões */
.ce-cartao {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
}

.ce-cartao h2 {
	font-size: 18px;
	margin: 0 0 12px;
}

/* Produto resumido */
.ce-produto {
	display: flex;
	gap: 14px;
	align-items: center;
}

.ce-produto img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	border: 1px solid #eee;
	border-radius: 6px;
	flex-shrink: 0;
	background: #fff;
}

.ce-produto .ce-nome {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 2px;
}

.ce-produto .ce-preco {
	font-size: 20px;
	font-weight: bold;
	color: #222;
}

.ce-produto .ce-condicao {
	font-size: 13px;
	color: #666;
}

/* Aviso de retirada (Tela 2) */
.ce-aviso {
	background: #fff8e1;
	border: 2px solid #f0ad4e;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 16px;
	font-size: 16px;
}

.ce-aviso .ce-aviso-titulo {
	font-size: 17px;
	font-weight: bold;
	color: #8a5a00;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.ce-aviso p:last-child,
.ce-aviso ul:last-child {
	margin-bottom: 0;
}

.ce-aviso p {
	margin-bottom: 12px;
}

/* Caixas de seleção grandes (fáceis de tocar no celular) */
.ce-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px;
	border: 2px solid #ccc;
	border-radius: 8px;
	background: #fafafa;
	cursor: pointer;
	font-weight: normal;
	font-size: 15px;
	line-height: 1.45;
	color: #333;
	margin-bottom: 16px;
	width: 100%;
}

.ce-check input[type=checkbox] {
	width: 24px;
	height: 24px;
	margin: 0;
	flex-shrink: 0;
	cursor: pointer;
}

.ce-check.marcado {
	border-color: #3c9f40;
	background: #f1f9f1;
}

.ce-check.has-error {
	border-color: #a94442;
}

/* Botões */
.ce-botoes {
	display: flex;
	gap: 10px;
	flex-direction: column-reverse;
}

.ce-botoes .btn {
	padding: 14px 16px;
	font-size: 17px;
	font-weight: bold;
	border-radius: 6px;
	white-space: normal;
}

.ce-botoes .btn[disabled] {
	opacity: .45;
}

@media (min-width: 600px) {
	.ce-botoes {
		flex-direction: row;
		justify-content: space-between;
	}

	.ce-botoes .btn {
		min-width: 200px;
	}
}

/* Formulário (Tela 3) */
#checkout-expresso .form-group {
	margin-bottom: 14px;
}

#checkout-expresso .control-label {
	font-weight: bold;
	margin-bottom: 4px;
}

#checkout-expresso .form-control {
	height: 46px;
	font-size: 16px; /* evita zoom automático no iOS */
	border-radius: 6px;
}

#checkout-expresso select.form-control {
	padding: 6px 8px;
}

#checkout-expresso .help-block.ce-erro {
	color: #a94442;
	margin: 4px 0 0;
	font-size: 13px;
	display: none;
}

#checkout-expresso .has-error .help-block.ce-erro {
	display: block;
}

.ce-linha {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.ce-linha > .form-group {
	flex: 1 1 100%;
}

@media (min-width: 600px) {
	.ce-linha > .ce-1-3 {
		flex: 1 1 calc(33% - 12px);
	}

	.ce-linha > .ce-2-3 {
		flex: 1 1 calc(66% - 12px);
	}

	.ce-linha > .ce-1-2 {
		flex: 1 1 calc(50% - 12px);
	}
}

.ce-linha.ce-num > .ce-1-3 {
	flex: 1 1 calc(40% - 12px);
}

.ce-linha.ce-num > .ce-2-3 {
	flex: 1 1 calc(60% - 12px);
}

.ce-nota {
	font-size: 13px;
	color: #666;
}

/* Honeypot: invisível para pessoas e leitores de tela */
.ce-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Confirmação (Tela 4) */
.ce-sucesso {
	text-align: center;
	background: #f1f9f1;
	border: 2px solid #3c9f40;
	border-radius: 8px;
	padding: 18px 16px;
	margin-bottom: 16px;
}

.ce-sucesso .ce-numero {
	font-size: 14px;
	color: #555;
	margin: 0;
}

.ce-sucesso .ce-numero strong {
	display: block;
	font-size: 34px;
	color: #2b7a2e;
	line-height: 1.2;
}

.ce-prazo {
	background: #fff8e1;
	border: 2px solid #f0ad4e;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	font-size: 17px;
	font-weight: bold;
	color: #5c3d00;
}

.ce-prazo small {
	display: block;
	font-weight: normal;
	font-size: 13px;
	color: #7a5a1a;
	margin-top: 6px;
}

.ce-mapa {
	position: relative;
	display: block;
	width: 100%;
	height: 220px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #ddd;
	margin: 12px 0;
	background: #e9eef2;
}

.ce-mapa iframe,
.ce-mapa img {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	pointer-events: none; /* o clique vai para o link que envolve o mapa */
}

.ce-mapa .ce-mapa-rotulo {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: #fff;
	color: #1a73e8;
	font-weight: bold;
	padding: 6px 10px;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
	font-size: 14px;
}

.ce-contatos {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ce-contatos .btn {
	flex: 1 1 140px;
	padding: 12px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 6px;
}

.ce-btn-whatsapp,
.ce-btn-whatsapp:hover,
.ce-btn-whatsapp:focus {
	background: #25d366;
	border-color: #1ebe5b;
	color: #fff;
}

.ce-lgpd {
	font-size: 13px;
	color: #555;
	background: #f5f5f5;
	border-radius: 8px;
	padding: 12px 14px;
}
