/*
 * Sousènsi — pedido recebido (woocommerce/checkout/thankyou.php; regras em inc/pedido.php):
 * abertura centralizada com o ∞, os dados do pedido em linha técnica, as instruções de pagamento
 * do Mercado Pago, "O que acontece agora", o resumo e os endereços em cartões como o resumo do
 * carrinho, e o contato no fim. Acompanhar pedido (templates/acompanhar-pedido.php) usa o mesmo
 * padrão, com as etapas no lugar dos dados do pedido.
 */

body.sd .sd-pedido {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 72px) 0 0;   /* embaixo, os 70px que o tema já põe antes do rodapé */
	color: var(--sd-ink);
}
/* O tema aplica ao pedido uma caixa branca que subia por cima do cabeçalho */
body.sd.woocommerce-order-received .c-order,
body.sd.woocommerce-order-received .woocommerce { background: none !important; box-shadow: none !important; margin-top: 0 !important; }

/* -------------------------------------------------------------- abertura */

body.sd .sd-pedido__topo { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
body.sd .sd-pedido__simbolo {
	display: block;
	width: 56px;
	height: 22px;
	margin: 0 auto 24px;
	background: var(--sd-blue);
	-webkit-mask: url("../img/simbolo-sousensi.svg") center / contain no-repeat;
	mask: url("../img/simbolo-sousensi.svg") center / contain no-repeat;
}
body.sd .sd-pedido__titulo { margin: 0 0 16px !important; }
body.sd .sd-pedido__titulo em {
	font-family: var(--sd-accent) !important;
	font-style: italic !important;
	font-weight: var(--sd-accent-weight) !important;
}
body.sd .sd-pedido__topo .sd-section__lead { max-width: 560px; margin: 0 auto; }
body.sd .sd-pedido__topo .sd-section__lead strong { font-weight: 500; color: var(--sd-ink); }
body.sd .sd-pedido__aviso {
	max-width: 520px;
	margin: 20px auto 0;
	padding: 12px 16px;
	font-size: 0.9375rem;
	line-height: 1.55;
	border: 1px solid var(--sd-sky);
	border-radius: 8px;
	background: var(--sd-white);
}

/* -------------------------------------------------------------- dados do pedido */

body.sd .sd-pedido__dados {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px 24px;
	margin: 0 0 24px !important;
	padding: 20px 24px !important;
	list-style: none !important;
	background: var(--sd-white);
	border: 1px solid var(--sd-line);
	border-radius: 12px;
}
body.sd .sd-pedido__dados li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.sd .sd-pedido__dados li::before { content: none !important; }
body.sd .sd-pedido__dados span {
	display: block;
	margin-bottom: 4px;
	font-size: var(--sd-caps-size);
	font-weight: 500;
	letter-spacing: var(--sd-caps-tracking);
	text-transform: uppercase;
	color: var(--sd-ink-soft);
}
body.sd .sd-pedido__dados strong,
body.sd .sd-pedido__dados strong * { font-size: 0.9375rem !important; font-weight: 500 !important; letter-spacing: 0 !important; color: var(--sd-ink); }
body.sd .sd-pedido__dados :is(.amount, .amount *) { display: inline !important; white-space: nowrap; }

/* -------------------------------------------------------------- cartões (pagamento, próximos passos, resumo, endereços) */

body.sd .sd-pedido__pagamento,
body.sd .sd-pedido__proximos,
body.sd .sd-pedido__etapas,
body.sd .sd-pedido .woocommerce-order-details,
body.sd .sd-pedido .woocommerce-customer-details {
	margin: 0 0 24px !important;
	padding: clamp(20px, 3vw, 28px) !important;
	background: var(--sd-white);
	border: 1px solid var(--sd-line);
	border-radius: 12px;
}
body.sd .sd-pedido__rotulo,
body.sd .sd-pedido .woocommerce-order-details__title,
body.sd .sd-pedido .woocommerce-column__title,
body.sd .sd-pedido .woocommerce-customer-details h2 {
	margin: 0 0 16px !important;
	font-family: var(--sd-text) !important;
	font-size: var(--sd-caps-size) !important;
	font-weight: 500 !important;
	letter-spacing: var(--sd-caps-tracking) !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
	color: var(--sd-ink) !important;
}

/* O que acontece agora: os passos numerados da página de produto */
body.sd .sd-pedido__proximos .sd-passos { margin: 0; }
body.sd .sd-pedido__proximos .sd-passos li { font-size: 0.9375rem; line-height: 1.6; }
body.sd .sd-pedido__proximos .sd-passos li:last-child { margin-bottom: 0; }
body.sd .sd-pedido__proximos strong { font-weight: 500; }
body.sd .sd-pedido__proximos a { color: var(--sd-ink); text-decoration: underline; text-decoration-color: var(--sd-sky); text-underline-offset: 4px; }

/* -------------------------------------------------------------- etapas (acompanhar pedido)
   Linha do tempo vertical: ponto cheio nas etapas feitas, em contorno na atual, apagado nas
   seguintes, unidos por um fio fino */

body.sd .sd-etapas { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.sd .sd-etapas__item {
	position: relative;
	display: flex;
	gap: 16px;
	margin: 0 !important;
	padding: 0 0 22px !important;
	color: var(--sd-ink-soft);
}
body.sd .sd-etapas__item::before { content: none !important; }
body.sd .sd-etapas__item:last-child { padding-bottom: 0 !important; }
/* O fio até a próxima etapa, azul quando a próxima já aconteceu */
body.sd .sd-etapas__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 18px;
	bottom: -2px;
	left: 6px;
	width: 1px;
	background: var(--sd-line);
}
body.sd .sd-etapas__item.is-feita:has(+ .is-feita)::after { background: var(--sd-blue); }
body.sd .sd-etapas__marca {
	flex: none;
	width: 13px;
	height: 13px;
	margin-top: 5px;
	border: 1px solid var(--sd-line);
	border-radius: 50%;
	background: var(--sd-white);
}
body.sd .sd-etapas__item.is-feita .sd-etapas__marca { background: var(--sd-blue); border-color: var(--sd-blue); }
body.sd .sd-etapas__item.is-atual .sd-etapas__marca { border-color: var(--sd-blue-deep); box-shadow: 0 0 0 3px var(--sd-white), 0 0 0 4px var(--sd-sky); }
body.sd .sd-etapas__texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.9375rem; line-height: 1.5; }
body.sd .sd-etapas__texto strong { font-weight: 400; }
body.sd .sd-etapas__item:is(.is-feita, .is-atual) .sd-etapas__texto > strong { font-weight: 500; color: var(--sd-ink); }
body.sd .sd-etapas__data { font-size: 0.8125rem; color: var(--sd-ink-soft); }
body.sd .sd-etapas__nota { font-size: 0.875rem; color: var(--sd-ink); }
body.sd .sd-etapas__rastreio { margin-top: 6px; font-size: 0.875rem; color: var(--sd-ink-soft); }
body.sd .sd-etapas__rastreio strong { margin: 0 8px 0 4px; font-weight: 500; letter-spacing: 0.04em; color: var(--sd-ink); }
body.sd .sd-etapas__rastreio a { white-space: nowrap; color: var(--sd-ink); text-decoration: underline; text-decoration-color: var(--sd-sky); text-underline-offset: 4px; }

/* -------------------------------------------------------------- Pix por pagar (Acompanhar pedido, #pix) */

body.sd .sd-pedido__pix {
	margin: 0 0 24px !important;
	padding: clamp(20px, 3vw, 28px) !important;
	text-align: center;
	background: var(--sd-white);
	border: 1px solid var(--sd-line);
	border-radius: 12px;
	scroll-margin-top: 96px;
}
body.sd .sd-pedido__pix-valor { margin: 0 0 4px; font-size: 1.5rem; font-weight: 300; color: var(--sd-ink); }
body.sd .sd-pedido__pix-passo { margin: 0 0 16px; font-size: 0.9375rem; color: var(--sd-ink-soft); }
body.sd .sd-pedido__pix-codigo {
	margin: 0 0 4px;
	padding: 14px 16px;
	font-family: Menlo, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1.5;
	text-align: left;
	word-break: break-all;
	color: var(--sd-ink);
	background: var(--sd-paper);
	border: 1px solid var(--sd-line);
	border-radius: 8px;
	user-select: all;
}
body.sd .sd-pedido__pix .sd-pedido__acoes { margin-top: 16px !important; }
body.sd .sd-pedido__copiar { width: 100%; max-width: 320px; }
body.sd .sd-pedido__pix-aviso { min-height: 1.5em; margin: 8px 0 0; font-size: 0.875rem; color: var(--sd-ink-soft); }
body.sd .sd-pedido__pix-qr { margin: 16px 0 0; }
body.sd .sd-pedido__pix-qr img { display: block; width: 168px; height: 168px; margin: 0 auto 8px; }
body.sd .sd-pedido__pix-qr figcaption { font-size: 0.8125rem; color: var(--sd-ink-soft); }

/* -------------------------------------------------------------- resumo do pedido (tabela do WooCommerce) */

body.sd .sd-pedido .woocommerce-table--order-details { width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-collapse: collapse; background: none !important; }
body.sd .sd-pedido .woocommerce-table--order-details thead { display: none; }
body.sd .sd-pedido .woocommerce-table--order-details :is(th, td) {
	padding: 12px 0 !important;
	font-family: var(--sd-text) !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.5 !important;
	color: var(--sd-ink) !important;
	background: none !important;
	border: 0 !important;
	border-top: 1px solid var(--sd-line) !important;
	vertical-align: top;
}
body.sd .sd-pedido .woocommerce-table--order-details tbody tr:first-child td { border-top: 0 !important; padding-top: 0 !important; }
body.sd .sd-pedido .woocommerce-table--order-details :is(td.product-total, tfoot td) { text-align: right !important; }
body.sd .sd-pedido .woocommerce-table--order-details .product-name a { color: var(--sd-ink) !important; text-decoration: none !important; }
body.sd .sd-pedido .woocommerce-table--order-details .product-quantity { font-weight: 400 !important; color: var(--sd-ink-soft); }
body.sd .sd-pedido .woocommerce-table--order-details .wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--sd-ink-soft); }
body.sd .sd-pedido .woocommerce-table--order-details .wc-item-meta :is(li, p, strong) { display: inline; margin: 0; font-weight: 400; }
body.sd .sd-pedido .woocommerce-table--order-details :is(.amount, td .amount) { font-weight: 500; }
body.sd .sd-pedido .sd-pedido__gratis { font-weight: 500; color: var(--sd-blue-deep); }
body.sd .sd-pedido .woocommerce-table--order-details small { display: block; font-size: 0.8125rem; color: var(--sd-ink-soft); }
/* Total em destaque, como no carrinho */
body.sd .sd-pedido .woocommerce-table--order-details tfoot tr:last-child :is(th, td) { padding-top: 16px !important; font-size: 1.0625rem !important; vertical-align: middle; }
body.sd .sd-pedido .woocommerce-table--order-details tfoot tr:last-child .amount { font-size: 1.375rem; }
body.sd .sd-pedido .woocommerce-table--order-details .order-again,
body.sd .sd-pedido .order-again { margin-top: 16px; }

/* -------------------------------------------------------------- endereços */

body.sd .sd-pedido .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 0 !important;
}
body.sd .sd-pedido .woocommerce-columns--addresses::before,
body.sd .sd-pedido .woocommerce-columns--addresses::after { content: none !important; }
body.sd .sd-pedido .woocommerce-column { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.sd .sd-pedido .woocommerce-customer-details address {
	margin: 0 !important;
	padding: 0 !important;
	font-style: normal;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--sd-ink);
	border: 0 !important;
}
body.sd .sd-pedido .woocommerce-customer-details address p { margin: 6px 0 0 !important; padding: 0 !important; color: var(--sd-ink-soft); }
body.sd .sd-pedido .woocommerce-customer-details address p::before { content: none !important; }

/* -------------------------------------------------------------- instruções do Mercado Pago (Pix, boleto)
   O bloco do plugin, com a tipografia e as cores do site */

body.sd .sd-pedido__pagamento :is(p, li, span, input, button) { font-family: var(--sd-text) !important; }
body.sd .sd-pedido__pagamento .mp-details-title {
	margin: 0 0 16px !important;
	font-size: var(--sd-caps-size) !important;
	font-weight: 500 !important;
	letter-spacing: var(--sd-caps-tracking) !important;
	text-transform: uppercase !important;
	color: var(--sd-ink) !important;
}
body.sd .sd-pedido__pagamento .mp-details-pix { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.sd .sd-pedido__pagamento :is(.mp-details-pix-title, .mp-details-pix-qr-title, .mp-details-pix-amount) { font-size: 1rem !important; font-weight: 500 !important; color: var(--sd-ink) !important; }
body.sd .sd-pedido__pagamento :is(.mp-details-list-description, .mp-details-pix-qr-subtitle, .mp-details-pix-qr-description) { font-size: 0.875rem !important; line-height: 1.55 !important; color: var(--sd-ink-soft) !important; }
/* Duas colunas (passo a passo | QR Code), que viram uma no celular, sem as bordas do plugin */
body.sd .sd-pedido__pagamento .mp-row-checkout-pix { display: flex !important; flex-wrap: wrap; gap: 24px 32px; margin: 0 !important; }
body.sd .sd-pedido__pagamento .mp-col-md-4 { flex: 1 1 220px; max-width: none !important; width: auto !important; padding: 0 !important; }
body.sd .sd-pedido__pagamento .mp-col-md-8 { flex: 1.6 1 280px; max-width: none !important; width: auto !important; padding: 0 !important; border: 0 !important; }
body.sd .sd-pedido__pagamento .mp-details-pix-img { max-width: 120px; height: auto; margin: 0 0 16px !important; }
body.sd .sd-pedido__pagamento .mp-steps-congrats { margin: 12px 0 0 !important; padding: 0 !important; list-style: none !important; }
body.sd .sd-pedido__pagamento .mp-details-list { display: flex !important; align-items: center; gap: 12px; margin: 0 0 12px !important; padding: 0 !important; }
body.sd .sd-pedido__pagamento .mp-details-list p { margin: 0 !important; padding: 0 !important; }
body.sd .sd-pedido__pagamento .mp-details-pix-number-p {
	display: inline-flex !important;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	height: 28px !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	color: var(--sd-blue-deep) !important;
	background: var(--sd-white) !important;
	border: 1px solid var(--sd-sky) !important;
	border-radius: 50% !important;
}
body.sd .sd-pedido__pagamento .mp-row-checkout-pix-container { display: flex !important; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px !important; }
body.sd .sd-pedido__pagamento .mp-qr-input { flex: 1 1 200px; min-width: 0; width: auto !important; margin: 0 !important; }
body.sd .sd-pedido__pagamento .mp-details-pix-qr-value { font-weight: 500 !important; color: var(--sd-ink) !important; }
body.sd .sd-pedido__pagamento .mp-details-pix-qr-img { border: 1px solid var(--sd-line); border-radius: 8px; padding: 8px; background: var(--sd-white); }
body.sd .sd-pedido__pagamento .mp-qr-input {
	height: 44px !important;
	padding: 0 14px !important;
	font-size: 0.875rem !important;
	color: var(--sd-ink) !important;
	border: 1px solid var(--sd-sky) !important;
	border-radius: 8px !important;
	background: var(--sd-white) !important;
}
body.sd .sd-pedido__pagamento .mp-details-pix-button {
	min-height: 44px !important;
	padding: 0 22px !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--sd-white) !important;
	background: var(--sd-blue-deep) !important;
	border: 0 !important;
	border-radius: var(--sd-pill) !important;
	white-space: nowrap;
	margin: 0 !important;
	flex: none;
	width: auto !important;
	max-width: none !important;
	overflow: visible !important;
}
body.sd .sd-pedido__pagamento .mp-details-pix-button:hover { background: var(--sd-blue-deep) !important; box-shadow: var(--sd-lift) !important; transform: translateY(-1px); }
/* Cartão parcelado: a tabela de custo das parcelas do plugin, sem os estilos em linha */
body.sd .sd-pedido__pagamento table { width: 100%; margin: 0 !important; border: 0 !important; }
body.sd .sd-pedido__pagamento table :is(th, td) { width: auto !important; padding: 6px 0 !important; font-size: 0.9375rem !important; font-weight: 400 !important; text-transform: none !important; border: 0 !important; background: none !important; }
body.sd .sd-pedido__pagamento table td { text-align: right; }

/* Acompanhar pedido: a página do tema em volta, sem a caixa branca do post (subia por cima do
   cabeçalho, já que o título do tema não sai aqui) */
body.sd.sd-acompanhar .c-post__wrap { background: none !important; box-shadow: none !important; margin-top: 0 !important; padding: 0 !important; }
body.sd .sd-pedido__fim a { color: var(--sd-ink); text-decoration: underline; text-decoration-color: var(--sd-sky); text-underline-offset: 4px; }

/* Sem a faixa de garantias do rodapé depois da compra: no pedido recebido ela repetiria os
   próximos passos; em Acompanhar pedido, "20 dias para testar" e "Frete grátis" não dizem nada a
   quem já comprou (e a garantia não é reforçada depois da compra) */
body.sd:is(.woocommerce-order-received, .sd-acompanhar) .sd-footer__trust { display: none; }
/* E o aviso do topo ("Teste por 20 dias…"), pelo mesmo motivo; no pedido recebido ele já sai com o checkout */
body.sd.sd-acompanhar .woocommerce-store-notice { display: none !important; }

/* -------------------------------------------------------------- fim */

body.sd .sd-pedido__fim { margin-top: 32px; text-align: center; }
body.sd .sd-pedido__fim p { margin: 0; font-size: 0.9375rem; color: var(--sd-ink-soft); }
body.sd .sd-pedido__acoes { margin-top: 16px !important; }
body.sd .sd-pedido__contato,
body.sd .sd-pedido__botao {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: auto !important;
	min-height: 48px !important;
	padding: 12px 28px !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	border-radius: var(--sd-pill) !important;
}
body.sd .sd-pedido__contato { border: 1px solid var(--sd-sky) !important; }
body.sd .sd-pedido__botao { color: var(--sd-white) !important; background: var(--sd-blue-deep) !important; border: 0 !important; }
body.sd .sd-pedido__botao:hover { background: var(--sd-blue-deep) !important; box-shadow: var(--sd-lift) !important; transform: translateY(-1px); }

/* -------------------------------------------------------------- confirmar o e-mail para ver o pedido */

body.sd .sd-pedido--verificar { max-width: 480px; }
body.sd .sd-pedido__verificar { padding: clamp(20px, 3vw, 28px); background: var(--sd-white); border: 1px solid var(--sd-line); border-radius: 12px; }
body.sd .sd-pedido__verificar .form-row { margin: 0 0 16px !important; padding: 0 !important; }
body.sd .sd-pedido__verificar .form-row:last-child { margin-bottom: 0 !important; }
body.sd .sd-pedido__verificar label { display: block; margin-bottom: 6px; font-size: 0.875rem !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--sd-ink) !important; }
body.sd .sd-pedido__verificar input.input-text {
	width: 100%;
	height: 48px !important;
	padding: 0 14px !important;
	font-size: 16px !important;
	color: var(--sd-ink) !important;
	background: var(--sd-white) !important;
	border: 1px solid var(--sd-sky) !important;
	border-radius: 8px !important;
}
body.sd .sd-pedido__verificar input.input-text:focus { border-color: var(--sd-blue-deep) !important; }
body.sd .sd-pedido__verificar .sd-pedido__botao { width: 100%; }
body.sd .sd-pedido__erro {
	margin: 0 0 16px;
	padding: 10px 14px;
	font-size: 0.875rem;
	color: var(--sd-ink);
	border-left: 3px solid var(--sd-clay);
	background: var(--sd-paper);
}

@media (max-width: 600px) {
	body.sd .sd-pedido__dados { grid-template-columns: 1fr 1fr; }
	body.sd .sd-pedido .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- pagar um pedido já criado
   (woocommerce/checkout/order-receipt.php e form-pay.php), no padrão de Pedido recebido */

/* Sem saídas, como no checkout: fica o logo no topo e a barra legal no rodapé. O WhatsApp continua,
   porque quem chega aqui pode precisar de ajuda com o pagamento */
body.sd.woocommerce-order-pay .c-top-menu,
body.sd.woocommerce-order-pay .c-header__col-right,
body.sd.woocommerce-order-pay .c-header__menu-button,
body.sd.woocommerce-order-pay .c-header__cart,
body.sd.woocommerce-order-pay .woocommerce-store-notice,
body.sd.woocommerce-order-pay .sd-footer__trust,
body.sd.woocommerce-order-pay .sd-footer__main { display: none !important; }
body.sd.woocommerce-order-pay .woocommerce { background: none !important; box-shadow: none !important; margin-top: 0 !important; padding-top: 0 !important; }
body.sd .sd-pagar__cartao,
body.sd .sd-pagar__resumo,
body.sd .sd-pagar__formas { margin: 0 0 24px; background: var(--sd-white); border: 1px solid var(--sd-line); border-radius: 12px; overflow: hidden; }
body.sd .sd-pagar__cartao .sd-cartao-seguro { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 11px 20px !important; font-size: 0.8125rem !important; line-height: 1.45 !important; color: var(--sd-ink-soft) !important; background: var(--sd-paper); border-bottom: 1px solid var(--sd-line-soft); }
body.sd .sd-pagar__cartao .sd-cartao-seguro img { flex: none; width: 18px !important; height: 18px !important; }
body.sd .sd-pagar__acoes { padding: 20px; }
body.sd .sd-pagar__acoes > div { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 !important; }
body.sd .sd-pagar__acoes #submit-payment { display: block; width: 100%; margin: 0 !important; text-align: center; }
/* Cancelar é uma saída, não uma ação principal */
body.sd .sd-pagar__acoes a.button.cancel,
body.sd a.sd-pagar__cancelar {
	display: inline-block;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0 !important;
	padding: 2px 0 !important;
	font-size: 0.8125rem !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	color: var(--sd-ink-soft) !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-decoration: underline !important;
	text-underline-offset: 4px;
}
body.sd .sd-pagar__rotulo { margin: 0 !important; padding: 16px 20px !important; font-family: var(--sd-text) !important; font-size: var(--sd-caps-size) !important; font-weight: 500 !important; letter-spacing: var(--sd-caps-tracking) !important; line-height: 1.35 !important; text-transform: uppercase !important; color: var(--sd-ink) !important; }
body.sd .sd-pagar__linha { display: flex; justify-content: space-between; gap: 16px; padding: 12px 20px; font-size: 0.9375rem; line-height: 1.5; border-top: 1px solid var(--sd-line-soft); }
body.sd .sd-pagar__linha small { font-size: 0.8125rem; color: var(--sd-ink-soft); }
body.sd .sd-pagar__linha > span:last-child { flex: none; max-width: 60%; text-align: right; font-weight: 500; }
body.sd .sd-pagar__linha--order_total { border-top-color: var(--sd-line); }
body.sd .sd-pagar__linha--order_total > span:first-child { font-size: 1.0625rem; }
body.sd .sd-pagar__linha--order_total > span:last-child { font-size: 1.5rem; line-height: 1.2; }
body.sd .sd-pagar__formas { padding-bottom: 20px; }
body.sd .sd-pagar__formas .wc_payment_methods { margin: 0 20px 18px !important; padding: 0 !important; list-style: none !important; border: 1px solid var(--sd-line); border-radius: 8px; overflow: hidden; }
body.sd .sd-pagar__formas .wc_payment_methods > li { position: relative; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.sd .sd-pagar__formas .wc_payment_methods > li + li { border-top: 1px solid var(--sd-line); }
body.sd .sd-pagar__formas .wc_payment_methods > li > label { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 14px 16px 14px 48px !important; cursor: pointer; position: relative; }
/* O marcador da forma escolhida, como o do checkout (lá ele vem do Fluid Checkout, que não carrega aqui) */
body.sd .sd-pagar__formas .wc_payment_methods > li > label::before { content: ""; position: absolute; top: 50%; left: 14px; width: 22px; height: 22px; margin-top: -11px; border: 2px solid var(--sd-sky); border-radius: 50%; background: var(--sd-white); }
body.sd .sd-pagar__formas .wc_payment_methods > li > input:checked + label { background: var(--sd-paper); }
body.sd .sd-pagar__formas .wc_payment_methods > li > input:checked + label::before { border: 7px solid var(--sd-blue-deep); }
body.sd .sd-pagar__formas .wc_payment_methods > li > input:focus-visible + label::before { outline: 2px solid var(--sd-blue-deep); outline-offset: 2px; }
body.sd .sd-pagar__formas .payment_box { margin: 0 !important; padding: 0 !important; background: var(--sd-white) !important; border-top: 1px solid var(--sd-line-soft); }
body.sd .sd-pagar__enviar { margin: 0 !important; padding: 0 20px !important; }
body.sd .sd-pagar__enviar #place_order { display: block; width: 100%; margin: 18px 0 14px !important; }
body.sd .sd-pagar__enviar { text-align: center; }
body.sd .sd-pagar__enviar .woocommerce-terms-and-conditions-wrapper { text-align: left; }
/* No celular, as bandeiras do cartão descem para a linha de baixo em vez de sair da caixa */
@media (max-width: 600px) {
	body.sd .sd-pagar__formas .wc_payment_methods > li > label { flex-wrap: wrap; gap: 8px 12px; }
	body.sd .sd-pagar__formas .payment-method__label-text { white-space: nowrap; }
}
