/* Activación VIP: el widget conserva la facturación y el pago originales. */
body main#content:has(tickera-vip-checkout) {
	box-sizing: border-box;
	width: min(100% - 32px, 1280px);
	max-width: 1280px;
	margin-inline: auto;
	padding: clamp(30px, 4vw, 54px) 0 90px;
	color: #f6f2ed;
	background: transparent;
}
body:has(tickera-vip-checkout) { background: #0d0d0d; }
body main#content:has(tickera-vip-checkout) > .page-header { display: none; }
body main#content:has(tickera-vip-checkout) > .page-content { margin: 0; padding: 0; }
body main#content tickera-vip-checkout,
body main#content tickera-vip-checkout membership-checkout { display: block; width: 100%; min-width: 0; }
body main#content tickera-vip-checkout membership-checkout > section { padding: 0 !important; background: transparent !important; }
body main#content tickera-vip-checkout membership-checkout > section > div { width: 100%; max-width: none !important; }
body main#content tickera-vip-checkout membership-checkout > section > div > div:first-child {
	margin-bottom: clamp(20px, 2.5vw, 28px);
	padding: 0 0 18px;
	border-color: #47413a;
}
body main#content tickera-vip-checkout membership-checkout h1 {
	margin: 0;
	font: 700 clamp(27px, 2.5vw, 34px)/1.16 Lato, sans-serif;
	letter-spacing: -.025em;
	text-transform: none;
	color: #f8f5ef;
}
body main#content tickera-vip-checkout membership-checkout h1::before {
	content: 'Tarjeta VIP  /  Activación';
	display: block;
	margin-bottom: 10px;
	color: #d8b77c;
	font: 600 12px/1.4 Lato, sans-serif;
	letter-spacing: .04em;
}
body main#content tickera-vip-checkout membership-checkout h1::after {
	content: 'Completa tus datos y elige el saldo inicial. Tu Tarjeta VIP se activará cuando se confirme el pago.';
	display: block;
	max-width: 680px;
	margin-top: 10px;
	color: #c7c0b8;
	font: 400 15px/1.55 Lato, sans-serif;
	letter-spacing: normal;
}
body main#content tickera-vip-checkout membership-checkout form.grid {
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr);
	align-items: start;
	gap: clamp(18px, 2.6vw, 30px);
}
body main#content tickera-vip-checkout membership-checkout form.grid > div { min-width: 0; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child {
	grid-column: 1;
	padding: clamp(22px, 2.6vw, 34px);
	border: 1px solid #3e3b38;
	border-top: 3px solid #d8b77c;
	border-radius: 16px;
	background: #1b1b1b;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) { grid-column: 2; gap: 16px; }
body main#content tickera-vip-checkout membership-checkout h2 {
	margin: 0 0 22px;
	font: 700 clamp(20px, 2vw, 24px)/1.25 Lato, sans-serif;
	letter-spacing: -.02em;
	color: #f6f4f1;
	text-transform: none;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child > div { gap: 18px; }
body main#content tickera-vip-checkout membership-checkout form-input[name="postal_code"] { display: none; }
body main#content tickera-vip-checkout membership-checkout :is(form-input, form-select, city-select) { min-width: 0; }
body main#content tickera-vip-checkout membership-checkout :is(.form-input-label, .form-select-label, .async-select-label) {
	display: block;
	margin-bottom: 7px;
	color: #eae8e5;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
body main#content tickera-vip-checkout membership-checkout :is(input.form-input, select.form-select, .ng-select-container) {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	color: #f8f8f8;
	background: #111;
	border: 1px solid #626262;
	border-radius: 8px;
	box-shadow: none;
	font-size: 14px;
}
body main#content tickera-vip-checkout membership-checkout :is(input.form-input, select.form-select)::placeholder,
body main#content tickera-vip-checkout membership-checkout .ng-placeholder { color: #aaa; opacity: 1; }
body main#content tickera-vip-checkout membership-checkout :is(input.form-input, select.form-select, .ng-select-container):focus,
body main#content tickera-vip-checkout membership-checkout .ng-select.ng-select-focused .ng-select-container {
	border-color: #d8b77c;
	outline: 2px solid #d8b77c33;
	outline-offset: 1px;
}
body main#content tickera-vip-checkout membership-checkout :is(.ng-value, .ng-input input) { color: #f8f8f8; }
body main#content tickera-vip-checkout membership-checkout .ng-dropdown-panel {
	color: #1a1a1a;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 16px 40px #0008;
	z-index: 20;
}
body main#content tickera-vip-checkout membership-checkout :is(.form-input-error-message, .form-select-error-message, .async-select-error-message, .text-red-500) {
	color: #ffa29d;
	font-size: 12px;
}
body main#content tickera-vip-checkout membership-checkout ticket-map-widget { display: block; min-width: 0; }
body main#content tickera-vip-checkout membership-checkout ticket-map-widget > .ticket-map-widget {
	padding: 20px 22px;
	color: #f3f0ec;
	background: #1b1b1b;
	border: 1px solid #3e3b38;
	border-radius: 14px;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child ticket-map-widget > .ticket-map-widget { margin-top: 8px; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child ticket-map-widget label {
	color: #e5e5e5;
	line-height: 1.5;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child ticket-map-widget a {
	color: #ff918d;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child > div > .bg-amber-50 {
	margin-top: 16px;
	padding: 15px 17px;
	color: #e4d5bd;
	background: #332a1d;
	border: 1px solid #7d623d;
	border-radius: 9px;
	font-size: 13px;
	line-height: 1.55;
}
body main#content tickera-vip-checkout membership-checkout membership-bank-card { display: block; border: 1px solid #9d8156; border-radius: 17px; overflow: hidden; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(2) > .ticket-map-widget {
	background: #24201b;
	border-color: #8b714d;
}
body main#content tickera-vip-checkout membership-checkout .ticket-map-widget-header__title { color: #f5ead7; font: 700 17px/1.3 Lato, sans-serif; }
body main#content tickera-vip-checkout membership-checkout number-input .number-input-label { color: #f2e9dc; font-size: 14px; font-weight: 600; }
body main#content tickera-vip-checkout membership-checkout number-input .number-input-required { color: #ff918d; }
body main#content tickera-vip-checkout membership-checkout number-input .number-input-group { border-radius: 8px; overflow: hidden; }
body main#content tickera-vip-checkout membership-checkout number-input input { background: #111; border-color: #746b5f; color: #fff; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(3) > .ticket-map-widget {
	background: #2a241c;
	border-color: #94764a;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(3) span:last-child {
	color: #f2d9a7;
	font-size: 24px;
}
body main#content tickera-vip-checkout membership-checkout mercadopago-payment .text-gray-900 { color: #f8f8f8; }
body main#content tickera-vip-checkout membership-checkout mercadopago-payment .text-gray-500 { color: #c0c0c0; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button { display: block; width: 100%; box-sizing: border-box; padding: 0 12px !important; border: 0 !important; background: transparent !important; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button button {
	width: 100%;
	min-height: 56px;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: #df2926;
	border: 1px solid #ef4d49;
	border-radius: 9px;
	font: 700 16px/1.3 Lato, sans-serif;
}
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button button:hover:not(:disabled) { background: #bd211e; }
body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button button:disabled { opacity: .55; }

/* El bundle utiliza utilidades importantes; esta capa mantiene el contraste. */
@layer theme {
	body main#content tickera-vip-checkout membership-checkout > section.bg-white { background: transparent !important; padding: 0 !important; }
	body main#content tickera-vip-checkout membership-checkout :is(h1, h2, .ticket-map-widget-header__title) { font-family: Lato, sans-serif !important; font-variant: normal !important; text-transform: none !important; }
	body main#content tickera-vip-checkout membership-checkout :is(h1, h2, .text-gray-900, .text-gray-800) { color: #f8f5ef !important; }
	body main#content tickera-vip-checkout membership-checkout :is(.text-gray-600, .text-gray-500, .text-gray-400) { color: #c7c0b8 !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr) !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child { grid-column: 1 !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) { grid-column: 2 !important; }
	body main#content tickera-vip-checkout membership-checkout ticket-map-widget > .ticket-map-widget { background: #1b1b1b !important; border-color: #3e3b38 !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(2) > .ticket-map-widget { background: #24201b !important; border-color: #8b714d !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(3) > .ticket-map-widget { background: #2a241c !important; border-color: #94764a !important; }
	body main#content tickera-vip-checkout membership-checkout :is(input.form-input, select.form-select, .ng-select-container) { color: #f8f8f8 !important; background: #111 !important; border-color: #626262 !important; }
	body main#content tickera-vip-checkout membership-checkout :is(.ng-value, .ng-input input) { color: #f8f8f8 !important; }
	body main#content tickera-vip-checkout membership-checkout .form-input-label,
	body main#content tickera-vip-checkout membership-checkout .form-select-label,
	body main#content tickera-vip-checkout membership-checkout .async-select-label { color: #eae8e5 !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child > div > .bg-amber-50 { color: #e4d5bd !important; background: #332a1d !important; border-color: #7d623d !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child ticket-map-widget label { color: #e5e5e5 !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child ticket-map-widget a { color: #ff918d !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > ticket-map-widget:nth-child(3) span:last-child { color: #f2d9a7 !important; }
	body main#content tickera-vip-checkout membership-checkout number-input .number-input-label { color: #f2e9dc !important; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button button { color: #fff !important; background: #df2926 !important; border-color: #ef4d49 !important; align-items: center !important; }
}
body main#content tickera-vip-checkout toggle-switch button.toggle-switch:is(#terms_accepted, #data_processing_accepted).checked::before { background: #b9955c !important; border-color: #d8b77c !important; }
body main#content tickera-vip-checkout toggle-switch button.toggle-switch:is(#terms_accepted, #data_processing_accepted):focus-visible { outline-color: #d8b77c !important; }

/* Revisión de la activación antes de abrir Mercado Pago. */
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-dialog {
	width: min(900px, calc(100vw - 32px)) !important;
	max-width: none !important;
	max-height: min(88dvh, 780px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #f5f3ef;
	background: #1c1c1c;
	border: 1px solid #826849;
	border-radius: 18px;
	box-shadow: 0 24px 70px #000a;
}
body:has(tickera-vip-checkout) membership-confirm-activation-modal :is(.modal-header, .modal-body, .modal-footer) { color: #f5f3ef; background: #1c1c1c; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-header { flex: none; padding: 22px 28px; border-bottom: 1px solid #594934; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-title { color: #f6f2ed; font: 700 24px/1.25 Lato, sans-serif; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-close-button { width: 38px; height: 38px; color: #f4ede2; background: #302c27; border: 1px solid #746047; border-radius: 50%; font: 700 22px/1 Lato, sans-serif; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-close-button:hover { background: #45392b; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body { min-height: 0; overflow-y: auto; padding: 24px 28px 28px; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > :is(p:first-child, p:nth-child(4), div:last-child) { grid-column: 1 / -1; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > p:first-child { color: #d7d0c6 !important; font: 400 16px/1.5 Lato, sans-serif; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(2) { grid-column: 1; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(3) { grid-column: 2; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(2) > div:nth-child(2) { display: none; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md { min-width: 0; overflow: hidden; background: #242321; border: 1px solid #51483c !important; border-radius: 12px; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div { border-color: #45403a !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div:nth-child(1) { background: #29251f; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div.bg-gray-50 { background: #352b1f !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div.bg-gray-50 span { color: #f5deb0 !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div.bg-gray-50 span:last-child { font-size: 21px; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(3) > div:first-child span { color: #ddc397 !important; font: 700 13px/1.3 Lato, sans-serif; letter-spacing: .03em; text-transform: none; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > p:nth-child(4) { padding: 14px 16px; color: #e4d7c1 !important; background: #30291f; border: 1px solid #69553a; border-radius: 9px; font: 400 14px/1.45 Lato, sans-serif; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:last-child { display: flex !important; justify-content: flex-end; gap: 12px; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:last-child app-button { flex: 0 1 220px; min-width: 0; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal :is(.text-gray-900, .text-gray-700) { color: #f2f0ed !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal :is(.text-gray-600, .text-gray-500) { color: #c7c2bb !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal :is(.bg-gray-50, .border-gray-200, .divide-gray-100) { background-color: #262626 !important; border-color: #46413c !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal app-button button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font: 700 15px/1.3 Lato, sans-serif; text-transform: none; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal app-button[variant="tertiary"] button { color: #e7e2db !important; background: #292929 !important; border: 1px solid #77706a !important; }
body:has(tickera-vip-checkout) membership-confirm-activation-modal app-button[variant="primary"] button { background: #df2926 !important; border: 1px solid #ef4d49 !important; color: #fff !important; }
@layer theme {
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md { background: #242321 !important; border-color: #51483c !important; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div { border-color: #45403a !important; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div.bg-gray-50 { background: #352b1f !important; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div.rounded-md > div.bg-gray-50 span { color: #f5deb0 !important; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(3) > div:first-child span { color: #ddc397 !important; }
}

@media (max-width: 1023px) {
	@layer theme {
		body main#content tickera-vip-checkout membership-checkout form.grid { grid-template-columns: minmax(0, 1fr) !important; }
		body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child,
		body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) { grid-column: 1 !important; }
	}
}
@media (max-width: 767px) {
	@layer theme {
		body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex { grid-template-columns: minmax(0, 1fr) !important; }
	}
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-dialog { width: calc(100vw - 24px) !important; max-height: 90dvh; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-header { padding: 18px 20px; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-title { font-size: 21px; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body { padding: 20px; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(2),
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:nth-child(3) { grid-column: 1; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:last-child { flex-direction: column-reverse; }
	body:has(tickera-vip-checkout) membership-confirm-activation-modal .modal-body > .flex > div:last-child app-button { flex: 0 0 auto; width: 100%; }
	body main#content:has(tickera-vip-checkout) { width: min(100% - 28px, 1280px); padding-top: 28px; padding-bottom: 60px; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child { padding: 22px 18px; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child > div > div:has(form-input, city-select) { flex-direction: column; gap: 14px; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:first-child > div > div:has(form-input, city-select) > :is(form-input, form-select, city-select) { width: 100%; flex: 0 0 auto; }
	body main#content tickera-vip-checkout membership-checkout h1::after { font-size: 14px; }
	body main#content tickera-vip-checkout membership-checkout form.grid > div:nth-child(2) > app-button button { min-height: 52px; }
}
