/**
 * Bitsaturno Tour Card — estilos base.
 * Los controles de Elementor sobrescriben estos valores por widget.
 */

.bst-tc {
	--bst-tc-ink: #1f3d36;
	--bst-tc-paper: #f0efeb;
	--bst-tc-accent: #c3bd1d;
	--bst-tc-accent-dark: #a9a415;
	--bst-tc-on-accent: #f7f6ea;

	container-type: inline-size;
	box-sizing: border-box;
	width: 100%;
	max-width: 580px;
	margin: 0;
	overflow: hidden;
	background-color: var(--bst-tc-paper);
	color: var(--bst-tc-ink);
	border-radius: 16px;
	box-shadow: 2px 4px 10px rgba(31, 61, 54, 0.22);
	font-family: inherit;
	line-height: 1.3;
}

.bst-tc *,
.bst-tc *::before,
.bst-tc *::after {
	box-sizing: border-box;
}

/* Encabezado ------------------------------------------------------------ */

.bst-tc .bst-tc__header {
	position: relative;
	padding: 40px 46px 30px;
	background-color: var(--bst-tc-ink);
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.18);
	color: #fff;
}

.bst-tc .bst-tc__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.bst-tc .bst-tc__subtitle {
	margin: 4px 0 0;
	padding: 0;
	color: #fff;
	font-size: 29px;
	font-weight: 400;
	line-height: 1.2;
}

/* Cuerpo ---------------------------------------------------------------- */

.bst-tc .bst-tc__body {
	padding: 30px 34px 38px 52px;
}

.bst-tc .bst-tc__rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bst-tc .bst-tc__row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0;
	padding: 16px 4px;
	list-style: none;
}

.bst-tc .bst-tc__row + .bst-tc__row {
	border-top: 1px solid var(--bst-tc-ink);
}

.bst-tc .bst-tc__label {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.bst-tc .bst-tc__label-text {
	font-size: 25px;
	font-weight: 400;
	line-height: 1.05;
}

.bst-tc .bst-tc__note {
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.3;
}

.bst-tc .bst-tc__price {
	flex: 0 0 auto;
	margin-left: auto;
	white-space: nowrap;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: lining-nums;
}

.bst-tc .bst-tc__amount,
.bst-tc .bst-tc__unit {
	font: inherit;
}

/* Botón ----------------------------------------------------------------- */

.bst-tc .bst-tc__cta {
	margin-top: 44px;
	text-align: center;
}

.bst-tc a.bst-tc__button {
	display: inline-block;
	max-width: 100%;
	padding: 11px 28px;
	border-radius: 10px;
	background-color: var(--bst-tc-btn-bg, var(--bst-tc-accent));
	color: var(--bst-tc-btn-color, var(--bst-tc-on-accent));
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/*
 * Hover con variables: los controles de Elementor definen --bst-tc-btn-*
 * en el wrapper, así el tema o el kit no pisan estos colores.
 */
.bst-tc .bst-tc__cta a.bst-tc__button:hover,
.bst-tc .bst-tc__cta a.bst-tc__button:focus-visible {
	background-color: var(--bst-tc-btn-bg-hover, var(--bst-tc-btn-bg, var(--bst-tc-accent-dark)));
	color: var(--bst-tc-btn-color-hover, var(--bst-tc-btn-color, #fff));
	text-decoration: none;
}

.bst-tc a.bst-tc__button:focus-visible,
.bst-tc .bst-tc__help a:focus-visible {
	outline: 2px solid var(--bst-tc-ink);
	outline-offset: 3px;
}

.bst-tc-btn-full-yes .bst-tc a.bst-tc__button {
	display: block;
	width: 100%;
}

/* Ayuda ----------------------------------------------------------------- */

.bst-tc .bst-tc__help {
	margin: 14px 0 0;
	color: var(--bst-tc-ink);
	font-size: 17px;
	line-height: 1.4;
	text-align: center;
}

.bst-tc .bst-tc__help a {
	color: var(--bst-tc-link, var(--bst-tc-accent));
	text-decoration: none;
}

.bst-tc .bst-tc__help a:hover,
.bst-tc .bst-tc__help a:focus-visible {
	color: var(--bst-tc-link-hover, var(--bst-tc-link, var(--bst-tc-accent-dark)));
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Responsive según el ancho de la propia tarjeta ------------------------ */

@container (max-width: 480px) {
	.bst-tc .bst-tc__header { padding: 28px 28px 22px; }
	.bst-tc .bst-tc__title { font-size: 26px; }
	.bst-tc .bst-tc__subtitle { font-size: 22px; }
	.bst-tc .bst-tc__body { padding: 22px 24px 30px; }
	.bst-tc .bst-tc__label-text,
	.bst-tc .bst-tc__price { font-size: 20px; }
	.bst-tc .bst-tc__cta { margin-top: 32px; }
	.bst-tc a.bst-tc__button { font-size: 21px; padding: 10px 22px; }
	.bst-tc .bst-tc__help { font-size: 15px; }
}

@container (max-width: 360px) {
	.bst-tc .bst-tc__row { flex-wrap: wrap; }
}

@container (max-width: 320px) {
	.bst-tc .bst-tc__header { padding: 22px 20px 18px; }
	.bst-tc .bst-tc__title { font-size: 22px; }
	.bst-tc .bst-tc__subtitle { font-size: 18px; }
	.bst-tc .bst-tc__body { padding: 16px 18px 24px; }
	.bst-tc .bst-tc__row { padding-top: 12px; padding-bottom: 12px; }
	.bst-tc .bst-tc__label-text,
	.bst-tc .bst-tc__price { font-size: 18px; }
	.bst-tc a.bst-tc__button { display: block; width: 100%; font-size: 18px; }
}


@media (prefers-reduced-motion: reduce) {
	.bst-tc a.bst-tc__button { transition: none; }
}

/* Aviso en el editor de Elementor ---------------------------------------- */

.bst-tc-placeholder {
	padding: 24px;
	border: 2px dashed #c3bd1d;
	border-radius: 12px;
	background: #f0efeb;
	color: #1f3d36;
	font-size: 14px;
	text-align: center;
}
