/* Template visual (para exportar imagen) */
.template {
	font-family: 'Barlow', sans-serif;
	color: #ffffff;
	background:
		radial-gradient(circle at 92% -8%, rgba(255, 97, 39, 0.28), transparent 44%),
		radial-gradient(circle at 8% 26%, rgba(255, 255, 255, 0.07), transparent 38%),
		linear-gradient(180deg, #181818 0%, #0a0a0a 100%);
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px 40px 28px;
	width: 680px;
	border-radius: 0;
	position: relative;
	overflow: hidden;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
}

.template::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 38%);
	pointer-events: none;
}

.template-celular {
	letter-spacing: 0.2px;
}

.template-bicicleta {
	letter-spacing: 0.2px;
}

.template-device {
	gap: 18px;
	padding: 28px 30px 22px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background:
		radial-gradient(circle at 92% -8%, rgba(255, 97, 39, 0.32), transparent 42%),
		radial-gradient(circle at 8% 24%, rgba(255, 255, 255, 0.09), transparent 36%),
		linear-gradient(180deg, #161616 0%, #090909 100%);
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.58);
	letter-spacing: 0.15px;
}

.template-device#renderDouble {
	border-radius: 0;
}

.template-device::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%);
}

.template-device .template-header {
	gap: 10px;
	--header-progress: 22%;
}

.template-device .header-title {
	font-size: 33px;
	line-height: 0.96;
	letter-spacing: 0.9px;
}

.template-device .header-coverage {
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	color: #d2d2d2;
}

.template-device .header-company {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.24);
	padding: 8px;
}

.template-device .header-progress {
	height: 14px;
}

.template-device .header-progress-fill {
	height: 4px;
	background: #ff6127;
	box-shadow: 0 0 8px rgba(255, 97, 39, 0.8), 0 0 18px rgba(255, 97, 39, 0.36);
}

.template-device .header-progress-rest {
	height: 2px;
	background: rgba(255, 255, 255, 0.26);
}

.template-device .plan-card {
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.03) 100%);
	gap: 10px;
}

.template-device .plan-card-top {
	padding: 16px 18px 14px;
	border-radius: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
	align-items: center;
}

.template-device .plan-name {
	font-size: 40px;
	line-height: 0.95;
	letter-spacing: 0.6px;
}

.template-device .plan-subtitle {
	font-size: 17px;
	font-weight: 400;
	color: #c5c5c5;
}

.template-device .plan-installments {
	font-size: 14px;
	font-style: normal;
	color: #bbbbbb;
}

.template-device .plan-amount {
	font-size: 48px;
	line-height: 1;
}

.template-device .plan-amount .currency {
	font-size: 21px;
	font-weight: 500;
}

.template-device .plan-features {
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 12px 14px 2px;
}

.template-device .plan-feature {
	gap: 7px;
	padding: 0 2px;
}

.template-device .plan-feature img {
	width: 30px;
	height: 30px;
}

.template-device .icon-asterisk {
	top: -2px;
	left: calc(80% - 14px);
	font-size: 15px;
}

.template-device .feature-label {
	font-size: 15px;
}

.template-device .plan-note {
	font-size: 12px;
	padding: 0 14px 12px;
	color: #a5a5a5;
}

.template-device .upgrade-row {
	padding: 0 6px;
	column-gap: 10px;
	font-size: 14px;
	color: #cccccc;
}

.template-device .upgrade-text {
	font-size: 16px;
}

.template-device .upgrade-divider {
	--arrow-len: 40px;
}

.template-device .upgrade-badge {
	font-size: 14px;
	padding: 6px 14px;
}

.template-device .not-available {
	padding: 0 14px 12px;
	font-size: 12px;
	color: #c4c4c4;
}

.template-device .template-footer {
	font-size: 11px;
	margin-top: 4px;
	color: #b3b3b3;
	gap: 10px;
}

.template-device .brand-mark img {
	height: 24px;
}

.template-device .brand-disclaimer {
	font-size: 10px;
	max-width: 340px;
	line-height: 1.25;
}

.template-notebook {
	background:
		radial-gradient(circle at 88% -10%, rgba(255, 97, 39, 0.34), transparent 44%),
		radial-gradient(circle at 10% 26%, rgba(255, 255, 255, 0.1), transparent 38%),
		linear-gradient(180deg, #1b1b1b 0%, #090909 100%);
}

.template-tablet {
	background:
		radial-gradient(circle at 88% -10%, rgba(255, 97, 39, 0.30), transparent 44%),
		radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.07), transparent 38%),
		linear-gradient(180deg, #161616 0%, #090909 100%);
}

.template-caucion {
	gap: 16px;
	padding: 26px 28px 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(circle at 88% -15%, rgba(255, 97, 39, 0.30), transparent 44%),
		radial-gradient(circle at 8% 22%, rgba(255, 255, 255, 0.07), transparent 38%),
		linear-gradient(180deg, #161616 0%, #090909 100%);
	letter-spacing: 0.1px;
}

.template-caucion#renderDouble {
	border-radius: 0;
}

.caucion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 1;
}

.caucion-title {
	font-size: 34px;
	line-height: 0.95;
	font-weight: 800;
	letter-spacing: 0.8px;
}

.caucion-subtitle {
	margin-top: 8px;
	font-size: 16px;
	color: #d0d0d0;
}

.caucion-company {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.24);
	padding: 8px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.caucion-company img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.caucion-chip-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.caucion-chip {
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 13px;
	color: #f5f5f5;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.caucion-prices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	position: relative;
	z-index: 1;
}

.caucion-price-card {
	border-radius: 16px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
	display: grid;
	gap: 4px;
}

.caucion-price-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #d9d9d9;
	font-weight: 700;
}

.caucion-price-amount {
	font-size: 36px;
	line-height: 1;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.4px;
}

.caucion-price-foot {
	font-size: 12px;
	color: #b8b8b8;
}

.caucion-docs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	position: relative;
	z-index: 1;
}

.caucion-docs-block {
	border-radius: 14px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: grid;
	gap: 8px;
}

.caucion-docs-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #f2f2f2;
}

.caucion-docs-list {
	margin: 0;
	padding-left: 16px;
	display: grid;
	gap: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: #d5d5d5;
}

.caucion-abal {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 106, 45, 0.5);
	background: rgba(255, 106, 45, 0.18);
	color: #ffdacc;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	position: relative;
	z-index: 1;
}

.caucion-footer {
	margin-top: 0;
	position: relative;
	z-index: 1;
}

#renderDouble {
	border-radius: 0;
}

.template-header {
	display: grid;
	gap: 16px;
	position: relative;
	z-index: 1;
	--header-progress: 25%;
}

.header-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.header-left {
	display: grid;
	gap: 10px;
	flex: 1;
}

.header-title {
	font-size: 35px;
	line-height: 0.95;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.header-coverage {
	font-size: 24px;
	line-height: 1;
	font-weight: 300;
	color: #d8d8d8;
}


.header-progress {
	display: flex;
	align-items: center;
	width: 100%;
	height: 22px;
}

.header-progress-fill {
	position: relative;
	height: 3px;
	width: var(--header-progress);
	background: #ff6127;
	border-radius: 999px;
	box-shadow: 0 0 6px rgba(255, 97, 39, 0.9), 0 0 14px rgba(255, 97, 39, 0.6), 0 0 24px rgba(255, 97, 39, 0.32);
}

.header-progress-rest {
	height: 2px;
	width: calc(100% - var(--header-progress));
	background: rgba(255, 255, 255, 0.55);
}

.header-company {
	width: 62px;
	height: 62px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.22);
	padding: 8px;
	display: grid;
	place-items: center;
}

.header-company img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.plan-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	padding: 0;
	display: grid;
	gap: 12px;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.plan-card.pro .plan-name {
	color: var(--accent-pro);
}

.plan-card.max .plan-name {
	color: var(--accent-max);
}

.plan-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px 16px;
	border-radius: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.plan-title {
	display: grid;
}

.plan-name {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

.plan-subtitle {
	font-size: 18px;
	font-weight: 300;
	color: #c0c0c0;
}

.plan-price {
	text-align: right;
}

.plan-installments {
	font-size: 16px;
	font-weight: 300;
	font-style: normal;
	color: #c8c8c8;
}

.plan-amount {
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
}

.plan-amount .currency {
	font-size: 24px;
	font-weight: 400;
}

.plan-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	padding: 14px 24px 0;
	text-align: center;
	font-size: 14px;
}

.template-bicicleta .plan-features {
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	padding: 14px 16px 0;
}

.template-bicicleta .feature-label {
	font-size: 18px;
}

.template-bicicleta .plan-feature img {
	width: 34px;
	height: 34px;
}

.template-bicicleta .plan-note {
	padding: 0 16px 12px;
}

.plan-feature {
	display: grid;
	gap: 8px;
	align-items: center;
	justify-items: center;
	position: relative;
}

.plan-feature img {
	width: 36px;
	height: 36px;
	filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.28));
}
 
.icon-asterisk {
	position: absolute;
	top: 0;
	left: calc(80% - 20px);
	font-size: 20px;
	line-height: 1;
	font-weight: 600;
	color: #ff4d4f;
	opacity: 0.85;
	pointer-events: none;
}

.feature-label {
	font-size: 17px;
	line-height: 1;
}

.feature-word-top,
.feature-word-bottom {
	display: block;
}

.feature-word-top {
	font-weight: 700;
}

.feature-word-bottom {
	font-weight: 400;
}

.feature-label-flat .feature-word-top,
.feature-label-flat .feature-word-bottom {
	font-weight: 400;
}

.feature-value {
	font-size: 13px;
	color: #c7c7c7;
}

.plan-feature.muted {
	opacity: 0.35;
}

.plan-note {
	text-align: center;
	font-size: 14px;
	color: #9aa0a6;
	padding: 0 24px 14px;
}

.asterisk {
	color: #ff4d4f;
}

.upgrade-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 12px;
	font-size: 15px;
	color: #cccccc;
	margin-bottom: 0;
	position: relative;
	z-index: 2;
	padding: 0 0 0 20px;
}

.upgrade-text {
	font-size: 17px;
}

.upgrade-amount {
	font-weight: 700;
	color: #ffffff;
}

.upgrade-divider {
	--arrow-len: 56px;
	height: 1px;
	position: relative;
	background: transparent;
}

.upgrade-divider::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--arrow-len);
	height: 1px;
	background: var(--accent-pro);
	transform: translate(-50%, -50%);
}

.upgrade-divider::after {
	content: '';
	position: absolute;
	left: calc(50% + (var(--arrow-len) / 2) - 8px);
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 1px solid var(--accent-pro);
	border-right: 1px solid var(--accent-pro);
	transform: translateY(-50%) rotate(45deg);
}

.upgrade-badge {
	background: linear-gradient(90deg, #ff6a2d 0%, #ff8a3d 100%);
	color: #ffffff;
	justify-self: end;
	font-weight: 700;
	font-size: 15px;
	padding: 7px 16px;
	border-radius: 999px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.template-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #b8b8b8;
	margin-top: 2px;
}

.brand-mark {
	display: flex;
	align-items: center;
}

.brand-mark img {
	height: 26px;
	width: auto;
	display: block;
}

.template-hogar {
	width: 680px;
	padding: 32px 36px 24px;
	gap: 20px;
	background:
		radial-gradient(circle at 88% -10%, rgba(255, 97, 39, 0.22), transparent 42%),
		radial-gradient(circle at 6% 22%, rgba(255, 255, 255, 0.06), transparent 38%),
		linear-gradient(180deg, #141414 0%, #080808 100%);
	border-radius: 0;
	letter-spacing: 0.1px;
}

.hogar-header {
	display: grid;
	gap: 6px;
	margin-bottom: 10px;
}

.hogar-title {
	font-size: 72px;
	font-weight: 300;
	line-height: 0.9;
	letter-spacing: 0.3px;
}

.hogar-title span {
	font-weight: 800;
	font-style: italic;
	color: #ff8a3d;
}

.hogar-subtitle {
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	color: #d9d9d9;
}

.hogar-block {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 14px;
	overflow: hidden;
	position: relative;
	padding-bottom: 4px;
}


.hogar-block-title {
	padding: 8px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: #aaaaaa;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
}

.hogar-coverage-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	padding: 8px 14px;
	align-items: center;
}

.hogar-coverage-label {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #eeeeee;
}

.hogar-coverage-label img {
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
	flex: 0 0 auto;
	opacity: 0.92;
}

.hogar-coverage-value {
	font-size: 18px;
	font-weight: 600;
	text-align: right;
	color: #d0d0d0;
	line-height: 1;
}

.hogar-footer {
	display: grid;
	gap: 6px;
	justify-items: center;
	margin-top: 18px;
}

.hogar-fee {
	font-size: 22px;
	color: #d7d7d7;
	font-weight: 300;
	line-height: 1;
}

.hogar-fee-currency {
	font-size: 48px;
	font-weight: 300;
	margin-right: 2px;
	vertical-align: baseline;
}

.hogar-fee #hogarPrice {
	font-size: 80px;
	font-weight: 800;
	color: #ffffff;
	line-height: 0.95;
}

.hogar-fee-period {
	font-size: 58px;
	font-weight: 300;
	line-height: 0.95;
	margin-left: 2px;
}

.hogar-footnote {
	font-size: 11px;
	color: #9ea2a6;
	text-align: center;
	line-height: 1.2;
	max-width: 560px;
}

.brand-disclaimer {
	font-size: 12px;
	letter-spacing: 0.2px;
	text-transform: none;
	text-align: right;
}

.plan-hidden {
	opacity: 0.4;
	filter: grayscale(1);
}

.plan-hidden .plan-amount {
	opacity: 0.2;
}

.not-available {
	text-align: center;
	padding: 8px 10px 0;
	font-size: 13px;
	color: #bbbbbb;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.template.single {
	width: 680px;
	gap: 18px;
}

.single-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 30px;
	font-weight: 700;
}

.single-title {
	font-size: 30px;
	font-weight: 800;
}

.single-title.pro { color: var(--accent-pro); }
.single-title.max { color: var(--accent-max); }

.single-subtitle {
	font-size: 20px;
	font-weight: 400;
	color: #d7d7d7;
}

.single-badge {
	align-self: flex-start;
	padding: 6px 18px;
	border-radius: 10px;
	background: linear-gradient(90deg, #ff6a2d 0%, #ff8a3d 100%);
	font-size: 15px;
	font-weight: 700;
}

.single-badge.max { background: var(--accent-max); }

.single-card {
	background: linear-gradient(180deg, #1c1c1c 0%, #0c0c0c 100%);
	border-radius: 18px;
	padding: 16px;
	display: grid;
	gap: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.single-row {
	display: grid;
	grid-template-columns: 28px 1fr auto auto;
	gap: 10px;
	align-items: center;
	font-size: 18px;
	color: #eaeaea;
}

.single-row img {
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
}

.single-row.muted {
	opacity: 0.45;
}

.single-value {
	font-style: italic;
	font-weight: 500;
	color: #ffffff;
	margin-left: auto;
}

.single-asterisk {
	color: #ff4d4f;
	font-size: 16px;
}

.single-note {
	text-align: center;
	color: #9aa0a6;
	font-size: 12px;
}

.single-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.single-logo img {
	height: 32px;
}

.single-price {
	text-align: right;
}

.single-price-amount {
	font-size: 46px;
	font-weight: 800;
}

.single-price-amount .currency {
	font-size: 22px;
	font-weight: 500;
}

.single-installments {
	font-size: 14px;
	color: #c7c7c7;
}

.single-bottom {
	text-align: center;
	color: #777777;
	font-size: 12px;
	margin-top: 4px;
}

