/* Contei Assinaturas — estilos mínimos; o resto vem do tema (tabelas, botões, avisos). */

.ct-sub-price-suffix {
	font-size: 0.8em;
	font-weight: 400;
	color: var(--ct-color-base, #545454);
	white-space: nowrap;
}

/* O tema ordena o preço com flexbox (riscado = 1, atual = 2, selo % = 3): "/ mês" fica logo depois do preço atual. */
.price > .ct-sub-price-suffix {
	order: 2;
	align-self: center;
}

.ct-sub-recurring-total td strong { font-weight: 600; }
.ct-sub-next-payment,
.ct-sub-hint {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--ct-color-base, #545454);
}

.ct-sub-limit-notice {
	margin: 12px 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--ct-color-cream, #f7e6c0);
	color: var(--ct-color-brown, #732c02);
}

.ct-sub-product-name {
	display: block;
	font-size: 12px;
	color: var(--ct-color-base, #545454);
}

.ct-sub-status {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 30px;
	font-size: 12px;
	line-height: 1.8;
	background: #ebebeb;
	color: #000;
	white-space: nowrap;
}
.ct-sub-status--cs-active { background: #e3f1df; color: #1e5a12; }
.ct-sub-status--cs-on-hold { background: #fdecc8; color: #7a4b00; }
.ct-sub-status--cs-pending { background: #f7e6c0; color: #732c02; }
.ct-sub-status--cs-cancelled,
.ct-sub-status--cs-expired { background: #f1f1f1; color: #6b6b6b; }

.ct-sub-alert .button { margin-left: 8px; }

.ct-sub-details th { width: 35%; }
.ct-sub-details address { margin: 0 0 4px; font-style: normal; }

.ct-sub-card,
.ct-sub-orders { margin-top: 32px; }
.ct-sub-card h3,
.ct-sub-orders h3 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.4;
}

.ct-sub-card-form { margin: 12px 0; }
.ct-sub-card-option {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 8px;
	cursor: pointer;
}
.ct-sub-card-form .button { margin-top: 8px; }

.ct-sub-actions .button + .button { margin-left: 6px; }

.ct-sub-cancel-form { margin: 32px 0 16px; }
.ct-sub-cancel {
	background: transparent !important;
	color: var(--ct-color-primary, #db1215) !important;
	border: 1px solid currentColor !important;
}

.ct-sub-empty .button { margin-left: 12px; }

/* -------------------------------------------------------------------------
 * Escolha "compra única ou clube" (página do produto e destaque da home)
 * ---------------------------------------------------------------------- */
.ct-sub-choice {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.ct-sub-choice__title {
	margin: 0 0 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #000;
}
.ct-sub-choice__option {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 10px;
	padding: 14px 18px;
	border: 1px solid var(--ct-border, #ebebeb);
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.ct-sub-choice__option:last-child { margin-bottom: 0; }
.ct-sub-choice__option:hover { border-color: #c9c9c9; }
.ct-sub-choice__option.is-selected {
	border-color: var(--ct-color-brown, #732c02);
	background: #fdf6e6;
	box-shadow: inset 0 0 0 1px var(--ct-color-brown, #732c02);
}
.ct-sub-choice__option.is-disabled { cursor: not-allowed; opacity: 0.6; }
/* O tema estiliza todo input[type=radio]: aqui o rádio fica escondido e o ponto é desenhado pelo span. */
.ct-sub-choice .ct-sub-choice__option input[type='radio'] {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}
.ct-sub-choice .ct-sub-choice__option input[type='radio']:focus-visible + .ct-sub-choice__dot { outline: 2px solid var(--ct-color-brown, #732c02); outline-offset: 2px; }
.ct-sub-choice__dot {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 1.5px solid #bdbdbd;
	border-radius: 50%;
	background: #fff;
}
.ct-sub-choice__option.is-selected .ct-sub-choice__dot { border-color: var(--ct-color-brown, #732c02); }
.ct-sub-choice__option.is-selected .ct-sub-choice__dot::after {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ct-color-brown, #732c02);
}
.ct-sub-choice__body { flex: 1; min-width: 0; }
.ct-sub-choice__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 12px;
}
.ct-sub-choice__label { font-size: 15px; font-weight: 600; color: #000; }
.ct-sub-choice__price { font-size: 15px; color: #000; white-space: nowrap; }
.ct-sub-choice__price del { margin-right: 4px; font-size: 13px; color: #9a9a9a; }
.ct-sub-choice__price .ct-sub-price-suffix { font-size: 13px; }
.ct-sub-choice__desc { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ct-color-base, #545454); }
.ct-sub-choice__badge {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 10px;
	border-radius: 30px;
	background: var(--ct-color-sand, #e8cb8b);
	color: #5a2301;
	font-size: 11px;
	font-weight: 500;
}
.ct-sub-choice__note {
	margin: 10px 0 0;
	font-size: 12px;
	text-align: center;
	color: var(--ct-color-base, #545454);
}

/* Etiqueta do tipo no carrinho, mini-carrinho e checkout. */
.ct-sub-mode {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 30px;
	background: var(--ct-color-cream, #f7e6c0);
	color: #5a2301;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
}
.ct-sub-mode--clube { background: var(--ct-color-brown, #732c02); color: #fff; }
dl.variation dt.variation-Tipo { display: none; }
dl.variation dd.variation-Tipo { margin: 4px 0 0; }
dl.variation dd.variation-Tipo p { margin: 0; }

/* Autorização da cobrança recorrente. */
.ct-sub-consent { margin: 12px 0; font-size: 13px; line-height: 1.5; }
.ct-sub-consent label { display: flex; gap: 8px; align-items: flex-start; }
.ct-sub-consent input { margin-top: 3px; accent-color: var(--ct-color-brown, #732c02); }
