.norma21719-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: #14171f;
	color: #f2f2f4;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
	padding: 18px clamp(16px, 4vw, 28px);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.norma21719-banner__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	max-width: 1100px;
	margin: 0 auto;
}
.norma21719-banner__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(242, 242, 244, 0.85);
	max-width: 62ch;
}
.norma21719-banner__text a {
	color: #e72173;
	text-decoration: underline;
}
.norma21719-banner__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.norma21719-btn {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 999px;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
}
.norma21719-btn--primary {
	background: var(--norma21719-brand, #e72173);
	color: #fff;
}
.norma21719-btn--outline {
	background: transparent;
	border-color: rgba(242, 242, 244, 0.35);
	color: #f2f2f4;
}
.norma21719-btn--ghost {
	background: transparent;
	color: rgba(242, 242, 244, 0.75);
	text-decoration: underline;
	padding-inline: 4px;
}

/* [hidden] tiene que ganarle a los display:flex de abajo — si no, el
   atributo "hidden" que pone el JS queda ignorado y ambas vistas (bar y
   panel) se ven apiladas al mismo tiempo. */
.norma21719-banner__bar[hidden],
.norma21719-banner__panel[hidden] {
	display: none;
}

.norma21719-banner__panel {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.norma21719-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(242, 242, 244, 0.12);
}
.norma21719-row:last-of-type { border-bottom: none; }
.norma21719-row__title {
	margin: 0 0 2px;
	font-weight: 700;
	font-size: 14px;
}
.norma21719-row__desc {
	margin: 0;
	font-size: 12.5px;
	color: rgba(242, 242, 244, 0.68);
	max-width: 56ch;
}
.norma21719-row input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--norma21719-brand, #e72173);
	margin-top: 3px;
	flex-shrink: 0;
}

/* ── Tabs Categorías / Servicios ── */
.norma21719-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 12px;
	border-bottom: 1px solid rgba(242, 242, 244, 0.15);
}
.norma21719-tab {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 4px;
	margin-right: 16px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: rgba(242, 242, 244, 0.6);
	cursor: pointer;
}
.norma21719-tab.is-active {
	color: #f2f2f4;
	border-bottom-color: var(--norma21719-brand, #e72173);
}
.norma21719-tab-panel[hidden] {
	display: none;
}

/* ── Lista de servicios individuales (tab "Servicios") ── */
.norma21719-service {
	padding: 10px 0;
	border-bottom: 1px solid rgba(242, 242, 244, 0.12);
}
.norma21719-service:last-of-type {
	border-bottom: none;
}
.norma21719-service__head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.norma21719-service__name {
	font-weight: 700;
	font-size: 13.5px;
}
.norma21719-service__badge {
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(242, 242, 244, 0.12);
	color: rgba(242, 242, 244, 0.75);
}
.norma21719-service__desc {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: rgba(242, 242, 244, 0.68);
}
.norma21719-service__meta {
	margin: 4px 0 0;
	font-size: 11.5px;
	color: rgba(242, 242, 244, 0.5);
}
.norma21719-service__meta a {
	color: rgba(242, 242, 244, 0.75);
}

/* ── ID de consentimiento (se completa por JS al reabrir preferencias) ── */
.norma21719-consent-id {
	margin: 4px 0 0;
	font-size: 11.5px;
	color: rgba(242, 242, 244, 0.5);
}
.norma21719-consent-id[hidden] {
	display: none;
}

.norma21719-reopen {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99998;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: none;
	background: #14171f;
	color: #fff;
	font-size: 19px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

@media (max-width: 700px) {
	.norma21719-banner__bar { flex-direction: column; align-items: stretch; }
	.norma21719-banner__actions { justify-content: stretch; }
	.norma21719-btn { flex: 1; }
	.norma21719-btn--ghost { flex: 0 0 auto; align-self: center; }
}
